Bug#800473: gstreamer0.10-plugins-bad: libgme.so.0.6.0 not linked to zlib when built

dma dma+debianbugs at subgraph.com
Tue Sep 29 21:10:18 UTC 2015

Package: gstreamer0.10-plugins-bad
Version: 0.10.23-8.1
Severity: normal

Dear Maintainer,

It appears that the binary libgme.so.0.6.0 was not linked to zlib when it was
built. It consequently fails to load, with the following error output through 

2015/09/29 16:51:17 [iceweasel] (stderr) (gst-plugin-scanner:167): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgme.so': /usr/lib/x86_64-linux-gnu/libgme.so.0: undefined symbol: gzseek

An examination of the ELF shows that zlib is indeed not linked:

	linux-vdso.so.1 (0x000003683ff42000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x000003683f75c000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000003683f45b000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000003683f245000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000003683ee9c000)
	/lib64/ld-linux-x86-64.so.2 (0x000003683fd24000)

I modified the gme/CMakeLists.txt to include directives to explicitly link zlib, and
then rebuilt libgme, and the error went away:

user at host:~/Downloads/game-music-emu-0.6.0/gme$ ldd /usr/lib/x86_64-linux-gnu/libgme.so.0.6.0 
	linux-vdso.so.1 (0x0000039952d02000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x0000039952669000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00000399522ee000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000039951fed000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000039951dd7000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000039951a2e000)
	/lib64/ld-linux-x86-64.so.2 (0x0000039952ae4000)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.7-grsec-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gstreamer0.10-plugins-bad depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  gstreamer0.10-plugins-base                   0.10.36-2
ii  libass5                                      0.12.3-2
ii  libbz2-1.0                                   1.0.6-8
ii  libc6                                        2.19-22
ii  libcairo2                                    1.14.2-2
ii  libcdaudio1                                  0.99.12p2-13+b1
ii  libcurl3-gnutls                              7.44.0-2
ii  libdc1394-22                                 2.2.3-1
ii  libdca0                                      0.0.5-7
ii  libdirectfb-1.2-9                  
ii  libdvdnav4                                   5.0.3-1
ii  libdvdread4                                  5.0.3-1
ii  libfaad2                                     2.8.0~cvs20150510-1
ii  libflite1                                    1.4-release-12
ii  libgcc1                                      1:5.2.1-17
ii  libglib2.0-0                                 2.44.1-1.1
ii  libgme0                                      0.6.0-2
ii  libgsm1                                      1.0.13-4
ii  libgstreamer-plugins-bad0.10-0               0.10.23-8.1
ii  libgstreamer-plugins-base0.10-0              0.10.36-2
ii  libgstreamer0.10-0                           0.10.36-1.5
ii  libjasper1                                   1.900.1-debian1-2.4
ii  libkate1                                     0.4.1-4.1
ii  libmimic0                                    1.0.4-2.3
ii  libmms0                                      0.6.2-4
ii  libmodplug1                                  1:
ii  libmpcdec6                                   2:0.1~r475-1
ii  libofa0                                      0.9.3-10
ii  libopenal1                                   1:1.16.0-3
ii  libopus0                                     1.1-2
ii  liborc-0.4-0                                 1:0.4.24-1
ii  libpng12-0                                   1.2.50-2+b2
ii  librsvg2-2                                   2.40.10-1
ii  librtmp1                                     2.4+20150115.gita107cef-1+b2
ii  libschroedinger-1.0-0                        1.0.11-2.1
ii  libslv2-9                                    0.6.6+dfsg1-3
ii  libsndfile1                                  1.0.25-9.1
ii  libsoundtouch0                               1.9.0-1
ii  libspandsp2                                  0.0.6-2.1
ii  libssl1.0.0                                  1.0.2d-1
ii  libstdc++6                                   5.2.1-17
ii  libvo-aacenc0                                0.1.3-1
ii  libvo-amrwbenc0                              0.1.3-1
ii  libvpx2                                      1.4.0-4
ii  libwildmidi1                                 0.3.8-2
ii  libx11-6                                     2:1.6.3-1
ii  libxml2                                      2.9.2+zdfsg1-4
ii  libxvidcore4                                 2:1.3.4-1
ii  libzbar0                                     0.10+doc-10
ii  libzvbi0                                     0.2.35-9

gstreamer0.10-plugins-bad recommends no packages.

Versions of packages gstreamer0.10-plugins-bad suggests:
pn  frei0r-plugins  <none>

-- no debconf information

More information about the pkg-gstreamer-maintainers mailing list