|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-13 13:06 UTC] achied at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ I compile with rpmbuild -bb php.spec Version csdk: 2.90 UC3 Apache Version: Apache/2.0.52 (Red Hat) Compilation from sources is ok, but when apache2 restart, the log shows: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/informix.so' - /opt/informix/lib/esql/libifos.so: undefined symbol: ifx_checkAPI in Unknown on line 0 I try to compile only the informix module with: phpize (in ext/informix) ./configure make compile ok and copy informix.so to /usr/lib/php4 Restart apache and same problem Reproduce code: --------------- Part of spec file... INFORMIXDIR=/opt/informix; export INFORMIXDIR IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql" IFX_INCDIR="$INFORMIXDIR/incl/esql" IFX_LIBS="$INFORMIXDIR/lib/esql/libifsql.a \ $INFORMIXDIR/lib/libifasf.a \ $INFORMIXDIR/lib/esql/libifgen.a \ $INFORMIXDIR/lib/esql/libifos.a \ $INFORMIXDIR/lib/esql/libifgls.a \ -lgen -lgls -lm -ldl $INFORMIXDIR/lib/esql/checkapi.o \ $INFORMIXDIR/lib/esql/libifglx.a" export IFX_LIBDIR IFX_INCDIR IFX_LIBS %configure \ --cache-file=../config.cache \ --with-config-file-path=%{_sysconfdir} \ --with-config-file-scan-dir=%{_sysconfdir}/php.d \ --enable-force-cgi-redirect \ --disable-debug \ --enable-pic \ --disable-rpath \ --enable-inline-optimization \ --with-bz2 \ --with-db4=%{_prefix} \ --with-curl \ --with-exec-dir=%{_bindir} \ --with-freetype-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-gd=shared \ --enable-gd-native-ttf \ --without-gdbm \ --with-gettext \ --with-ncurses=shared \ --with-gmp \ --with-iconv \ --with-jpeg-dir=%{_prefix} \ --with-openssl \ --with-png \ --with-pspell \ --with-xml \ --with-expat-dir=%{_prefix} \ --with-dom=shared,%{_prefix} \ --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \ --with-xmlrpc=shared \ --with-zlib \ --with-zlib \ --with-layout=GNU \ --enable-bcmath \ --enable-exif \ --enable-ftp \ --enable-magic-quotes \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --with-pear=/usr/share/pear \ --with-imap=shared --with-imap-ssl \ --with-kerberos } \ --with-ldap=shared \ --with-mysql=shared,%{_prefix} \ --with-oracle=shared,/home/orabd/aplicbd/orabin/product/9.2.0/ \ --with-informix=shared,/opt/informix \ --with-pgsql=shared \ --with-snmp=shared,%{_prefix} \ --with-snmp=shared \ --enable-ucd-snmp-hack \ --with-unixODBC=shared,%{_prefix} \ --enable-memory-limit \ --enable-shmop \ --enable-calendar \ --enable-dbx \ --enable-dio \ --enable-mbstring=shared --enable-mbstr-enc-trans \ --enable-mbregex \ --with-mime-magic=%{_datadir}/magic.mime } \ --with-pic \ $* || tail -300 config.log make %{?_smp_mflags} } # Build standalone /usr/bin/php pushd build-cgi build --enable-force-cgi-redirect popd # Build Apache module pushd build-apache build --with-apxs2=%{_sbindir}/apxs } popd Actual result: -------------- PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/informix.so' - /opt/informix/lib/esql/libifos.so: undefined symbol: ifx_checkAPI in Unknown on line 0