|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-09 05:55 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 06:00:01 2025 UTC |
Hello PHP boys. There's a problem in compiling PHP with both Oracle oci8 and mm support. Here is my configuration: ORACLE_HOME=/usr/local/oraclient/8.1.6 \ ./configure \ --prefix=/usr/local \ --with-mysql=/usr \ --with-oci8=/usr/local/oraclient/8.1.6 \ --with-ldap \ --with-dbase \ --with-gdbm=/usr \ --with-imap=shared \ --with-imap-ssl \ --with-kerberos \ --with-gd=shared \ --with-ttf \ --with-jpeg-dir \ --enable-trans-sid \ --disable-debug \ --enable-sysvshm --enable-sysvsem \ --with-config-file-path=/usr/local/apache/conf \ --with-apache=/usr/src/apache \ --with-zlib \ --with-mm Make fails with: /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2 -rdynamic... ... ext/session/mod_mm.o: In function `hash_split': /usr/src/php-4.3.1/ext/session/mod_mm.c:96: undefined reference to `mm_calloc' /usr/src/php-4.3.1/ext/session/mod_mm.c:111: undefined reference to `mm_free' ext/session/mod_mm.o: In function `ps_sd_new': /usr/src/php-4.3.1/ext/session/mod_mm.c:125: undefined reference to `mm_malloc' ... Problem is apparently in library libmm.a, because in $ORACLE_HOME/lib is also some libmm.a. If I renamed $ORACLE_HOME/lib/libmm.a to a different name, compilation succeeded. If I put -L/usr/lib before -L$ORACLE_HOME/lib into Makefile variables *_LDFLAGS it also worked. Is there any clean solution? Regards, Martin Horak