"cannot stat `libpcap.so.1.0.0':" error during make of Libpcap 1.0.0 on Fedora 9
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"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
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.
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
.....
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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 ?
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.