Forum Moderators: travelin cat
/usr/bin/ld: warning multiple definitions of symbol _pcre_callout
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_callout in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_callout
/usr/bin/ld: warning multiple definitions of symbol _pcre_config
ext/pcre/pcrelib/pcre_config.o definition of _pcre_config in section (__TEXT,__text)
/usr/local/apache2/bin/httpd definition of _pcre_config
/usr/bin/ld: warning multiple definitions of symbol _pcre_stack_free
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_stack_free in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_stack_free
/usr/bin/ld: warning multiple definitions of symbol _pcre_stack_malloc
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_stack_malloc in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_stack_malloc
/usr/bin/ld: warning multiple definitions of symbol _BN_bin2bn
/usr/local/mysql/lib/libmysqlclient.a(ssl.o) definition of _BN_bin2bn in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libcrypto.dylib(bn_lib.o) definition of _BN_bin2bn
/usr/bin/ld: warning multiple definitions of symbol _SSLv3_client_method
/usr/local/mysql/lib/libmysqlclient.a(ssl.o) definition of _SSLv3_client_method in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libssl.dylib(s3_clnt.o) definition of _SSLv3_client_method
/usr/bin/ld: warning multiple definitions of symbol _TLSv1_client_method
/usr/local/mysql/lib/libmysqlclient.a(ssl.o) definition of _TLSv1_client_method in section (__TEXT,__text)
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libssl.dylib(t1_clnt.o) definition of _TLSv1_client_method
/usr/bin/ld: multiple definitions of symbol _CRYPTO_add_lock
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libcrypto.dylib(cryptlib.o) definition of _CRYPTO_add_lock
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-misc.o) definition of _CRYPTO_add_lock in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _CRYPTO_lock
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libcrypto.dylib(cryptlib.o) definition of _CRYPTO_lock
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-misc.o) definition of _CRYPTO_lock in section (__TEXT,__text)
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
My configure (and optim) string:
CFLAGS="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" OPTIM="-O2" ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir=/sw --with-iconv=/sw --with-mcrypt=/sw --with-mhash=/sw --with-openssl=/usr --with-kerberos --with-bz2=/usr/bin/bzip2 --with-mime-magic=/usr/local/apache2/conf/magic --enable-soap --enable-ftp --enable-sockets --with-expat=/sw --with-dom=/sw --with-dom-xslt=/sw --with-dom-exslt=/sw --with-libxml-dir=/sw --with-xmlrpc --with-libxml-dir=/sw --with-iconv-dir=/sw --with-xsl=/sw --with-ttf=/sw --with-gd --with-jpeg-dir=/sw --with-png-dir=/sw --with-pdflib=/sw/ --enable-exif --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock
That did work with php 5.1.4, Apache 2.0.55 and Mysql 5 on my 2nd System (I installed a 320 GB SATA drive for more space, fresh osx install, all libs downloaded, installed with dselect, fink and manual build) but not on my new install (on the same machine).
When I let out: --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock
It will compile fine, but with it just keeps erroring...