Link error installing php5 macports on macos: with mysql5 and apache2
Hello, I have been trying all day to install php5 with no luck. Here is my command: $ sudo port install php5 +apache2 +mysql5 +pear +macosx <snip> -lexslt -liconv -liodbc -lmysqlclient_r -lmhash -lmcrypt -lltdl -lldap -llber -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lpcre -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lz -lxml2 -lz - liconv -lm -lmysqlclient_r -lz -lm -lssl -lcrypto -liodbc -lmysqlclient_r -lz - lm -lssl -lcrypto -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz - liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -liconv -lm -o libs/ libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so And in the end I get: /usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: warning multiple definitions of symbol _regcomp /usr/local/apache2/bin/httpd definition of _regcomp /usr/lib/libpthread.dylib(regcomp.So) definition of _regcomp /usr/bin/ld: warning multiple definitions of symbol _regexec /usr/local/apache2/bin/httpd definition of _regexec /usr/lib/libpthread.dylib(regexec.So) definition of _regexec /usr/bin/ld: warning multiple definitions of symbol _regfree /usr/local/apache2/bin/httpd definition of _regfree /usr/lib/libpthread.dylib(regfree.So) definition of _regfree /usr/bin/ld: Undefined symbols: _EVP_CIPHER_CTX_block_size _xmlTextReaderSchemaValidate collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. I have openssl: $ port info openssl openssl 0.9.8e, devel/openssl (Variants: universal, darwin, darwin_6, darwin_8) And I have libxml2 $ port info libxml2 libxml2 2.6.28, Revision 1, textproc/libxml2 (Variants: universal) I'm not familiar with how ports work in general, so any advice would be appreciated. Is anyone else seeing a problem like this on MacOS 10.4.9 (PPC)? Thanks, Tom
participants (1)
-
Thomas Wilberding