Linker weirdness: "could not read symbols: Invalid operation"

Adam Williamson awilliam at redhat.com
Mon Mar 15 22:00:22 UTC 2010


On Mon, 2010-03-15 at 14:51 -0700, Adam Williamson wrote:
> On Mon, 2010-03-15 at 17:45 -0400, Roland Grunberg wrote:
> > >/usr/bin/ld: libvo/vo_vaapi.o: undefined reference to symbol 'vaGetConfigAttributes'
> > >/usr/bin/ld: note: 'vaGetConfigAttributes' is defined in DSO /usr/lib64/libva-0.31.0.5.so.1 so try adding it to the linker command line
> > >/usr/lib64/libva-0.31.0.5.so.1: could not read symbols: Invalid operation
> > 
> > >What's different in F13 that causes this to fail? How do I fix it?
> > 
> > This is due to a fix in the way ld does linking which is outlined
> > here : https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
> > 
> > There's an example of how to go about fixing this here :
> > https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
> > 
> > In your case the solution would be to add libva to the linker line.
> 
> Um. As I said in my email, it's already *in* the linker line. That's why
> I say it's weird.

Also, the "undefined reference to symbol" error is typical for the 'you
left it out of the linker line' situation, but "could not read symbols:
Invalid operation" is not, I've never seen that error before.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the devel mailing list