severity 362666 important
tag 362666 + pending confirmed upstream
stop
Hi,
On Fri, Apr 14, 2006, Wesley J. Landaker wrote:
> libmms doesn't seem to depend on anything in particular:
> $ ldd /usr/lib/libmms.so.0.0.0
> libc.so.6 => /lib/libc.so.6 (0x00002ae123713000)
> /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
> $ apt-cache show libmms0 | grep Depends
> Depends: libc6 (>= 2.3.5-1)
> However, it actually has a hidden dependancy on glib
[...]
> Looks like libmms actually depends on glib, meaning it needs to be both
> in the package depends, and in the library dependencies when built, so
> the linker can resolve programs built on it.
I agree with your analysis, I suspect a mistake in the use of
PKG_CHECK_MODULES as src/Makefile.am uses a mysterious $(PKG_LIBS)
which is nowhere to be found. I just tried replacing PKG_LIBS with
GLIB_LIBS and it seems to address this problem:
bee% objdump -x debian/tmp/usr/lib/libmms.so | grep NEEDED
NEEDED libglib-2.0.so.0
NEEDED libc.so.6
I'll do an upload addressing this bug soonish.
I've lowered the severity of the bug because if you rely on pkg-config
to provide the linker flags, you'll end up with binaries linked to
glib, and the only package in Debian build-depending on libmms-dev is
gst-plugins0.8 which uses pkg-config to link against libmms.
Bye,
--
Loïc Minier <[EMAIL PROTECTED]>
"You can gtk_main_run, but you can't gtk_widget_hide." --danw, 19-jul-04