On 02/12/2014 09:45 PM, Ken Moffat wrote: > I'm seeing the following when I try to install of 1.4.21 : > > > libtool: install: (cd /building/iptables-1.4.21/libiptc; /bin/sh > /building/iptables-1.4.21/libtool --tag CC --mode=relink gcc -Wall > -Waggregate-return -Wmissing-declarations -Wmissing-prototypes > -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -O2 > -version-info 0:0:0 -Wl,--no-as-needed -o libiptc.la -rpath /usr/lib > libip4tc.la libip6tc.la ) > libtool: relink: gcc -shared -fPIC -DPIC -L/usr/lib -lip4tc > -lip6tc -O2 -Wl,--no-as-needed -Wl,-soname -Wl,libiptc.so.0 -o > .libs/libiptc.so.0.0.0 > /usr/lib/libip4tc.so: file not recognized: Is a directory > collect2: error: ld returned 1 exit status > libtool: install: error: relink `libiptc.la' with the above command > before installing it > Makefile:330: recipe for target 'install-libLTLIBRARIES' failed > make[2]: *** [install-libLTLIBRARIES] Error 1 > > What seems to be happening, for reasons I do not understand, is > that libiptc.so gets installed as a symlink: > > root in chroot ~# ls -l /usr/lib/libip4tc.so > lrwxrwxrwx 1 root root 10 Feb 12 20:41 /usr/lib/libip4tc.so -> > ../../lib/ > > I think I'll revert to 1.4.20 for this build :-( > > ĸen >
Seems like failure in this part: for file in ip4tc ip6tc ipq iptc xtables do mv -v /usr/lib/lib${file}.so.* /lib && ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so done Either your scripts still have the old switches or something else went wrong. Note that BLFS configure options don't have --exec-prefix switch anymore. -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page