ID:               33231
 User updated by:  gquiring at gmail dot com
 Reported By:      gquiring at gmail dot com
 Status:           Bogus
 Bug Type:         Informix related
 Operating System: Solaris 9 (Sun hardware)
 PHP Version:      5.0.4
 New Comment:

I disagree, the makefile is not correctly linking in the library to
make the Informix calls work.  It is a bug in the compiling process.


Previous Comments:
------------------------------------------------------------------------

[2005-06-03 16:27:54] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2005-06-03 14:23:58] gquiring at gmail dot com

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 this bug report at http://bugs.php.net/?id=33231&edit=1

Reply via email to