LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 04-06-2010, 12:35 AM   #1
myriad_moments
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
Unhappy "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.
 
Old 04-06-2010, 09:16 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,456

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
Quote:
Originally Posted by myriad_moments View Post
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.
 
Old 04-06-2010, 10:12 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
.. 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
.....
 
Old 04-07-2010, 03:56 AM   #4
myriad_moments
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy 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!
 
Old 04-09-2010, 02:02 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
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 ?
.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Alsa-utils failing make stage: "cannot stat `t-ja.gmo'", I think I need xgettext timkarwoski Linux - General 2 10-06-2008 02:07 PM
Error while using libpcap uma mahesh Linux - Software 1 09-18-2007 06:29 AM
Can't find "pcap_next_ex" after I setuped the libpcap zhuqlfeixia Programming 3 02-27-2006 10:30 PM
Can't run LILO error : Fatal:raid_setup:stat("/dev/hdi1") robban59 Linux - Newbie 4 05-31-2005 04:44 PM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration