You are not logged in.

#1 2011-10-21 13:54:57

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Symbol Lookup Error: How to figure out the cause?

Hi,

I'm the maintainer of a package in the AUR that recently started spewing out this error:

./racer: symbol lookup error: ./racer: undefined symbol: _ZN4FMOD6System13getDriverCapsEiPjPiS2_P16FMOD_SPEAKERMODE

Now I should note that this is a binary application, so recompiling is not an option.

I would like to learn something here, so I'm chasing down some information. I hope one here is able to help me out.

I've learned that this is most likely due to a library no longer providing what the application needs or simply not being available (correct?)
Otherwise, this could be due to changes in the compiler (correct?)

So I ran ldd:

[stefan@archsteef racer-3d]$ ldd racer
	linux-gate.so.1 =>  (0xb78cf000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb777e000)
	libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb770c000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0xb7639000)
	libfmodex.so => /usr/lib/libfmodex.so (0xb74a2000)
	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb749c000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73ad000)
	libm.so.6 => /lib/libm.so.6 (0xb7383000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7366000)
	libc.so.6 => /lib/libc.so.6 (0xb71fd000)
	libdl.so.2 => /lib/libdl.so.2 (0xb71f8000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb71dc000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb71be000)
	libnvidia-tls.so.285.05.09 => /usr/lib/libnvidia-tls.so.285.05.09 (0xb71ba000)
	libnvidia-glcore.so.285.05.09 => /usr/lib/libnvidia-glcore.so.285.05.09 (0xb5676000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb5664000)
	/lib/ld-linux.so.2 (0xb78d0000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb5660000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb565b000)

It would appear that all required libraries are available (correct?)

My next thought was that thus: the library must be available, but no longer provide what the application wants.

My question:
How should I proceed in finding out:
- what library is (was) responsible for the symbol?
- am I at all in the right train of thought?


Arch i686 on Phenom X4 | GTX760

Offline

#2 2012-05-12 11:04:44

pione
Member
Registered: 2012-02-21
Posts: 4

Re: Symbol Lookup Error: How to figure out the cause?

I'm not an expert, but i have the same error:
the error ends with FMOD_SPEAKERMODE, so i think the library that is responsible for this error is libfmodex.so.

The Loki installer contain a version of libfmodex.so in lib/ directory, but i get another error using that one.
I hope in a solution, now i'm looking in the web!

Offline

Board footer

Powered by FluxBB