centos - Libtool - Mismatch version -
i try install usbip on centos 5.11 (kernel 2.6.18-409.el5) have error when type "make" :
make[1]: entering directory "/root/downloads/usbip-0.1.7/src" making in lib make[2]: entering directory "/root/downloads/usbip-0.1.7/src/lib" if /bin/sh ../libtool --tag=cc --mode=compile gcc -dhave_config_h -i. -i. -i.. -wall -w -wstrict-prototypes -std=gnu99 -dusbids_file='"/usr/local/share/usbip/usb.ids"' -g -o2 -mt libusbip_la-names.lo -md -mp -mf ".deps/libusbip_la-names.tpo" -c -o libusbip_la-names.lo "test -f "names.c" || echo './'"names.c; \ mv -f ".deps/libusbip_la-names.tpo" ".deps/libusbip_la-names.plo"; else rm -f ".deps/libusbip_la-names.tpo"; exit 1; fi libtool: version mismatch error. libtool 1.9b, libtool: definition of lt_init comes older release. libtool: should recreate aclocal.m4 macros libtool 1.9b libtool: , run autoconf again. make[2]: [libusbip_la-names.lo] error 1 make[2]: leaving directory "/root/downloads/usbip-0.1.7/src/lib" make[1]: [all-recursive] error 1 make[1]: leaving directory "/root/downloads/usbip-0.1.7/src" make: *** [all] error 2
i saw several solution on forums, "autoreconf -vfi" not work me.
i try reinstall libtool have last version can't. when type "yum remove libtool", i'm able type "libtool --version" :
[tuk@vm01 downloads]# libtool --version ltmain.sh (gnu libtool) 1.9b written gordon matzigkeit <gord@gnu.ai.mit.edu>, 1996 copyright (c) 2004 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.
and binaries here :
[tuk@vm01 downloads]# find / -name "libtool*" /opt/share/man/man1/libtoolize.1 /opt/share/man/man1/libtool.1 /opt/share/aclocal/libtool.m4 /opt/share/info/libtool.info-1 /opt/share/info/libtool.info-2 /opt/share/info/libtool.info /opt/share/libtool /opt/bin/libtool /opt/bin/libtoolize /usr/local/share/man/man1/libtoolize.1 /usr/local/share/man/man1/libtool.1 /usr/local/share/aclocal/libtool.m4 /usr/local/share/info/libtool.info-1 /usr/local/share/info/libtool.info-2 /usr/local/share/info/libtool.info /usr/local/share/libtool /usr/local/bin/libtool /usr/local/bin/libtoolize /usr/share/automake-1.9/am/libtool.am
is there solution fro me install usbip ? you
solved !
i haved several binaries libtool :
[root@svsloflex2 ~]# -a libtool /usr/local/bin/libtool /usr/bin/libtool
the version of /usr/local/bin 1.9b (and don't work)
i added line use version of libtool (by default) :
export path=/usr/bin:$path
the version of /usr/bin 1.5.22, , work, usbip installed.
Comments
Post a Comment