[Nix-dev] ./configure errors in Perl
Tony White
tonywhite100 at googlemail.com
Tue Jun 23 02:03:26 CEST 2009
2009/6/22 Peter Simons <simons at cryp.to>:
> Hi,
>
> while building Perl on Linux/x86, I noticed a handful of error messages
> like these:
>
> | [...]
> | Looking for nanosleep()... testing... ./tmp24475: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
> |
> | *** The test run of './tmp24475' failed: status 32512
> | *** (the status means: errno = 127 or 'Key has expired')
> | *** DO NOT PANIC: this just means that *some* functionality will be missing.
> | NOT found.
> | You cannot mix subsecond sleeps with signals.
> | (It would not be portable anyway.)
> | Looking for clock_gettime()... ./tmp24475: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
> |
> | *** The test run of './tmp24475' failed: status 32512
> | *** (the status means: errno = 127 or 'Key has expired')
> | *** DO NOT PANIC: this just means that *some* functionality will be missing.
> | ./tmp24475: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
> | [...]
>
> Apparently, Perl cannot load libpthread.so in the configure phase. It
> doesn't look like a serious problem, i.e. Perl builds successfully, but
> still the missing functionality might be important to some packages.
>
> Does anyone have an idea as for what might be causing these problems?
>
> Take care,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
Hi Peter,
glibc or similar c library is at fault, cannot be found or is not one
of the perl expression's build inputs?
I'm seeing :
Jun 22 22:17:56 kbd:
/nix/store/v52qk62nsj4fx9m79755caijcgpndclc-glibc-2.9/bin/locale:
Cannot set LC_CTYPE to default locale: No such file or directory
Jun 22 22:17:56 kbd:
/nix/store/v52qk62nsj4fx9m79755caijcgpndclc-glibc-2.9/bin/locale:
Cannot set LC_MESSAGES to default locale: No such file or directory
Jun 22 22:17:56 kbd:
/nix/store/v52qk62nsj4fx9m79755caijcgpndclc-glibc-2.9/bin/locale:
Cannot set LC_ALL to default locale: No such file or directory
in /var/log/boot here, so maybe there is something wrong with the c
libraries (glibc) I think.
Are you building perl-5.8 or perl-5.10?
It appears that the perlReal expression (perl-5.10,) Actually
specifies glibc dirs in configureFlags, so looks like it may solve the
problem you mention. If perl-5.8 is what your'e building?
Regards,
Tony
More information about the nix-dev
mailing list