From:             gquiring at gmail dot com
Operating system: Solaris 9 (Sun hardware)
PHP version:      5.0.4
PHP Bug Type:     *Compile Issues
Bug description:  Informix support not working

Description:
------------
I have read the older bug reports on this issue.  I have tried all
suggestions and it still produces the same error that everyone else has
reported:

Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd:
fatal: relocation error: file /u/informix/lib/esql/libifsql.so: symbol
ifx_checkAPI: referenced symbol not found

Suggested workaround that does not work:
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 

My configure line:
./configure '--with-informix=/u/informix'
'--with-apxs=/usr/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl' '--enable-soap'
'--with-dom' '--with-gettext' '--with-ncurses' '--with-iconv'
'--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--without-oci8' '--with-kerberos' '--enable-memory-limit'
'--enable-bcmath' '--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'




-- 
Edit bug report at http://bugs.php.net/?id=33231&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33231&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33231&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33231&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33231&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33231&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33231&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33231&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33231&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33231&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33231&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33231&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33231&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33231&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33231&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33231&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33231&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33231&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33231&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33231&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33231&r=mysqlcfg

Reply via email to