[Mageia-dev] removing .la files harmful ?

Anssi Hannula anssi at mageia.org
Sat Nov 26 15:47:04 CET 2011


On 26.11.2011 16:40, Guillaume Rousse wrote:
> Hello list.
> 
> I can't rebuild ntop anymore, due to missing libxml2.la file, which
> seems to be required by libtool:
> 
> /bin/sh ./libtool --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
> --param=ssp-buffer-size=4 -fstack-protector-all -I/usr/local/include
> -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs   -release 4.1.0 -export-dynamic
>  -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id
> -Wl,--enable-new-dtags -L/usr/local/lib -L/opt/local/lib -o libntop.la
> -rpath /usr/lib64 address.lo argv.lo dataFormat.lo event.lo
> globals-core.lo hash.lo iface.lo initialize.lo leaks.lo ntop.lo pbuf.lo
> plugin.lo prefs.lo protocols.lo sessions.lo term.lo util.lo utildl.lo
> traffic.lo vendor.lo version.lo ntop_darwin.lo -lpthread -ldl -lcrypt
> -lc -lssl -lrrd_th -lpcap -lgdbm -lz -Wl,--as-needed -Wl,-z,relro
> -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lsensors -L/usr/lib64
> -lnetsnmp -lcrypto -lm  -lGeoIP
> /bin/grep: /usr/lib64/libxml2.la: No such file or directory
> /bin/sed: can't read /usr/lib64/libxml2.la: No such file or directory
> libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive
> 
> Any hint welcome.

Maybe you have libsensors.la, libnetsnmp.la, libcrypto.la, libgdbm.la,
libpcap.la, librrd_th.la, libssl.la, or libGeoIP.la referencing
libxml2.la. If so, the package in question needs a rebuild so that the
reference disappears (or alternatively just a removal of the .la file
altogether).

-- 
Anssi Hannula


More information about the Mageia-dev mailing list