0
0

Hello,
I am trying to link the fmod library libfmodex64.so to a program. But I need to keep the library in the same file as the executable so other computers using it do not need to install fmod. I think I have the library linked using:

-L$=./fmod/lib -lfmodex64

but when i run the executable I get the error:

error while loading shared libraries: libfmodex64.so: cannot open shared object file: No such file or directory

How can I fix this?

I am on Ubuntu 12.10 64-bit

Any help would be greatly appreciated.

Thanks

  • You must to post comments
0
0

[quote:81bc222w]cannot open shared object file: No such file or directory[/quote:81bc222w]
You can check where the executable is looking for the .so by using ‘ldd’, there are several linker and runtime options available to ensure the library is loaded locally such as rpath, LD_LIBRARY_PATH or linking as ./libfmodex64.so.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.