LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-14-2006, 05:57 PM   #1
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Rep: Reputation: 16
FC6 libdnet.1 installed but not found


I am trying to install firewalk rpm from http://dries.studentenweb.org/rpm/packages...ewalk/info.html

The problem is yum says dependency libdnet.1 is not installed. I have libdnet.1 installed:
Code:
[root@DarkStar comhack]# whereis libdnet
libdnet: /usr/local/lib/libdnet.la /usr/local/lib/libdnet /usr/local/lib/libdnet.a /usr/local/lib/libdnet.1
I tried to usual: ldconfig and also rebooted but libdnet is not being found for some reason. Any ideals? I am trying to install a few packages that need this library. Yum shows it is installed:
Code:
libdnet  -1.10-4.fc6.i386
libdnet-devel - 1.10-4.fc6.i386
libdnet-progs - 1.10-4.fc6.i386
I do not understand why it does not see it.
Thanks
 
Old 12-14-2006, 08:32 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What is the output of doing
Code:
#rpm -qa | grep -i libdnet
 
Old 12-14-2006, 08:48 PM   #3
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Thanks for the reply. Here it is:
Code:
[root@DarkStar FC6-pkgs]# rpm -qa | grep -i libdnet
libdnet-progs-1.10-4.fc6
libdnet-1.10-4.fc6
libdnet-devel-1.10-4.fc6

Thanks
 
Old 12-14-2006, 08:55 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Well, it looks like libdnet is installed properly. Try installing the package using "rpm -Uvh --nodeps" works alright.
 
Old 12-14-2006, 08:57 PM   #5
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
It installed but still not working:

Code:
[root@DarkStar FC6-pkgs]# rpm -Uvh --nodeps firewalk-5.0-1.2.fc6.rf.i386.rpm 
warning: firewalk-5.0-1.2.fc6.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
Preparing...                ########################################### [100%]
   1:firewalk               ########################################### [100%]
[root@DarkStar FC6-pkgs]# firewalk
firewalk: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory
Thanks
 
Old 12-14-2006, 09:24 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I did a bit of googling and some users facing the same problem as yourself had to install libdnet into /usr/lib and not /usr/local/lib. You could just create symlinks instead of reinstalling.
 
Old 12-15-2006, 04:32 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Before creating symlinks you could try this for further diagnosis: 1) Dries lists 1.11-1.2 as the latest, if you look at the spec you'll see they contain the dynamic and static library, so you could try if an upgrade somehow "fixes" things. 2) what does "ldconfig -p|grep dnet" say? (If nothing, add /usr/local/lib to ld.so.conf and run "ldconfig".) 3) Does firewalk run if you force "env LD_PRELOAD=/usr/local/lib/libdnet.so firewalk"?
 
Old 12-15-2006, 08:35 AM   #8
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by reddazz
I did a bit of googling and some users facing the same problem as yourself had to install libdnet into /usr/lib and not /usr/local/lib. You could just create symlinks instead of reinstalling.
Thanks that helped but I still have to use the --nodeps when installing. Even with the system links there, yum still does not find it.

THanks
 
Old 12-15-2006, 09:08 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by securitybreach
Thanks that helped but I still have to use the --nodeps when installing. Even with the system links there, yum still does not find it.

THanks
YUM and rpm do not search the filesystem for libraries. They consult the rpm database which will not know about your symlinks.

Last edited by reddazz; 12-15-2006 at 12:43 PM.
 
Old 12-15-2006, 11:29 AM   #10
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Fixed

Well I found a fix. Striker from All Things Linux helped me.

http://forums.scotsnewsletter.com/in...9&#entry212349

Thanks

Last edited by securitybreach; 12-15-2006 at 11:30 AM.
 
  


Reply



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
no displays found when using fglrx driver - FC6 - X11 Savet General 4 08-21-2007 03:41 PM
XP not found in GRUB - Dual Booting FC6/XP? srich1979 Linux - Newbie 7 11-24-2006 04:05 AM
FC6 properly installed but, GRUB_ error on boot. cramsesh Fedora 6 11-20-2006 08:46 PM
FC6: nVidia installed but resolution can't change eastdockeryf Fedora 3 11-02-2006 09:56 PM
libdnet what?!! Xon Linux - Security 2 10-14-2004 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration