[Mediawiki-l] help with mediawiki in chrooted env and GD library

James Miller jimm at simutronics.com
Thu Dec 15 22:30:50 UTC 2005


Hello,

I hope this request for help isn't too 'off-list'.  I have setup a LAMP
server in a chrooted environment and mediawiki (latest release) is working
except it can not find the GD libraries (which I have in the chrooted
environment).

/jail/www/usr/lib/libgd.a
/jail/www/usr/lib/libgd.la
/jail/www/usr/lib/libgd.so.2.0.0
/jail/www/usr/lib/libgd.so -> libgd.so.2.0.0
/jail/www/usr/lib/libgd.so.2 -> libgd.so.2.0.0

/jail/www/usr/lib/libjpeg.so.62.0.0
/jail/www/usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0

/jail/www/usr/lib/libpng12.so.0.1.2.8
/jail/www/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
/jail/www/usr/lib/libpng.so -> libpng12.so.0.1.2.8
/jail/www/usr/lib/libpng.so.3 -> libpng12.so.0.1.2.8

(all of these were taken from /usr/lib)



I was hoping someone might have an idea as to what I'm doing wrong.

Here's my configure line for php-4.4.1
./configure --with-zlib --with-jpeg --with-png --with-gd \
--with-mysql=/usr/local/mysql --with-apache=../apache_1.3.34 \
--enable-safe-mode

Here's my configure line for apache_1.3.34
./configure --prefix=/usr/local/apache --disable-module=all \
--server-uid=apache --server-gid=apache --enable-module=access \
--enable-module=log_config --enable-module=dir \
--enable-module=mime --enable-module=auth \
--activate-module=src/modules/extra/mod_security \
--activate-module=src/modules/php4/libphp4.a


MediaWiki 1.5.3 installation
Checking environment...
PHP 4.4.1: ok
PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
Have XML / Latin1-UTF-8 conversion support.
PHP is configured with no memory_limit.
Have zlib support; enabling output compression.
Neither Turck MMCache nor eAccelerator are installed, can't use object
caching functions
Couldn't find GD library or ImageMagick; image thumbnailing disabled.
Installation directory: /www/wiki
Script URI path: /wiki
Trying to connect to MySQL on localhost as root...
Connected as root (automatic)
Connected to 4.1.16-log; enabling MySQL 4 enhancements
Database wikidb exists
There are already MediaWiki tables in this database. Checking if updates are
needed...
DB user account ok


Thanks,
Jim







More information about the MediaWiki-l mailing list