$ pkg contents -o pkg.name,path -a path='*/lib/libXm.so.3' pkg: contents: no matching actions found in the listed packages $ uname -a SunOS openindiana 5.11 illumos-2816291 i86pc i386 i86pc Solaris
I’m running an older 2016 OpenIndiana because I need 32-bit support. > On Mar 25, 2020, at 2:26 AM, Richard L. Hamilton <[email protected]> wrote: > > This works for me (the locate command doesn't show the package, but it does > show where it is). This assumes the file is installed. > root@openindiana:~# locate libXm.so.3 # if updatedb has been run > /usr/dt/lib/libXm.so.3 > /usr/lib/libXm.so.3 > root@openindiana:~# pkg contents -o pkg.name,path -a path='*/lib/libXm.so.3' > PKG.NAME PATH > library/motif usr/dt/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > > If the file is not installed, you have to know the FMRI (full or partial) of > the package: > root@openindiana:~# pkg contents -r -o pkg.name,path -a > path='*/lib/libXm.so.3' motif > PKG.NAME PATH > library/motif usr/dt/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > library/motif usr/lib/libXm.so.3 > > although you may be able to go to the repository in your browser and search > there (haven't tried). > >> On Mar 25, 2020, at 01:49, Nicholas Papadonis <[email protected]> >> wrote: >> >> Also, I'm running OI-hipster-text-20161030.iso because I have an app that >> requires 32-bit support. >> >> Thanks >> >> On Wed, Mar 25, 2020 at 1:47 AM Nicholas Papadonis < >> [email protected]> wrote: >> >>> I'm trying to find which package includes a file as follows: >>> >>> $ pkg search -l -H -o pkg.name libXm.so.3 >>> >>> However no results. >>> >>> Any guidance appreciated. >>> >>> >>> >>> >> _______________________________________________ >> openindiana-discuss mailing list >> [email protected] >> https://openindiana.org/mailman/listinfo/openindiana-discuss >> > > _______________________________________________ > openindiana-discuss mailing list > [email protected] > https://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
