php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37269 error while compiling: dlopen
Submitted: 2006-05-02 04:09 UTC Modified: 2006-05-11 13:05 UTC
From: lin dot dave at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.3 OS: Red Hat Enterprise 3 (2.4.21)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lin dot dave at gmail dot com
New email:
PHP Version: OS:

 

 [2006-05-02 04:09 UTC] 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    

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-11 13:05 UTC] lin dot dave at gmail dot com
nevermind...
I'm having glibc issues
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 03:01:28 2024 UTC