LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 05-04-2006, 04:29 AM   #1
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44
Thanked: 0
problem with libpcap


[Log in to get rid of this advertisement]
Hey, i want install bandwitdthd on slackware 10.2 and i run this comannd
/usr/sbin/bandwidthd and become this
bandwidthd: error while loading shared libraries: libpcap.so.0.8.3: cannot open shared object file: No such file or directory

Where i can get this libpcap.so.0.8.3 ? Can i use rpm2tgz ?
ARCIS_house is offline     Reply With Quote
Old 05-04-2006, 08:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,327
Thanked: 182
you just need to install libpcap however you see fit. you acn get the source from their homepage via google.
acid_kewpie is offline     Reply With Quote
Old 05-04-2006, 09:22 AM   #3
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44
Thanked: 0

Original Poster
Quote:
Originally Posted by acid_kewpie
you just need to install libpcap however you see fit. you acn get the source from their homepage via google.
I install source libpcap 0.8.3 from http://www.tcpdump.org/ , i make ./configure && make & make install - all past without errors, but my bandwidthd get same error, any idea ? thanx
ARCIS_house is offline     Reply With Quote
Old 05-04-2006, 09:46 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,313
Thanked: 3
Where is the file?
Code:
slocate libpcap.so.0.8.3
/usr/locale/lib ?

If yes then redo this:
make clean
./configure --sysconfdir=/etc/ --prefix=/usr/
make
make install

Last edited by nx5000; 05-04-2006 at 09:48 AM..
nx5000 is offline     Reply With Quote
Old 05-05-2006, 01:17 AM   #5
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44
Thanked: 0

Original Poster
Sorry, but slocate libpcap.so.0.8.3 get nothing. Wo i can get libpcap.so.0.8.3 on Slackware. When i install from source libpcap (www.tcpdump.org), have just libpcap.a . Thanx

Last edited by ARCIS_house; 05-05-2006 at 01:50 AM..
ARCIS_house is offline     Reply With Quote
Old 05-05-2006, 03:53 AM   #6
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44
Thanked: 0

Original Poster
I solved problem: i deleted all with bandwithd and libpcap, and install new. Thanx
ARCIS_house is offline     Reply With Quote
Old 05-05-2006, 04:56 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,313
Thanked: 3
Quote:
Originally Posted by ARCIS_house
Sorry, but slocate libpcap.so.0.8.3 get nothing. Wo i can get libpcap.so.0.8.3 on Slackware. When i install from source libpcap (www.tcpdump.org), have just libpcap.a . Thanx
You were quicker than me. This old version doesn't seem to generate shared lib, then do it manually
Code:
./configure
make
ld -shared -o libpcap.so.0.8.3 *.o
mv libcap.so.0.8.3 /usr/lib
ldconfig
nx5000 is offline     Reply With Quote
Old 05-31-2006, 12:43 PM   #8
shashank_k1
LQ Newbie
 
Registered: May 2006
Posts: 2
Thanked: 0
Hi guyes
This won,t work for me. I am using redhat 9.0.
Please help me out

Thnks
shashank_k1 is offline     Reply With Quote
Old 05-31-2006, 03:44 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,327
Thanked: 182
dude, do you really think we can help you if you only say "it doesn't work"?? you need to provide soem acutal information about what's going on.
acid_kewpie is offline     Reply With Quote
Old 06-05-2006, 01:41 AM   #10
shashank_k1
LQ Newbie
 
Registered: May 2006
Posts: 2
Thanked: 0
Angry

Quote:
Originally Posted by acid_kewpie
dude, do you really think we can help you if you only say "it doesn't work"?? you need to provide soem acutal information about what's going on.

Sorry!
Actual information is I want to setup VPN server on linux (Redhat 9). This pakage needs libpcap.so.0.8.3. I downloaded the same from tcpdump.org. and done the following
./configure
make
make install

After this use modprobe to libpcap it shows the older version which is not useful to me..

Also I was tried
./configure
make
ld -shared -o libpcap.so.0.8.3 *.o
mv libcap.so.0.8.3 /usr/lib
ldconfig
But this even not changed the modprobe output.
Hope this is enough information if not tell me what else information u want..........

Last edited by shashank_k1; 06-05-2006 at 01:45 AM..
shashank_k1 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
problem with libnet/libpcap on Linux filomotta Programming 0 05-31-2005 08:49 AM
problem installing libpcap aaronruss Linux - Newbie 0 06-05-2004 04:09 PM
libpcap 0.8.3 installation problem open2rock Linux - Software 3 05-15-2004 02:23 AM
mandrake 9.2 libpcap problem ziegen Mandriva 1 11-07-2003 02:24 AM
libpcap oulevon Linux - General 1 09-25-2001 10:06 AM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration