LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-04-2006, 03:29 AM   #1
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44

Rep: Reputation: 15
problem with libpcap


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 ?
 
Old 05-04-2006, 07:39 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
you just need to install libpcap however you see fit. you acn get the source from their homepage via google.
 
Old 05-04-2006, 08:22 AM   #3
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 05-04-2006, 08:46 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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 08:48 AM.
 
1 members found this post helpful.
Old 05-05-2006, 12:17 AM   #5
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44

Original Poster
Rep: Reputation: 15
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 12:50 AM.
 
Old 05-05-2006, 02:53 AM   #6
ARCIS_house
Member
 
Registered: Jan 2005
Posts: 44

Original Poster
Rep: Reputation: 15
I solved problem: i deleted all with bandwithd and libpcap, and install new. Thanx
 
Old 05-05-2006, 03:56 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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
 
Old 05-31-2006, 11:43 AM   #8
shashank_k1
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Hi guyes
This won,t work for me. I am using redhat 9.0.
Please help me out

Thnks
 
Old 05-31-2006, 02:44 PM   #9
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
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.
 
Old 06-05-2006, 12:41 AM   #10
shashank_k1
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 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 12:45 AM.
 
  


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

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

All times are GMT -5. The time now is 03:58 AM.

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