#17702 [Dup->Bgs]: need to use -taso with Netscape LDAP libs

From: Date: Fri, 18 Oct 2002 21:17:04 +0000
Subject: #17702 [Dup->Bgs]: need to use -taso with Netscape LDAP libs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22794@lists.php.net to get a copy of this message
ID: 17702 Updated by: sniper@php.net Reported By: long@kestrel.cc.ukans.edu -Status: Duplicate +Status: Bogus Bug Type: Compile Failure Operating System: Compaq Tru64 4.0F PK3 PHP Version: 4.3.0-dev New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. Only _ONE_ report per bug please. Previous Comments: ------------------------------------------------------------------------ [2002-10-16 16:04:21] iliaa@php.net Dupe of bug #1298 ------------------------------------------------------------------------ [2002-08-20 21:33:30] sniper@php.net ------------------------------------------------------------------------ [2002-08-20 17:08:53] long@kestrel.cc.ukans.edu When I configure as: env CFLAGS="-std1 -taso" CC=cc CXX=cxx ./configure --with-openssl --enable-bcmath --with-ndbm --with-dbm --enable-dbase --enable-filepro --enable-ftp --with-gd --with-ttf --with-java=/usr/opt/java130 --with-mysql --with-oci8 --with-oracle --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-wddx --enable-dba=shared --enable-calendar --enable-exif --enable-discard-path --enable-dbx --enable-ctype --with-hyperwave --enable-mailparse --enable-mbstring --enable-mbstr-enc-trans --enable-memory-limit --with-ldap=/usr/local/ldap Then in my config.log I get: configure:65780: checking for standard DES crypt configure:65806: cc -o conftest -std1 -taso -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/opt/java130/jre/lib/alpha/classic -L/usr/opt/java130/jre/lib/alpha/classic -Wl,-rpath,/usr/opt/java130/jre/lib/alpha/native_threads -L/usr/opt/java130/jre/lib/alpha/native_threads -Wl,-rpath,/usr/opt/java130/jre/lib/alpha -L/usr/opt/java130/jre/lib/alpha -Wl,-rpath,/usr/local/ldap/lib -L/usr/local/ldap/lib -Wl,-rpath,/home/oracle/u01/app/oracle/product/8.0.5/lib -L/home/oracle/u01/app/oracle/product/8.0.5/lib conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lpsa -lcore4 -lnlsrtl3 -lldapssl30 -ljava -lgd -lttf -lssl -lcrypto -lm -lexc -lmld -lrt -laio -lm -lexc -lmld -lrt -laio -lm 1>&5 configure: failed program was: #line 65791 "configure" #include "confdefs.h" #if HAVE_CRYPT_H #include <crypt.h> #endif main() { #if HAVE_CRYPT exit (strcmp((char *)crypt("rasmuslerdorf","rl"),"rl.3StKT.4T8M")); #else exit(0); #endif } and the output to the screen is: checking for standard DES crypt... 30302:./conftest: /sbin/loader: Fatal Error: cannot map libldapssl30.so no It is failing because the Compaq C compiler does not like having separate -Wl,-rpath components. It wants all the rpaths combined into a single unit, e.g.: -Wl,-rpath,/usr/local/ssl/lib,/usr/local/lib,-rpath,/usr/opt/java130/jre/lib/alpha/classic,/usr/opt/java130/jre/lib/alpha/native_threads,/usr/opt/java130/jre/lib/alpha,/usr/local/ldap/lib,/home/oracle/u01/app/oracle/product/8.0.5/lib ------------------------------------------------------------------------ [2002-08-20 16:19:24] long@kestrel.cc.ukans.edu As requested in bug 13814 I'd like to report that php4-200208201200 still won't compile the oci8 extension without using -std1 in the CFLAGS when the Compaq C V5.9-010 compiler is used with the Oracle 8.0.5 client. ------------------------------------------------------------------------ [2002-07-07 21:23:59] sniper@php.net Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz Some related bugs were fixed 2 days ago. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17702 -- Edit this bug report at http://bugs.php.net/?id=17702&edit=1

« previous php.bugs (#22794) next »