LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with libpcap (http://www.linuxquestions.org/questions/linux-newbie-8/problem-with-libpcap-441485/)

ARCIS_house 05-04-2006 03:29 AM

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 ?

acid_kewpie 05-04-2006 07:39 AM

you just need to install libpcap however you see fit. you acn get the source from their homepage via google.

ARCIS_house 05-04-2006 08:22 AM

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

nx5000 05-04-2006 08:46 AM

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

ARCIS_house 05-05-2006 12:17 AM

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

ARCIS_house 05-05-2006 02:53 AM

I solved problem: i deleted all with bandwithd and libpcap, and install new. Thanx

nx5000 05-05-2006 03:56 AM

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


shashank_k1 05-31-2006 11:43 AM

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

Thnks

acid_kewpie 05-31-2006 02:44 PM

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.

shashank_k1 06-05-2006 12:41 AM

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..........


All times are GMT -5. The time now is 01:41 AM.