Cannot make PHP-4.0.3 with OpenSSL-0.9.6 and Curl-7.3

From: Date: Mon, 16 Oct 2000 16:49:20 +0000
Subject: Cannot make PHP-4.0.3 with OpenSSL-0.9.6 and Curl-7.3
Groups: php.install 
Request: Send a blank email to php-install+get-342@lists.php.net to get a copy of this message
Hello, I've installed openssl_095a on Solaris 2.6 with gcc 2.7.2.3. It compiles and makes fine. I've installed curl-7.3 with ./configure --enable-shared --with-ssl=/usr/local/ssl It configures and makes fine. Then I'm trying to configure php4.0.3 with the following options: ./configure '--with-zlib=/usr/local' '--disable-debug' '--enable-url-fopen-wrapper' '--with-mysql=/content/mysql' '--enable-ftp' '--with-curl=/usr/local' It configures fine, but when I do "make" I get the following error: <snip> /bin/sh /home/peter/php-4.0.3/libtool --silent --mode=link gcc -I. -I/home/peter/php-4.0.3/ -I/home/peter/php-4.0.3 -I/home/peter/php-4.0.3/main -I/home/peter/php-4.0.3/Zend -I/home/peter/php-4.0.3 -I/usr/local/include -I/content/mysql/include -I/ho me/peter/php-4.0.3/ext/xml/expat/xmltok -I/home/peter/php-4.0.3/ext/xml/expat/xmlparse -I/home/peter/php-4.0.3/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -msupersparc -O2 -o libphp4.la -rpath /home/peter/php-4.0.3/libs -L/usr/ucblib -L/usr/local/lib -L/content/mysql/lib -R /usr/ucblib -R /usr/local/lib -R /content/mysql/lib stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/curl/libcurl.la ext/ftp/libftp.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la ext/zlib/libzlib.la TSRM/libtsrm.la -lpam -ldl -lz -lmysqlclient -lcurl -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lso cket /bin/sh /home/peter/php-4.0.3/libtool --silent --mode=link gcc -I. -I/home/peter/php-4.0.3/ -I/home/peter/php-4.0.3 -I/home/peter/php-4.0.3/main -I/home/peter/php-4.0.3/Zend -I/home/peter/php-4.0.3 -I/usr/local/include -I/content/mysql/include -I/ho me/peter/php-4.0.3/ext/xml/expat/xmltok -I/home/peter/php-4.0.3/ext/xml/expat/xmlparse -I/home/peter/php-4.0.3/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -msupersparc -O2 -o php -export-dynamic stub.lo libphp4.la Undefined first referenced symbol in file SSL_library_init /usr/local/lib/libcurl.so ERR_error_string /usr/local/lib/libcurl.so CRYPTO_free /usr/local/lib/libcurl.so X509_get_issuer_name /usr/local/lib/libcurl.so SSL_shutdown /usr/local/lib/libcurl.so SSLv3_client_method /usr/local/lib/libcurl.so X509_free /usr/local/lib/libcurl.so SSL_CIPHER_get_name /usr/local/lib/libcurl.so SSL_CTX_use_PrivateKey_file /usr/local/lib/libcurl.so SSL_CTX_set_default_passwd_cb /usr/local/lib/libcurl.so SSL_CTX_check_private_key /usr/local/lib/libcurl.so SSL_CTX_free /usr/local/lib/libcurl.so RAND_seed /usr/local/lib/libcurl.so SSLv23_client_method /usr/local/lib/libcurl.so SSL_load_error_strings /usr/local/lib/libcurl.so SSLv2_client_method /usr/local/lib/libcurl.so SSL_get_current_cipher /usr/local/lib/libcurl.so RAND_status /usr/local/lib/libcurl.so EVP_PKEY_copy_parameters /usr/local/lib/libcurl.so SSL_CTX_use_certificate_file /usr/local/lib/libcurl.so SSL_connect /usr/local/lib/libcurl.so SSL_CTX_new /usr/local/lib/libcurl.so SSL_set_connect_state /usr/local/lib/libcurl.so X509_get_subject_name /usr/local/lib/libcurl.so SSL_get_privatekey /usr/local/lib/libcurl.so SSL_get_certificate /usr/local/lib/libcurl.so SSL_set_fd /usr/local/lib/libcurl.so SSL_write /usr/local/lib/libcurl.so SSL_new /usr/local/lib/libcurl.so X509_get_pubkey /usr/local/lib/libcurl.so SSL_free /usr/local/lib/libcurl.so SSL_get_peer_certificate /usr/local/lib/libcurl.so SSL_read /usr/local/lib/libcurl.so X509_NAME_oneline /usr/local/lib/libcurl.so ERR_get_error /usr/local/lib/libcurl.so ld: fatal: Symbol referencing errors. No output written to php make[1]: *** [php] Error 1 make[1]: Leaving directory `/home/peter/php-4.0.3' make: *** [all-recursive] Error 1 Hmm, what is happening here? I've tried openssl v906 but this didn't compile either. So I tried going one back openssl v905a. That didn't work either. I'm sure it has something to do with curl, because when I do not include curl: './configure' '--with-zlib=/usr/local' '--disable-debug' '--enable-url-fopen-wrapper' '--with-mysql=/content/mysql' '--enable-ftp' Make works fine: <snip> /bin/sh /home/peter/php-4.0.3/libtool --silent --mode=link gcc -I. -I/home/peter/ php-4.0.3/ -I/home/peter/php-4.0.3 -I/home/peter/php-4.0.3/main -I/home/peter/php- 4.0.3/Zend -I/home/peter/php-4.0.3 -I/content/mysql/include -I/home/peter/php-4.0. 3/ext/xml/expat/xmltok -I/home/peter/php-4.0.3/ext/xml/expat/xmlparse -I/usr /local /include -I/home/peter/php-4.0.3/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE _ORDER =21 -msupersparc -O2 -o php -export-dynamic stub.lo libphp4.la make[1]: Leaving directory `/home/peter/php-4.0.3' Making all in pear make[1]: Entering directory `/home/peter/php-4.0.3/pear' make[1]: Leaving directory `/home/peter/php-4.0.3/pear' Hmm, any usefull pointers in the right direction are greatly appreciated. Peter

« previous php.install (#342) next »