php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33231 Informix support not working
Submitted: 2005-06-03 14:23 UTC Modified: 2005-06-03 16:36 UTC
From: gquiring at gmail dot com Assigned:
Status: Not a bug Package: Informix related
PHP Version: 5.0.4 OS: Solaris 9 (Sun hardware)
Private report: No CVE-ID: None
 [2005-06-03 14:23 UTC] 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'




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-03 16:27 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 00:01:28 2024 UTC