On 2013-12-04, Brad Smith <b...@comstyle.com> wrote:
> On 04/12/13 4:44 PM, Vadim Zhukov wrote:
>> 2013/12/5 Peter Fraser <p...@thinkage.ca>:
>>> samba required the e2fsprogs package. The problem occurs when trying to use 
>>> samba's net command.
>>> The net command requires libuuid.
>>>   It was not easy to find where libuuid was located.
>>
>> pkg_locate libuuid.so - no?
>
> Even if that tool was installed that would not locate anything
> if the package in question is not already installed, right?
>

pkglocate is just a simple shell script which uses locate(1) on a database
built with pkg_mklocatedb(1) as part of a ports build, which includes files
from every port, not just those which are installed, e.g.

$ pkglocate libuuid.so                                       
e2fsprogs-1.42.7p0:sysutils/e2fsprogs:/usr/local/lib/libuuid.so.14.0
fedora_base-10.0p1:emulators/fedora/base:/usr/local/emul/fedora/lib/libuuid.so.1
fedora_base-10.0p1:emulators/fedora/base:/usr/local/emul/fedora/lib/libuuid.so.1.2

$ ls -l /var/db/pkg/fedora*                                  
ls: /var/db/pkg/fedora*: No such file or directory

Reply via email to