LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2011, 01:44 AM   #1
danielle
LQ Newbie
 
Registered: Oct 2010
Location: Beijing
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
library dependency error when starting wireshark/tcpdump


Hi,

I'm using Fedora9. I cannot start wireshark or tcpdump because of the lib dependency error:

Code:
[root@localhost ~]# wireshark
wireshark: error while loading shared libraries: libpcap.so.0.9: cannot open shared object file: No such file or directory
I updated libpcap before and the latest version is libpcap.so.1.1. I changed the version because of another application but I cannot remember when I did it, perhaps on Sep.11?
Code:
[root@localhost lib]# ll |grep libpcap
-rw-r--r-- 1 root root 309670 2010-09-11 08:10 libpcap.a
lrwxrwxrwx 1 root root     12 2010-09-11 08:10 libpcap.so -> libpcap.so.1
lrwxrwxrwx 1 root root     14 2010-09-11 08:10 libpcap.so.1 -> libpcap.so.1.1
-rwxr-xr-x 1 root root 243207 2010-09-11 08:10 libpcap.so.1.1
So I tried
Code:
ln -s libpcap.so.1.1 libpcap.so.0.9
but it doesn't work.

Would u pls help me fix this, thanks!

Last edited by danielle; 01-06-2011 at 11:44 PM.
 
Old 01-06-2011, 02:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nothing to do with networking. Moved to Linux - Newbie.
 
Old 01-06-2011, 07:07 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

I.e. please tell, which Linux, you are using. By every question, please.
Like CentOS 5.5, Fedora 14, Ububtu 10.10, etc.

And why did you change libpcap, when your applications use another version ?

..
 
Old 01-06-2011, 11:46 PM   #4
danielle
LQ Newbie
 
Registered: Oct 2010
Location: Beijing
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

I.e. please tell, which Linux, you are using. By every question, please.
Like CentOS 5.5, Fedora 14, Ububtu 10.10, etc.

And why did you change libpcap, when your applications use another version ?

..
Thank you for reminding. I edited my question. But I cannot remember exactly when my applications used the new version, perhaps on Sep 11 as the ll shows.
 
Old 01-07-2011, 02:09 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Where did you get this other version of libpcap from? Why did you upgrade that and not wireshark?
 
Old 01-07-2011, 05:09 AM   #6
danielle
LQ Newbie
 
Registered: Oct 2010
Location: Beijing
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
Where did you get this other version of libpcap from? Why did you upgrade that and not wireshark?
I guess I got the other version by
yum install libpcap*
because pcap.h is needed for programming
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
library dependency problem ikinnu Linux - Software 5 04-29-2009 12:25 AM
Library dependency cybernike Linux - Software 2 05-17-2008 03:56 PM
Want to know method wireshark or tcpdump to capture packet? haxpor Programming 1 04-12-2007 01:08 AM
Library Dependency H*ll springshades Linux - Software 1 07-18-2005 06:57 PM
starting a background process running tcpdump on boot butthead Linux - Networking 1 10-15-2003 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration