pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: huge perl modules update



On Sat, Sep 12, 2020 at 08:39:25PM +0200, oskar%fessel.org@localhost wrote:
> I didn’t think so until:
> Can't load '/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so: Shared object "libperl.so" not found at /usr/pkg/lib/perl5/5.32.0/XSLoader.pm line 93.
>  at /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/Fcntl.pm line 66.
> Compilation failed in require at /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/POSIX.pm line 17.
> 
> This may be totally unrelated, though, because it looks like this is an issue within the base package (at least on one specific system, which unfortunately was in production until that happened…)
> 
> zappa# ldd /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
> /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so:
> 	-lperl => not found
> 	-lc.12 => /usr/lib/libc.so.12
> 
> even the binary package working on another machine installed on this one does not find libperl.so.
> This is on NetBSD 9.99.52 amd64.  Working fine on 9.99.72.
> Works also with symbolic linkt of libperl.so into /usr/pkg/lib.
> 
> Any ideas?

Sorry, I can't reproduce this on either 9.99.72/amd64 nor 9.0/amd64:

> ldd /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so
/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so:
        -lperl => /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE/libperl.so
        -lm.0 => /usr/lib/libm.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lcrypt.1 => /usr/lib/libcrypt.so.1
        -lpthread.1 => /usr/lib/libpthread.so.1

> objdump -x /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/auto/Fcntl/Fcntl.so | grep -i RPATH 
  RPATH                /usr/pkg/lib:/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE

> pkg_info -Fe /usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE/libperl.so
perl-5.32.0nb1

 Thomas




Home | Main Index | Thread Index | Old Index