On Monday 03 August 2009 14:31:23 Matthew Seaman wrote:
> There was a question about apps that use dlopen() to load libraries, 
> rather than letting ld.so do the work for them.  I don't think that
> using ldd(1) will pick up any app that does that, but then again I 
> don't know if this is a widespread practice, and if it is, whether
> there is any simple way to pick out packages that need reinstallation
> because of it other than by using manually defined LIB_DEPENDS
> settings in port Makefiles.

The most common use case for dlopen are plugins and there it's the app
that controls the API, not the lib, so an update of the plugin without
recompiling the app shouldn't be a problem.

Use of dlopen to load normal libraries is rare, but an example is Wine.
IMHO it's a bug if such libs aren't listed in LIB_DEPENDS. They are
direct dependencies.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to