On Tue, Oct 16, 2007 at 09:36:34PM +0300, David Juran wrote: > > On Tue, 2007-10-16 at 20:08 +0200, Francesco Romani wrote: > > On Tue, 2007-10-16 at 19:41 +0300, David Juran wrote: > > > > > > I've noticed that in your configure.in, you are adding libpng to > > > LIBQUICKTIME_EXTRA_LIBS. As far as I know this should not be necessary > > > and I think it could be dropped (see attached trivial patch) in order to > > > get rid of this superfluous dependency. > > > > I'm not confident with libquicktime, but on my dev box (debian sid) > > looks like libquicktime still depends from libpng: > > Hmmm, looking closer at what I have installed, libquicktime > contains /usr/lib64/libquicktime/lqt_png.so which depends on libpng. I > admit I don't know much about libquiktime either but I guess this is > something that can be dl:opened by the main library and if linking with > -lquicktime there should be no need to add -lpng. On the other hand, > since libquicktime indeed does depend on libpng, it makes it an implicit > dependency so I guess my point is quite moot...
ultimately, lqt_png.so should probably be linked against libpng, but some platforms may not allow linking shared libs into modules, or may not be able to resolve recursive inter-library dependencies at run time (a needs b needs c needs d). this should really be an issue for 'lqt-config --libs' or 'pkg-config --libs libquicktime', and whoever builds the libquicktime package, to make sure those commands give the needed linking arguments. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org