I'm building the imap extension as a shared library on Solaris 9 with gcc 2.95.2 and imap-2004e. I'm running configure as follows:
$ ./configure --disable-all \ --with-imap=shared,/tmp/imap-2004e \ --with-imap-ssl=/opt/local This works fine with php5.0-dev as of a few minutes ago. However with php5.1-dev (also, as of a few minutes ago) I get errors like this when running make: /bin/sh /tmp/php5-200508221430/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/tmp/php5-200508221430/ext/imap/ -DPHP_ATOM_INC -I/tmp/php5-200508221430/include -I/tmp/php5-200508221430/main -I/tmp/php5-200508221430 -I/tmp/imap-2004e/c-client -I/opt/local/include -I/tmp/php5-200508221430/TSRM -I/tmp/php5-200508221430/Zend -D_POSIX_PTHREAD_SEMANTICS -g -O2 -c /tmp/php5-200508221430/ext/imap/php_imap.c -o ext/imap/php_imap.lo /bin/sh /tmp/php5-200508221430/libtool --silent --preserve-dup-deps --mode=link gcc -DPHP_ATOM_INC -I/tmp/php5-200508221430/include -I/tmp/php5-200508221430/main -I/tmp/php5-200508221430 -I/tmp/imap-2004e/c-client -I/opt/local/include -I/tmp/php5-200508221430/TSRM -I/tmp/php5-200508221430/Zend -D_POSIX_PTHREAD_SEMANTICS -g -O2 -o ext/imap/imap.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/php5-200508221430/modules -L/usr/ucblib -L/opt/gcc2952-28/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 ext/imap/php_imap.lo -R/opt/local/lib -L/opt/local/lib -lssl -lcrypto -R/tmp/imap-2004e/c-client -L/tmp/imap-2004e/c-client -lc-client -lcrypt -lpam Text relocation remains referenced against symbol offset in file <unknown> 0x2a00 /tmp/imap-2004e/c-client/libc-client.a(osdep.o) <unknown> 0x2a04 /tmp/imap-2004e/c-client/libc-client.a(osdep.o) ... setgid 0xadcc /tmp/imap-2004e/c-client/libc-client.a(osdep.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make: *** [ext/imap/imap.la] Error 1 For the full output see: http://www.columbia.edu/~selsky/stuff/php5.1-dev-make.txt I reported this as a PHP bug: http://bugs.php.net/bug.php?id=34163 I was told it was not a PHP bug. But something clearly broke between php5.0 CVS and php5.1 CVS, at least on the Solaris platform. If there's other information I can provide, please let me know. I'd be happy to test anything. Thanks for your time, -- Matt -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php