PHP 4.0 Bug #7889 Updated: symbol getsesenv: referenced symbol not found
| From: | sniper@php.net | Date: | Tue, 30 Jan 2001 09:11:59 +0000 |
| Subject: | PHP 4.0 Bug #7889 Updated: symbol getsesenv: referenced symbol not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45328@lists.php.net to get a copy of this message | ||
ID: 7889
Updated by: sniper
Reported By: thomas@iconmedialab.dk
Old-Status: Feedback
Status: Closed
Bug Type: Apache related
Assigned To:
Comments:
No feedback. Considered solved by setting LD_LIBRARY_PATH.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-20 11:15:40] kir@php.net
Could you please check if setting LD_LIBRARY_PATH as I mentioned solves the problem?
---------------------------------------------------------------------------
[2000-11-20 11:04:46] thomas@iconmedialab.dk
I actually allready thought that I had added $INFORMIXDIR/lib to LD_LIBRARY_PATH but it showed out
that I only had added esql and the other subdirs.
Meanwhile I found another solution by combining some other bugreports:
Issue before configure:
IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"
IFX_INCDIR="$INFORMIXDIR/incl/esql"
IFX_LIBS="-lgen -lgls -lm -ldl -lifsql -lifasf
-lifgen -lifos -lifgls -lifglx
$INFORMIXDIR/lib/esql/checkapi.o "
export IFX_LIBDIR IFX_INCDIR IFX_LIBS
create a backup directory in $INFORMIXDIR/lib/esql and move the following files from
$INFORMIXDIR/lib/esql to the backup dir:
libifgen.so libifgls.so libifglx.so libifos.so libifsql.so
This way your sure libtool (or whatever) uses the static .a libs instead.
Maybe an "--enable-informix-static" switch would be great.
Run:
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-mcrypt
--with-mysql=/usr/local/mysql
--enable-versioning --with-gd
--with-ttf --with-jpeg-dir=/usr/local --with-zlib=/usr/local
--enable-ftp --with-config-file-path=/usr/local/apache/conf
--with-informix=/usr/local/bin/informix
---------------------------------------------------------------------------
[2000-11-20 10:58:45] kir@php.net
status->feedback
---------------------------------------------------------------------------
[2000-11-20 10:08:17] kir@php.net
Supposing that getsesenv symbol relates to Informix,
try this before starting Apache:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql
export LD_LIBRARY_PATH
apachectl configtest
Hope, this helps
KIR
---------------------------------------------------------------------------
[2000-11-20 09:53:56] thomas@iconmedialab.dk
orgot to mention that I had issued the following before configure:
IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"
IFX_INCDIR="$INFORMIXDIR/incl/esql"
IFX_LIBS="-lgen -lgls -lm -ldl $INFORMIXDIR/lib/esql/checkapi.o "
export IFX_LIBDIR IFX_INCDIR IFX_LIBS
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=7889