ID:               37269
 User updated by:  lin dot dave at gmail dot com
 Reported By:      lin dot dave at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Red Hat Enterprise 3 (2.4.21)
 PHP Version:      5.1.3
 New Comment:

nevermind...
I'm having glibc issues


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

[2006-05-02 04:09:43] lin dot dave at gmail dot com

Description:
------------
looks like some standard extensions were compiled with some static
linking to glibc shared libraries.


php-5.1.3/ext/standard/dl.c:140: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking

Reproduce code:
---------------
(here's my configure file:)
./configure \
--with-mysql=/usr/local/mysql \
--with-apxs2=/etc/httpd/bin/apxs \
--enable-track-vars \
--with-xmlrpc \
--enable-soap \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/local  \
--with-gd \
--with-ttf \
--with-freetype-dir=/usr \
--enable-force-cgi-redirect \
--with-gettext \
--with-zlib \
--with-libxml-dir=/usr/local \
&& make && make install 1> configure.messages 

Expected result:
----------------
It should complete without errors

Actual result:
--------------
...Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo
Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo
Zend/zend_objects.lo Zend/zend_object_handlers.lo
Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/php_cli_readline.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lrt
-lmysqlclient -lfreetype -lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl
-lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
-lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt  -o
sapi/cli/php
ext/standard/.libs/dl.o(.text+0x1c8): In function `php_dl':
/usr/local/src/php-5.1.3/ext/standard/dl.c:140: Using 'dlopen' in
statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libdl.a(dlsym.o)(.text+0x23):
In function `dlsym':
: undefined reference to `_dl_load_lock'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libdl.a(dlsym.o)(.text+0x4d):
In function `dlsym':
: undefined reference to `_dl_load_lock'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1    


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


-- 
Edit this bug report at http://bugs.php.net/?id=37269&edit=1

Reply via email to