0
0

Hi,

I am trying to compile my app that uses fmod on CentOS 5.6, it compiles and links fine, but when I run it, I get this error:

[code:1dkqvo44]./eff: symbol lookup error: /opt/local/lib/libfmodex64.so: undefined symbol: _ZZN4FMOD10DSPLowPass6filterEfiE2dc[/code:1dkqvo44]
Here is how I compile it:
[code:1dkqvo44]gcc -m64 -Wl,-rpath,/opt/local/lib -O3 -g -o eff main.cpp fmod/fmodapi43802linux64/api/lib/libfmodex64.so -pthread -Iinclude -L/opt/local/lib[/code:1dkqvo44]
FMOD Ex version: fmodapi43802linux64 (though I tried a lot of older ones)
GCC: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)

ldd ./eff:
[code:1dkqvo44] /opt/local/lib/libfmodex64.so (0x00002b1f7e610000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003bc5200000)
libpthread.so.0 => /opt/local/lib/libpthread.so.0 (0x00002b1f7e9ee000)
libc.so.6 => /opt/local/lib/libc.so.6 (0x00002b1f7ec0a000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003bc5600000)
libdl.so.2 => /opt/local/lib/libdl.so.2 (0x00002b1f7ef55000)
libm.so.6 => /opt/local/lib/libm.so.6 (0x00002b1f7f15a000)
/lib64/ld-linux-x86-64.so.2 (0x0000003bc2a00000)[/code:1dkqvo44]
LD_DEBUG=libs ./eff:
[code:1dkqvo44] 18276: find library=libpthread.so.0 [0]; searching
18276: search path=/opt/local/lib/tls/x86_64:/opt/local/lib/tls:/opt/local/lib/x86_64:/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/tls/x86_64/libpthread.so.0
18276: trying file=/opt/local/lib/tls/libpthread.so.0
18276: trying file=/opt/local/lib/x86_64/libpthread.so.0
18276: trying file=/opt/local/lib/libpthread.so.0
18276:
18276: find library=libc.so.6 [0]; searching
18276: search path=/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/libc.so.6
18276:
18276: find library=libstdc++.so.6 [0]; searching
18276: search path=/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/libstdc++.so.6
18276: search cache=/etc/ld.so.cache
18276: trying file=/usr/lib64/libstdc++.so.6
18276:
18276: find library=libdl.so.2 [0]; searching
18276: search path=/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/libdl.so.2
18276:
18276: find library=libm.so.6 [0]; searching
18276: search path=/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/libm.so.6
18276:
18276: find library=libgcc_s.so.1 [0]; searching
18276: search path=/opt/local/lib (RPATH from file ./eff)
18276: trying file=/opt/local/lib/libgcc_s.so.1
18276: search cache=/etc/ld.so.cache
18276: trying file=/lib64/libgcc_s.so.1
18276:
18276: /opt/local/lib/libfmodex64.so: error: symbol lookup error: undefined symbol: _ZZN4FMOD10DSPLowPass6filterEfiE2dc (fatal)
./eff: symbol lookup error: /opt/local/lib/libfmodex64.so: undefined symbol: _ZZN4FMOD10DSPLowPass6filterEfiE2dc[/code:1dkqvo44]

Can this be helped? 😳

  • You must to post comments
0
0

I’ve seen the same problem on a Ubuntu 8.04 system. I "solved" it by using version 4.36.02, which is the latest version which doesn’t exhibit the problem.

  • You must to post comments
0
0

This issue is being tracked on support now.
It will be fixed for our next release.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.