apt-file search does not work

View: New views
3 Messages — Rating Filter:   Alert me  

apt-file search does not work

by Francesco Pietra-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems to me that the command

$ apt-file search somelib.so

on Debian Linux amd64 lenny (after # updatedb) does not work. Annoying
when a compilation says that a library libmkl_intel.so) is not
present, while it is present in /opt/intel/mkl/10.0.1.014/lib/32

francesco pietra


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-file search does not work

by Stephen Gran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This one time, at band camp, Francesco Pietra said:
> It seems to me that the command
>
> $ apt-file search somelib.so
>
> on Debian Linux amd64 lenny (after # updatedb) does not work. Annoying
> when a compilation says that a library libmkl_intel.so) is not
> present, while it is present in /opt/intel/mkl/10.0.1.014/lib/32

apt-file only know about files that are listed in Contents files.
updatedb has nothing to do with it - that's for locate.
--
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@... |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------


signature.asc (196 bytes) Download Attachment

Re: apt-file search does not work

by Lennart Sorensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 24, 2008 at 04:38:52PM +0200, Francesco Pietra wrote:
> It seems to me that the command
>
> $ apt-file search somelib.so
>
> on Debian Linux amd64 lenny (after # updatedb) does not work. Annoying
> when a compilation says that a library libmkl_intel.so) is not
> present, while it is present in /opt/intel/mkl/10.0.1.014/lib/32

Unless you added /opt/intel/... to /etc/ld.so.conf and ran ldconfig,
or you explicitly told configure or the Makefile or such to look for
libraries in that location, then you don't have it installed.  The build
can't guess where to look for libraries.

apt-file only knows about debian packages.  updatedb only affects
locate, which also has nothing to do with apt or any build system.

--
Len Sorensen


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...