Bug#418070: [php-maint] Bug#418070: Acknowledgement (php5-gd: Does notload gd module with php get error '...undefined symbol:gdImagePngCtxEx...'.)

sean finney seanius at debian.org
Wed Apr 11 10:35:34 UTC 2007

hi fred,

On Tue, 2007-04-10 at 17:07 +0200, Fred Suthers wrote:
> 15:34:15  > locate libgd
> /etc/libgda
> /etc/libgda/config
> /local/lib/libgd.a
> /local/lib/libgd.la
> /local/lib/libgd.so
> /local/lib/libgd.so.2
> /local/lib/libgd.so.2.0.0

yeah, that'd be it.

> 15:35:19 > ldd /usr/lib/php5/20060613+lfs/gd.so
>         linux-gate.so.1 =>  (0xffffe000)
>         libgd.so.2 => /usr/local/lib/libgd.so.2 (0xb7ec7000)
>         libt1.so.5 => /usr/lib/libt1.so.5 (0xb7e71000)
>         libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0xb7e04000)
>         libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d18000)
>         libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7d08000)
>         libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0xb7ce5000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb7cd1000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7cb0000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7b7e000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7b59000)
>         libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b56000)
>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7b51000)
>         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b4d000)
>         /lib/ld-linux.so.2 (0x80000000)
> Does this mean it is using a custom version of GD?  If so how do I change it 
> to the package version?

it means that you have a custom version of gd installed in your library
search path, and this version is being found before the debian version.
i don't know if you have it there for a reason... if you don't then the
fix is simple and you can just remove the custom libraries (which look
to be older anyway).  

if you do need the libraries, then you'll need to fiddle around with
ld.so.conf/LD_PRELOAD/LD_LIBRARY_PATH in some way so that the programs
the need the old version don't interfere with the programs that need the
new version.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070411/0bed3387/attachment.pgp

More information about the pkg-php-maint mailing list