Danek Duvall wrote: > On Thu, Jan 03, 2008 at 02:36:43PM -0500, Jim Connors wrote: > >> Thanks Danek for your explanation. I would imagine handling dependencies >> for primordial packages is quite tricky. > > Yeah. It's not clear to me that there can be a good solution for this. > >> Just curious, with regards to ELF files, is it currently possible recognize >> library dependencies that are dynamic (i.e. those accessed via dlopen())? > > Nope. Just what's in DT_NEEDED, including lazy dependencies, which may or > may not be correct.
Determining dlopened dependencies is near impossible because in some cases it can depend on what is in a number of config files. For example lets take sshd: It will cause dlopen of modules listed in pam.conf, crypt.conf, gss/mech, nsswitch.conf, pkcs11.conf and that is just what I can list off the top of my head for a default config. There is also the added complexity of $HWCAP and $PLATFORM variants of some libs - though I hope those get packaged with the main lib now. -- Darren J Moffat _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
