|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-10-24 09:56 UTC] long at kestrel dot cc dot ku dot edu
See bug #8871 for the background on this bug. I'm unable to update that bug due to password issues. Here's my update for that bug: Well, after dinking with the configure script in php4-200110230600 to get it to use -rpath correctly (see bug #8844) I was able to get it to work with the following configure line: env CFLAGS='-taso -std1' CC=cc ./configure --with-openssl --enable-bcmath --with-ndbm --with-dbm --enable-dbase --enable-filepro --enable-ftp --with-ttf --with-java=/usr/opt/java130 --with-ldap=/usr/local/ldap --with-mysql=/usr/local/mysql --with-oci8 --with-oracle --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-wddx --enable-memory-limit --enable-dba=shared --enable-calendar --enable-exif It looks like setting LD is no longer needed as cc is used for linking. -taso is still needed to link with the Netscape LDAP SDK 3.0 libraries as they're only 32-bit (and this is a 64-bit platform). -std1 is needed to compile with the oracle libs when using this particular version of Oracle and C compiler. The other flags I was using were just optional optimization flags, thus not necessary. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 19:00:01 2025 UTC |
php4-200207030600 doesn't quite work. Here is the configure line I tried: env 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-ldap=/usr/local/ldap --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 Here is the problem (from config.log): configure:42279: checking size of char configure:42298: cc -o conftest -g -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 conftest.c -lldapssl30 -ljava -lgd -lttf -lssl -lcrypto -lresolv -lm -lresolv 1>&5 ld: Cannot use 32 bit shared lib 'libldapssl30.so' without -taso option configure: failed program was: #line 42287 "configure" #include "confdefs.h" #include <stdio.h> main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(char)); exit(0); }