Hi! I've spent the last three days on getting php_imlib to work. Problem is that I failed ;) When I try to compile php_imlib as a module (php compiled without the "--with-imlib" option), I get the following error output in my browser viewing the php-page: "Warning: Invalid library (maybe not a PHP library) 'imlib.so'". That's ok, since I want php_imlib compiled into php anyway ;) But when php_imlib is compiled into php, the following error pops up when trying to start apache: "Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: imlib_image_tile_vertical" Since I consider myself a newbie, I'll try to tell you what I did: I use SuSE 7.2 which has apache 1.3.19 installed. I downloaded php 4.0.6 sources, imlib2-1.0.3 sources (and edb) and php_imlib-0.3 sources. libjpeg, libpng and freetype2 and freetype 1.3.1 are installed. I Extracted edb-1.0.2.tar.gz, did a "./configure --prefix=/usr", "make" and "make install". Seems to have worked. Extracted imlib2-1.0.3.tar.gz, did a "./configure --prefix=/usr", "make" and "make install". The only critical thing I got was: >From configure: "configure: warning: *** Native GIF support will not be built (GIF library not found) ***" >From make: "dynamic_filters.c:120: warning: static declaration for `__imlib_dynamic_filters_deinit' follows non-static" I Extracted php-4.0.6.tar.gz, and extracted php_imlib into the ext-directory of php, so that there now is php-4.0.6/ext/imlib. Then touch'ed php-4.0.6/ext/imlib/config.m4. I Executed buildconf in php-4.0.6. That said: buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.3.5 (ok) WARNING: automake and libtool are installed in different directories. This may cause aclocal to fail. continuing anyway rebuilding Makefile templates rebuilding configure rebuilding main/php_config.h.in After that, I had to patch the configure script, otherwise compiling will fail (got that from the php-install mailing-list): In line 23235, I replaced 'LIBS="-l $LIBS"' with 'LIBS="$LIBS"'. Now my php - configure-line: "./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --enabl e-calendar --enable-ftp --with-gd=/usr --with-png-dir=/usr/lib --with-jpeg-d ir=/usr/lib --with-freetype-dir=/usr/lib --with-mysql=/usr --with-imlib=/usr /lib --with-zlib=/usr --prefix=/usr". That worked flawlessly. Then followed the standard make and make install. Make gave one warning while compiling: "zlib_fopen_wrapper.c:59: warning: initialization from incompatible pointer type". As I could see from the php-configure-output, imlib2 seems to have been compiled into php ("checking for imlib2 support... yes", "creating ext/imlib/Makefile"). Why does it say "/usr/lib/apache/libphp4.so: undefined symbol: imlib_image_tile_vertical" when I try to start apache? Please help me on this, I don't know what to do... Thank You, ben adler -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]