LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2006, 09:28 AM   #1
halturata
Member
 
Registered: Aug 2005
Location: Sofia
Distribution: SuSE, ELinOS
Posts: 100

Rep: Reputation: 16
'ldd' is part of package?


Hello,

How can I find out from which package the 'ldd' command is part of? binutils? coreutils? GCC? BASH??

Thanks.
 
Old 08-01-2006, 09:42 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by halturata
Hello,

How can I find out from which package the 'ldd' command is part of? binutils? coreutils? GCC? BASH??

Thanks.
I do not know how to do this with OpenSolaris and RedHat, but in Slackware you can do this:

Code:
cd /var/log/packages
grep -l usr/bin/ldd *
This should list all files where usr/bin/ldd appears. You can then take a deeper look in the package file with any text editor or cat/less ...
 
Old 08-01-2006, 09:50 AM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
glibc I believe
 
Old 08-01-2006, 10:17 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,397
Blog Entries: 1

Rep: Reputation: 64
In a rpm based distro, "rpm -qf /path/to/file" will give you the package name.
In FC5 is:
Code:
gold@miguel ~[1007] rpm -qf $(which ldd)
glibc-common-2.4-8
gold@miguel ~[1008]
 
Old 08-01-2006, 10:46 AM   #5
halturata
Member
 
Registered: Aug 2005
Location: Sofia
Distribution: SuSE, ELinOS
Posts: 100

Original Poster
Rep: Reputation: 16
Thaks a lot for the help guys!

Code:
[root@halturata /var/log]$rpm -qf $(which ldd)
glibc-common-2.2.5-34

Last edited by halturata; 08-01-2006 at 10:48 AM.
 
  


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
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 10:18 PM
Cannot compile LDD example codes... okeyla Linux - Hardware 0 05-03-2005 09:30 PM
about ldd -d jingle_mj Programming 4 09-10-2004 07:25 AM
about ldd -d jingle_mj Linux - General 2 08-25-2004 07:30 AM
ldd simon Linux - General 1 08-02-2001 07:15 AM


All times are GMT -5. The time now is 10:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration