lib dependency confusion
Jan Stary
hans at stare.cz
Thu Jan 11 07:05:10 UTC 2018
Hi Ryan,
On Jan 10 14:20:21, ryandesign at macports.org wrote:
> On Jan 10, 2018, at 14:03, Jan Stary wrote:
> >
> > $ port installed depends:libressl
> > None of the specified ports are installed.
>
> This result means: of the ports that specify a dependency containing the substring "libressl", you don't have any installed.
OK, what is the right way to ask port(1)
"which of my currently installed ports
do depend on the installed libressl"?
Jan
> I have not looked at the code but it seems to me that at port install time, MacPorts records in the registry for that port its list of dependencies. If a dependency is specified in path: style, and maybe also if it is specified in bin: or lib: style, then the dependency that is recorded is the port that is currently providing the specified file.
>
> So since libressl was the port providing $prefix/lib/libssl.dylib at the time that you installed e.g. lynx, libressl is recorded as a dependency of lynx in your registry.
More information about the macports-users
mailing list