LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2003, 02:31 AM   #1
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 16

Rep: Reputation: 1
libraries, packages, file locations


I'm trying to rebuild my sendmail (an option needed) using the Slackbuild-sendmail script (slackware-9.1/source/...). I'm getting a "../../include/sm/bdb.h:17:17: db.h: No such file or directory" message. OK, I need to install a package containing the db.h file.

How can I find out which package contains a specific file ? (without installing all of them and looking into /var/log/packages)

[I guessed that it could be l/db1, I installed it and still I had to "cp /usr/include/db1/db.h /usr/include/". So this doesn't seem to be the right way - although it seems to work at the first glance.]

Thanks for help.
 
Old 11-28-2003, 02:43 AM   #2
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
P.S. - and I read the F.M.: Slackware FAQ Q32 mentions the file FILE_LIST on ftp.slackware.com in /pub/slackware.
(1) I couldn't find any FILE_LIST in that directory
(2) all FILE_LISTs and FILELISTs I found in the distro are listings of the distro, not of an installed system.
 
Old 11-28-2003, 03:08 AM   #3
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
FILE_LIST's purpose is to list all files of the distro. If you want to check which package contains which file use slackpkg (in the extra-directory).
 
1 members found this post helpful.
Old 11-29-2003, 03:00 AM   #4
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
Thank you ! This helped with locating the file. I found that I have three packages with that file (db.h) installed. So I'm getting back to my original build problem, under a new thread.
 
Old 11-29-2003, 10:34 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,336

Rep: Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380
There's also a file on the FTP mirrors (and on the CD) called MANIFEST, which is probably compressed with a .gz or .bz2 extension, and which tells you exactly which package contains which files.

There's actually a question in the alt.os.linux.slackware FAQ that deals with this. See here:

alt.os.linux.slackware FAQ: Which package contains <insert filename here>?
 
1 members found this post helpful.
  


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
libraries/headers locations question (compiling) shilo Slackware 1 10-04-2005 12:01 PM
Imap file locations GraemeK Linux - Networking 2 09-27-2004 08:06 AM
File locations and dependancies...Help! wirechild Linux - General 3 11-15-2003 05:53 PM
File Locations stodgel Linux - General 1 06-13-2003 08:02 AM
File locations peeples Linux - Distributions 5 10-04-2002 02:26 AM

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

All times are GMT -5. The time now is 03:29 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