trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-devel] KOffice 3.5.13 FTBFS

From: Darrell Anderson <humanreadable@...>
Date: Tue, 6 Dec 2011 12:39:50 -0800 (PST)
> grep isn't needed, you can do something like
> $ readelf --symbols --wide /opt/kde3/lib64/libkdecore.so
> and it's more efficient as readelf reads only the needed
> parts of the
> library binary.
> If the library is a C++ one (like most KDE4 and Trinity
> ones) you can
> get the meaningful function names by using c++filt (it's in
> binutils):
> $ readelf --symbols --wide /opt/kde3/lib64/libkdecore.so |
> c++filt
> > 
> > Once you know the library name, try appending it as a
> linker flag to
> > the koffice/filters/chalk/gmagick/Makefile.am LDFLAGS
> string; e.g if
> > you found libfoo.so.1.0.0 contains the symbol then you
> would append
> > -lfoo

Okay, thanks for the speedy lesson. :)

Same result: same file. :) Although the readelf command provides a more readable display.

Darrell