LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "cannot stat `libpcap.so.1.0.0':" error during make of Libpcap 1.0.0 on Fedora 9 (https://www.linuxquestions.org/questions/linux-software-2/cannot-stat-%60libpcap-so-1-0-0-error-during-make-of-libpcap-1-0-0-on-fedora-9-a-800260/)

myriad_moments 04-06-2010 12:35 AM

"cannot stat `libpcap.so.1.0.0':" error during make of Libpcap 1.0.0 on Fedora 9
 
Hi,

I am rather infrequent user of Linux, so please bear with me.
I am trying to install Libpcap version 1.0.0 on Fedora 9. During 'make, i get the following error:

"/usr/bin/install: cannot stat `libpcap.so.1.0.0': No such file or directory

make: *** [install] Error 1"

What could be the problem?

Please help.

TB0ne 04-06-2010 09:16 AM

Quote:

Originally Posted by myriad_moments (Post 3925731)
Hi,

I am rather infrequent user of Linux, so please bear with me.
I am trying to install Libpcap version 1.0.0 on Fedora 9. During 'make, i get the following error:

"/usr/bin/install: cannot stat `libpcap.so.1.0.0': No such file or directory

make: *** [install] Error 1"

What could be the problem?

Please help.

Are you running the make as root?? If you're not, it's likely a permissions problem. Either run "sudo make install", or su to the root user, and run it. Otherwise, you can try to install from online repos, like "yum install libpcap" (again, as root)

Also, bear in mind that Fedora 9 is pretty old. The latest is 12, and 13 will be out soon.

knudfl 04-06-2010 10:12 AM

.. Or may be you got yourself a corrupt libpcap-1.0.0 source ?

This one is OK on Fedora 9 :
http://anduin.linuxfromscratch.org/s...p-1.0.0.tar.gz
>> libpcap-1.0.0.tar.gz

Using e.g. /home/<username>/tmp/ :
cd tmp/
tar xvf libpcap-1.0.0.tar.gz
cd libpcap-1.0.0/
./configure --help ( to know the options )
./configure --prefix=<destination>/
make
su
make install
.....

myriad_moments 04-07-2010 03:56 AM

Still not working
 
Hi,

Thanks for your replies.. but the problem still exists.
I log in as root, and the Libpcap source is not corrupt as the same source was used for other machines and it worked fine.

Please help.

Thanks!

knudfl 04-09-2010 02:02 AM

Well, the best solution, may be this :
1) Log in as an unprivileged user ....
Root is for administrative tasks only,
and please use su instead of 'log in as root'.
Compiling : only the 'make install' command requires su.

2) .... Start from scratch in a new directory :
We know, this one is OK in Fedora 9 ..
http://anduin.linuxfromscratch.org/s...p-1.0.0.tar.gz
It's a small package, please download it.
A lot of other libpcap versions are marked 1.0.0,
but may not work on all Linux ?
.....


All times are GMT -5. The time now is 01:08 PM.