#18070: eglibc 2.19 compile failed, Perl 5.0.20 cannot find -lnsl
------------------------+-----------------------------------
Reporter: whotopia@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Barrier Breaker 14.07
Keywords: |
------------------------+-----------------------------------
Perl fails to build due to dependency on libnsl.
{{{
i486-openwrt-linux-gnu-gcc -o libperl.so -shared -rdynamic
-L/mnt/src/stevie/ent/14.07-openwrt/staging_dir/target-
i386_geode_eglibc-2.19/usr/lib
-L/mnt/src/stevie/ent/14.07-openwrt/staging_dir/target-
i386_geode_eglibc-2.19/lib -L/mnt/src/stevie/ent/14.07-openwrt/staging_dir
/toolchain-i386_geode_gcc-4.8-linaro_eglibc-2.19/usr/lib
-L/mnt/src/stevie/ent/14.07-openwrt/staging_dir/toolchain-
i386_geode_gcc-4.8-linaro_eglibc-2.19/lib op.o perl.o gv.o toke.o
perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o
av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o
regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o
numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o DynaLoader.o
-lnsl -ldl -lm -lcrypt -lutil -lc -lbsd
/mnt/src/stevie/ent/14.07-openwrt/staging_dir/toolchain-
i386_geode_gcc-4.8-linaro_eglibc-2.19/lib/gcc/i486-openwrt-linux-
gnu/4.8.3/../../../../i486-openwrt-linux-gnu/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make[4]: *** [libperl.so] Error 1
make[4]: Leaving directory `/mnt/src/stevie/ent/14.07-openwrt/build_dir
/target-i386_geode_eglibc-2.19/perl/perl-5.20.0'
make[3]: *** [/mnt/src/stevie/ent/14.07-openwrt/build_dir/target-
i386_geode_eglibc-2.19/perl/perl-5.20.0/.built] Error 2
}}}
Perl probably doesn't actually need to be linked with libnsl.
--
Ticket URL: <https://dev.openwrt.org/ticket/18070>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets