Public bug reported:

Binary package hint: perl

Attempting to build the 'perl' package fails on natty.

libc6 in natty has moved the core system libs (such as libm) that used
to be in /lib into /lib/x86_64-linux-gnu. Perl's Configure script does
not include this path in libspath/libpth/loclibpth so it fails to find
the libraries. Subsequently the libs are dropped from the build line for
gcc and the build falls over during linking.

I have reproduced this on my system by grabbing the src-deb via 'apt-get
source perl' both on the base system and in a pbuilder env..

The end result is a build failure
----

cc -fstack-protector -L/usr/local/lib -o miniperl \
              gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o 
mro.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 xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o 
locale.o pp_pack.o pp_sort.o  \
            miniperlmain.o opmini.o perlmini.o 
util.o: In function `Perl_safesysmalloc':
/tmp/buildd/perl-5.10.1/util.c:78: undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesysrealloc':
/tmp/buildd/perl-5.10.1/util.c:134: undefined reference to `pthread_getspecific'
util.o: In function `Perl_croak_nocontext':
/tmp/buildd/perl-5.10.1/util.c:1444: undefined reference to 
`pthread_getspecific'
util.o: In function `Perl_safesyscalloc':
/tmp/buildd/perl-5.10.1/util.c:271: undefined reference to `pthread_getspecific'
util.o: In function `Perl_die_nocontext':
...

---------
Under a normal build several libs should follow at the end of the build line, 
like '-lm'

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/739693

Title:
  Configure does not find libs in /lib/x86_64-linux-gnu

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to