|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-06-12 05:57 UTC] gunter at grodotzki dot co dot za
Description: ------------ What used to work perfectly in Debian Squeeze does not work anymore in Debian Wheezy. # dpkg -L libxpm-dev /. /usr /usr/share /usr/share/doc /usr/share/doc/libxpm-dev /usr/share/doc/libxpm-dev/copyright /usr/share/doc/libxpm-dev/xpm.PS.gz /usr/share/doc/libxpm-dev/changelog.Debian.gz /usr/share/doc/libxpm-dev/changelog.gz /usr/include /usr/include/X11 /usr/include/X11/xpm.h /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/pkgconfig /usr/lib/x86_64-linux-gnu/pkgconfig/xpm.pc /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/x86_64-linux-gnu/libXpm.so # ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-cgi --with-config-file-path=/etc/php5/cli --with-libxml-dir --with-openssl --with- kerberos --with-pcre-regex --with-zlib --with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-vpx-dir --with-jpeg-dir --with-png- dir --with-xpm-dir --with-freetype-dir --enable-gd-native-ttf --enable-gd-jis- conv --with-gettext --with-imap --with-kerberos --with-imap-ssl --enable-intl -- enable-bcmath --with-icu-dir=/usr --enable-mbstring --with-mcrypt --with-mysql - -with-mysqli --with-pdo-mysql --enable-shmop --enable-soap --enable-sockets -- with-xmlrpc --with-xsl --enable-zip --with-iconv-dir --with-pear --with-tidy -- enable-pcntl Last lines of configure: checking for GD support... yes checking for the location of libvpx... yes checking for the location of libjpeg... yes checking for the location of libpng... yes checking for the location of libXpm... yes checking for FreeType 2... yes checking for T1lib support... no checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... yes checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for vpx_codec_destroy in -lvpx... yes checking for png_write_image in -lpng... yes configure: error: libXpm.(a|so) not found. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 01:00:01 2025 UTC |
Ran into this today. Running a strace on ./configure, you'll see that configure is looking for libxpm in: stat("/usr/lib/x86_64-linux-gnu/lib64/libXpm.so", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/lib/x86_64-linux-gnu/lib64/libXpm.a", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/local/lib64/libXpm.so", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/local/lib64/libXpm.a", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/X11R6/lib64/libXpm.so", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/X11R6/lib64/libXpm.a", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/libXpm.so", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/libXpm.a", 0x7fff2fb9bcc0) = -1 ENOENT (No such file or directory) but apt installs it into: /usr/lib/x86_64-linux-gnu/ workaround: mkdir -p /usr/lib/x86_64-linux-gnu/lib64/ sudo ln -s /usr/lib/x86_64-linux-gnu/libXpm.so /usr/lib/x86_64-linux-gnu/lib64/