LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 08:42 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
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, 08:50 AM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

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

Rep: Reputation: 68
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, 09: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 09:48 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
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 09:18 PM
Cannot compile LDD example codes... okeyla Linux - Hardware 0 05-03-2005 08:30 PM
about ldd -d jingle_mj Programming 4 09-10-2004 06:25 AM
about ldd -d jingle_mj Linux - General 2 08-25-2004 06:30 AM
ldd simon Linux - General 1 08-02-2001 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 PM.

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