in reply to Net::Pcap + Solaris10 x86 : runtime error madness
gcc -G -L/usr/local/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/pro +d/lib -L/lib Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.so \ \
This shows that Pcap.so hasn't actually been linked against libpcap (no -lpcap on that command line, for whatever reason...).
In case you don't really want to solve the underlying problem with the older version apparently being found, no proper Makefile being written etc., but would rather just want to get it working this time for this build attempt, you could try to manually issue the proper link command (from the directory where Pcap.o lives):
gcc -G Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.so /usr/local/lib/libpca +p.a
(and then run make test; make install)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Pcap + Solaris10 x86 : runtime error madness
by stevehicks (Sexton) on May 28, 2009 at 14:05 UTC |