When in this situation try this: package provides ^libx.so.x.x.whatever.
The carrot plus trailing dot will search for a pattern within the listing of the packages within the package database. You might shorten the pattern for results, though you will have more hits to check. When libc.so.7 was a miss, I checked libGL.so.1 and made progress. Jonathan Engwall On Sat, Sep 19, 2020, 3:56 PM <[email protected]> wrote: > Send Users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.dragonflybsd.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Users digest..." > > > Today's Topics: > > 1. Missing libraries (Jonathan Engwall) > 2. Re: Missing libraries (Nelson H. F. Beebe) > 3. Re: Missing libraries (Jonathan Engwall) > 4. Re: Missing libraries (Jonathan Engwall) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 19 Sep 2020 14:04:05 -0700 > From: Jonathan Engwall <[email protected]> > To: DragonFlyBSD Users <[email protected]> > Subject: Missing libraries > Message-ID: > <CAP= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > I need to know how to find the package that supply shared libraries, by the > libraries the packages provide. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.dragonflybsd.org/pipermail/users/attachments/20200919/0b3ff28c/attachment-0001.htm > > > > ------------------------------ > > Message: 2 > Date: Sat, 19 Sep 2020 15:23:35 -0600 > From: "Nelson H. F. Beebe" <[email protected]> > To: Jonathan Engwall <[email protected]> > Cc: [email protected], DragonFlyBSD Users <[email protected]> > Subject: Re: Missing libraries > Message-ID: <[email protected]> > > Jonathan Engwall <[email protected]> asks: > > >> I need to know how to find the package that supply shared libraries, by > the > >> libraries the packages provide. > > I strongly recommend always installing the pkg-provides package on > FreeBSD and its derivatives, and on DragonFlyBSD. > > After installation pkg-provides, a three lines in > /usr/local/etc/pkg.conf need tweaking to look like this: > > PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; > PKG_ENABLE_PLUGINS = true; > PLUGINS [ provides ] ; > > You then need to run (just once): > > # pkg provides -u > > >From then on, an index of providing packages is maintained for all > currently, and subsequently, installed files. > > You can then find the package that supplies a particular file like this: > > % pkg provides /usr/local/bin/gmake > Name : gmake-4.3_2 > Desc : GNU version of 'make' utility > Repo : Avalon > Filename: usr/local/bin/gmake > > > ------------------------------------------------------------------------------- > - Nelson H. F. Beebe Tel: +1 801 581 5254 > - > - University of Utah FAX: +1 801 581 4148 > - > - Department of Mathematics, 110 LCB Internet e-mail: > [email protected] - > - 155 S 1400 E RM 233 [email protected] > [email protected] - > - Salt Lake City, UT 84112-0090, USA URL: > http://www.math.utah.edu/~beebe/ - > > ------------------------------------------------------------------------------- > > > ------------------------------ > > Message: 3 > Date: Sat, 19 Sep 2020 15:03:51 -0700 > From: Jonathan Engwall <[email protected]> > To: "Nelson H. F. Beebe" <[email protected]> > Cc: DragonFlyBSD Users <[email protected]> > Subject: Re: Missing libraries > Message-ID: > <CAP= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Thank you > > Finding libc.so.7 was impossible. I found libc.so ... could there be a > connection? > > That would be odd. This library is supplied by gnatdroud-sysroot-x86-23,, > Android sysroots for C/Ada cross-compiler > > This does not make sense. > > You checks for conflicts have to become BEFORE any changes are made. > > > On Sat, Sep 19, 2020, 2:23 PM Nelson H. F. Beebe <[email protected]> > wrote: > > > Jonathan Engwall <[email protected]> asks: > > > > >> I need to know how to find the package that supply shared libraries, > by > > the > > >> libraries the packages provide. > > > > I strongly recommend always installing the pkg-provides package on > > FreeBSD and its derivatives, and on DragonFlyBSD. > > > > After installation pkg-provides, a three lines in > > /usr/local/etc/pkg.conf need tweaking to look like this: > > > > PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; > > PKG_ENABLE_PLUGINS = true; > > PLUGINS [ provides ] ; > > > > You then need to run (just once): > > > > # pkg provides -u > > > > From then on, an index of providing packages is maintained for all > > currently, and subsequently, installed files. > > > > You can then find the package that supplies a particular file like this: > > > > % pkg provides /usr/local/bin/gmake > > Name : gmake-4.3_2 > > Desc : GNU version of 'make' utility > > Repo : Avalon > > Filename: usr/local/bin/gmake > > > > > > > ------------------------------------------------------------------------------- > > - Nelson H. F. Beebe Tel: +1 801 581 5254 > > - > > - University of Utah FAX: +1 801 581 4148 > > - > > - Department of Mathematics, 110 LCB Internet e-mail: > > [email protected] - > > - 155 S 1400 E RM 233 [email protected] > > [email protected] - > > - Salt Lake City, UT 84112-0090, USA URL: > > http://www.math.utah.edu/~beebe/ - > > > > > ------------------------------------------------------------------------------- > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.dragonflybsd.org/pipermail/users/attachments/20200919/483fde82/attachment-0001.htm > > > > ------------------------------ > > Message: 4 > Date: Sat, 19 Sep 2020 15:56:23 -0700 > From: Jonathan Engwall <[email protected]> > To: "Nelson H. F. Beebe" <[email protected]> > Cc: DragonFlyBSD Users <[email protected]> > Subject: Re: Missing libraries > Message-ID: > <CAP=T6ZNoShaKByFVEaLs=hhUwKMf=eCaQi3w= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > I started installing every browser on the list. Surf browser indicated an > error with gstreamer, so I > installed several gstreamer packages. 'pkg provides' was helpful as well. I > include two scripts. Finding > the a source for the missing lib was too difficult so I tracked down the > package that was doing all the > complaining: mesa-libs-19.0.8_2 and I removed that! > Now the complaint is from libvdpau-1.4, but I have my desktop back and > Firefox running, so I think > this is fine. > These scripts are updated. > > On Sat, Sep 19, 2020 at 3:03 PM Jonathan Engwall < > [email protected]> wrote: > > > Thank you > > > > Finding libc.so.7 was impossible. I found libc.so ... could there be a > > connection? > > > > That would be odd. This library is supplied by gnatdroud-sysroot-x86-23,, > > Android sysroots for C/Ada cross-compiler > > > > This does not make sense. > > > > You checks for conflicts have to become BEFORE any changes are made. > > > > > > On Sat, Sep 19, 2020, 2:23 PM Nelson H. F. Beebe <[email protected]> > > wrote: > > > >> Jonathan Engwall <[email protected]> asks: > >> > >> >> I need to know how to find the package that supply shared libraries, > >> by the > >> >> libraries the packages provide. > >> > >> I strongly recommend always installing the pkg-provides package on > >> FreeBSD and its derivatives, and on DragonFlyBSD. > >> > >> After installation pkg-provides, a three lines in > >> /usr/local/etc/pkg.conf need tweaking to look like this: > >> > >> PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; > >> PKG_ENABLE_PLUGINS = true; > >> PLUGINS [ provides ] ; > >> > >> You then need to run (just once): > >> > >> # pkg provides -u > >> > >> From then on, an index of providing packages is maintained for all > >> currently, and subsequently, installed files. > >> > >> You can then find the package that supplies a particular file like this: > >> > >> % pkg provides /usr/local/bin/gmake > >> Name : gmake-4.3_2 > >> Desc : GNU version of 'make' utility > >> Repo : Avalon > >> Filename: usr/local/bin/gmake > >> > >> > >> > ------------------------------------------------------------------------------- > >> - Nelson H. F. Beebe Tel: +1 801 581 5254 > >> - > >> - University of Utah FAX: +1 801 581 4148 > >> - > >> - Department of Mathematics, 110 LCB Internet e-mail: > >> [email protected] - > >> - 155 S 1400 E RM 233 [email protected] > >> [email protected] - > >> - Salt Lake City, UT 84112-0090, USA URL: > >> http://www.math.utah.edu/~beebe/ - > >> > >> > ------------------------------------------------------------------------------- > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.dragonflybsd.org/pipermail/users/attachments/20200919/8d6af798/attachment.htm > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: qt-make.csh > Type: application/x-csh > Size: 1704 bytes > Desc: not available > URL: < > http://lists.dragonflybsd.org/pipermail/users/attachments/20200919/8d6af798/attachment.csh > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: xfce4.csh > Type: application/x-csh > Size: 1495 bytes > Desc: not available > URL: < > http://lists.dragonflybsd.org/pipermail/users/attachments/20200919/8d6af798/attachment-0001.csh > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Users mailing list > [email protected] > http://lists.dragonflybsd.org/mailman/listinfo/users > > > ------------------------------ > > End of Users Digest, Vol 97, Issue 14 > ************************************* >
