PHP 4.0 Bug #7889 Updated: symbol getsesenv: referenced symbol not found

From: Date: Mon, 20 Nov 2000 16:04:46 +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-38622@lists.php.net to get a copy of this message
ID: 7889 User Update by: thomas@iconmedialab.dk Old-Status: Feedback Status: Open Bug Type: Apache related Description: symbol getsesenv: referenced symbol not found 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 Previous Comments: --------------------------------------------------------------------------- [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 --------------------------------------------------------------------------- [2000-11-20 06:28:40] thomas@iconmedialab.dk Compiling PHP as an Apache DSO. Apache configured with ./configure --prefix=/usr/local --enable-module=most --enable-shared=max. PHP configured with: ./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 When I do apachectl configtest I get: Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/libphp4.so: symbol getsesenv: referenced symbol not found Where is this getsesenv supposed to be? ldd says: # ldd /usr/local/apache/libexec/libphp4.so libpam.so.1 => /usr/lib/libpam.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmcrypt.so.4 => /usr/local/lib/libmcrypt.so.4 libltdl.so.0 => /usr/local/lib/libltdl.so.0 libttf.so.2 => /usr/local/lib/libttf.so.2 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libpng.so.2 => /usr/local/lib/libpng.so.2 libresolv.so.2 => /usr/lib/libresolv.so.2 libm.so.1 => /usr/lib/libm.so.1 libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libc.so.1 => /usr/lib/libc.so.1 libintl.so.1 => /usr/lib/libintl.so.1 libgen.so.1 => /usr/lib/libgen.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1 Hope you can help me Regards, Thomas Olsen --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7889

« previous php.dev (#38622) next »