r590 Posted February 11, 2008 Share Posted February 11, 2008 Hi all, I've been attempting to build PHP on Redhat 3 for weeks, and have been unable to discover the problem. I was wondering if anyone here could help. I am trying to build php 4.3.11, using the following configure options: ./configure --prefix=/users/home/mttt/php4.3 --with-ldap=/users/home/mttt/openldap --enable-so --libdir=/usr/lib I get the following error when executing 'make': ext/standard/dl.o(.text+0x143): In function `php_dl': /users/home/mttt/php-4.3.11/ext/standard/dl.c:141: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc vers ion used for linking ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam': /users/home/mttt/php-4.3.11/ext/mysql/libmysql/my_tempnam.c:115: the use of `tem pnam' is dangerous, better use `mkstemp' /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/cgi/php] Error 1 Quote Link to comment https://forums.phpfreaks.com/topic/90559-building-php-with-ldap-support-on-rhel3/ Share on other sites More sharing options...
r590 Posted February 29, 2008 Author Share Posted February 29, 2008 Any ideas? I took out the LDAP flags and am still getting the same error :-( Quote Link to comment https://forums.phpfreaks.com/topic/90559-building-php-with-ldap-support-on-rhel3/#findComment-480338 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 Any particular reason your building from source on redhat? There should be packages that handle this. Quote Link to comment https://forums.phpfreaks.com/topic/90559-building-php-with-ldap-support-on-rhel3/#findComment-480615 Share on other sites More sharing options...
r590 Posted March 11, 2008 Author Share Posted March 11, 2008 I need to build it from source, because I need the PHP with the GD library support. There is no RPM for php-gd for RHEL3 that I could find. Do you know of one? Quote Link to comment https://forums.phpfreaks.com/topic/90559-building-php-with-ldap-support-on-rhel3/#findComment-489962 Share on other sites More sharing options...
trq Posted March 12, 2008 Share Posted March 12, 2008 Do you know of one? No, I'm a Debian user. You could simply compile gd as a dynamically loaded extension. Take a look at.... man phpize Quote Link to comment https://forums.phpfreaks.com/topic/90559-building-php-with-ldap-support-on-rhel3/#findComment-490389 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.