LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-26-2004, 07:13 PM   #1
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
How to check which package provide a required missing file?


Eg.During the "make" process, I have the following error:

grep: /usr/lib/libbeecrypt.la: No such file or directory
/bin/sed: can't read /usr/lib/libbeecrypt.la: No such file or directory
libtool: link: `/usr/lib/libbeecrypt.la' is not a valid libtool archive
make[1]: *** [libapt-pkg.la] Error 1
make[1]: Leaving directory `/home/david/apt-0.5.15cnc6/apt-pkg'
make: *** [all-recursive] Error 1

What command can I use to check which package will provide the file "libbeecrypt.la"?

Thanks!
 
Old 03-26-2004, 07:19 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Depends on your distro. I have an alias to see if it's in an installed package and a function to see if it's offered by Slack at all. RPM and so on have their own gizmos. This works for everybody:
Google
freshmeat

--My mistake. They're both functions.

Last edited by slakmagik; 03-26-2004 at 07:22 PM.
 
Old 03-26-2004, 07:44 PM   #3
davidas
Member
 
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Original Poster
Rep: Reputation: 30
I'm using Redhat. Anyone knows the option / arguement to use with rpm query to check for the package that provides the missing file?

Thanks

Quote:
Originally posted by digiot
Depends on your distro. I have an alias to see if it's in an installed package and a function to see if it's offered by Slack at all. RPM and so on have their own gizmos. This works for everybody:
Google
freshmeat

--My mistake. They're both functions.
 
Old 03-26-2004, 08:43 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I forget I have the rpm man page on here, even though I don't use the actual utility. It appears to be 'rpm -qa' or 'rpm -qf libbeecrypt.la'. Not sure though. Not sure how that would work if you don't actually have the package installed yet, either. I mean, you want to know on general principle but, as far as this specific issue, I think you want 'beecrypt', as the links above point to.
 
Old 08-10-2004, 01:48 PM   #5
dkroft
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
rpm -q --redhatprovides

rpm -q --redhatprovides (filename)
 
  


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
Dp package required Error jasb Linux - Software 1 11-25-2005 06:08 PM
missing .so file in MyODBC package emanresu Linux - Software 3 06-15-2004 12:05 AM
Missing file/package "-lart_lgpl_2" cbjhawks Linux - Software 2 09-27-2003 09:29 PM
glibc package required Xing Linux - Software 2 09-27-2003 01:50 PM
How to check for required dependences? nidua18 Linux - Newbie 3 09-26-2003 11:46 AM

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

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