Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-06-2010, 12:35 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2010
Posts: 4
Rep:
|
"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.
|
|
|
|
04-06-2010, 09:16 AM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,822
|
Quote:
Originally Posted by myriad_moments
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.
|
|
|
|
04-06-2010, 10:12 AM
|
#3
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,633
|
.. 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
.....
|
|
|
|
04-07-2010, 03:56 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2010
Posts: 4
Original Poster
Rep:
|
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!
|
|
|
|
04-09-2010, 02:02 AM
|
#5
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,633
|
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 ?
.....
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:58 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|