Operating System - HP-UX
1833189 Members
2878 Online
110051 Solutions
New Discussion

/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

 
Juquin_3
Advisor

/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

Hi ,

i have this message when i want to run "nmap" program (Network exploration tool and security scanner) .
I copy this library "libpcap.sl " onto my server but always the message follows :
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl
/usr/lib/dld.sl : permission denied =>#ll /usr/lib/dld.sl = -r-xr-xr-x bin bin

Can somebody help me ?

Thanks

 

 

 

Moved from HP-UX Technical Documentation to HP-UX > sysadmin

10 REPLIES 10
Gary L. Paveza, Jr.
Trusted Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

What are the permissions on /usr/local/lib/libpcap.sl?
Juquin_3
Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

#ll /usr/local/lib/libpcap.sl : -r-xr-xr-x root:sys

Is it correct ?
Juquin_3
Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

Thanks for your help ...

I resolved the problem (it was a problem from the right on file libpcap.sl)
Lucian_2
Occasional Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

I get the message when I run tcpdump on hp-ux 11.11:
/usr/lib/dld.sl: Can't find path for shared library: libpcap.sl
/usr/lib/dld.sl: No such file or directory

Can somebody help for that?

Lucian
Stephen Keane
Honored Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

Lucian Micu

export SHLIB_PATH=/usr/local/lib

Lucian_2
Occasional Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

I did the SHLIB_PATH=/usr/local/lib, but still the same error # ./tcpdump
/usr/lib/dld.sl: Can't find path for shared library: libpcap.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
Stephen Keane
Honored Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

chatr +s enable ./tcpdump

Also

ll /usr/local/lib/libpcap.sl
Lucian_2
Occasional Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

# ll /usr/local/lib/libpcap.sl
/usr/local/lib/libpcap.sl not found

So, libpcap.sl is missing. Where can I get it?
Stephen Keane
Honored Contributor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

The same place you got tcpdump from, presumably.

try

http://www.tcpdump.org
Lucian_2
Occasional Advisor

Re: /usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/lib/libpcap.sl

Perfect. Thanks.