LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libraries, packages, file locations (https://www.linuxquestions.org/questions/slackware-14/libraries-packages-file-locations-120669/)

janve 11-28-2003 02:31 AM

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.

janve 11-28-2003 02:43 AM

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.

Misel 11-28-2003 03:08 AM

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). :)

janve 11-29-2003 03:00 AM

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.

dugan 11-29-2003 10:34 PM

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>?


All times are GMT -5. The time now is 12:03 PM.