tech-pkg archive

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

Re: net/p5-Net-Pcap build failure (DynaLoader problem?)

My problem is that net/p5-Net-Pcap detction logic fails to find net/libpcap's The one in base is too old.

The crucial step seems to be running a script that loads a
which in turn tries to link against libpcap, which fails:

Can't load 'blib/arch/auto/Conftest/' for module Conftest: Shared 
object "" not found at 
/usr/pkg/lib/perl5/5.16.0/x86_64-netbsd-thread-multi/ line 190.

OTOH, $Config{libpth} does contain /usr/pkg/lib, which contains
$ perl -MConfig -e 'print $Config{libpth}, "\n";'
/lib /usr/lib /usr/local/lib /usr/pkg/lib

Tracing perl reveals that it only looks for /usr/lib/ and nowhere
I'm completely stuck. Running the test script with LD_LIBRARY_PATH=/usr/pkg/lib
does work. Maybe I'm blind, but how is DynaLoader expected to work?

Thanks for any help. It's probably totally obvious for a Perl expert.

Home | Main Index | Thread Index | Old Index