- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tcpdump error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 11:04 AM
05-01-2003 11:04 AM
# /usr/local/sbin/tcpdump -a -d -i lan0 -vvv -w /var/adm/syslog/tcpdump.log -x -X tcp port 20 tcp port 21
/usr/lib/dld.sl: Unresolved symbol: pcap_error (code) from /usr/local/lib/libpcap.sl
Abort(coredump)
#
# ls -l
total 5504
-rw------- 1 root sys 1168988 May 1 13:52 core
-rw-r----- 1 mgreene general 419840 May 1 10:18 libpcap-0.7.2-sd-11.00.depot
-rw-r----- 1 mgreene general 737280 May 1 10:18 tcpdump-3.7.1-sd-11.00.depot
-rw-r----- 1 mgreene general 491520 May 1 13:45 tcpdump-3.7.2-sd-11.00.depot
# file core
core: core file from 'tcpdump' - received SIGABRT
This is on an rp5400 running HP11.00 patched through the Dec 2002 release and the March 2003 security patches.
I did a search on HP's website for this error, and got references to these two patches, which I already have loaded:
PHNE_21390
PHNE_26771
Has anyone seen this before, or have an idea of where I go next to get tcpdump running?
TIA,
mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 12:27 PM
05-01-2003 12:27 PM
Re: tcpdump error
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,4682,00.html#12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 01:28 PM
05-01-2003 01:28 PM
Re: tcpdump error
/usr/local/sbin/tcpdump -a -d -i lan0 -vvv -w /var/adm/syslog/tcpdump.log -x -X tcp port 20 tcp port 21
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libpcap.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
which, of course, indicates that I really do need the 0.7.2 version.
Thanks for the suggestion though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 01:29 PM
05-01-2003 01:29 PM
Re: tcpdump error
/usr/local/sbin/tcpdump -a -d -i lan0 -vvv -w /var/adm/syslog/tcpdump.log -x -X tcp port 20 tcp port 21
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libpcap.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
which, of course, indicates that I really do need the 0.7.2 version.
Thanks for the suggestion though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 07:23 PM
05-01-2003 07:23 PM
Re: tcpdump error
If it is present then please add that directory to the SHLIB_PATH variable so that it is referenced during the execution of tcpdump.
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 07:57 PM
05-01-2003 07:57 PM
Re: tcpdump error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 06:02 AM
05-02-2003 06:02 AM
Re: tcpdump error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 07:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 06:58 AM
05-05-2003 06:58 AM
Re: tcpdump error
you did build libpcap first, and the provide a link for a "libpcap" peer directory to the tcpdump director when you built didn't you?
That, and/or when you installed a binary libpcap it did put a .sl into /usr/local/lib and a chatr on the tcpudmp executable lists /usr/local/lib/libpcap... as a dependency?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 10:40 AM
05-05-2003 10:40 AM
Re: tcpdump error
I did not build the depots, I downloaded them pre-built, (from here: http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/alpha.html )which I suspect is the problem. We get our OS support via our application vendor, and I have put in a request with them to go to HP software support for this. I'll post an update once I have one.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 02:49 PM
05-05-2003 02:49 PM
Re: tcpdump error
I just downloaded both depots and swinstalled them on an HP-UX 11.11 system. For some reason the tcpdump depot installs tcpdump in /usr/local/sbin even though it is not a static-bound executable... The chatr shows it does seem to be looking for libpcap in the right place:
sweb142: chatr /usr/local/sbin/tcpdump
/usr/local/sbin/tcpdump:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /usr/local/lib/libpcap.sl
dynamic /usr/lib/libnsl.1
dynamic /usr/lib/libc.2
shared library binding:
deferred
the binary appears to run just fine. I'd try an 11.0 system, but I don't actually have one at my disposal at the moment.