<< PHP4.3.2 | Curl 7.9.8 | OpenSSL 0.9.7b | Apache1.3.27 | Solaris 9 (Sparc) | Openldap | Mysql >>
I have to re-build my PHP to include Curl support.
Curl seems to work fine from the Solaris command line thanks to SFWcurl from the Solaris Companion Freeware CD (or from Sun downloads) which installs to /opt/sfw. Anyone know for sure if this SFWcurl PKG includes SSL support?
PHP appears to build successfully with Curl using -
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-zlib=/usr
--with-mysql=/usr/local/mysql
--with-ldap=/usr/local/openldap
--with-ssl=/usr/local/ssl
--with-curl=/opt/sfw
--with-netbpm=/usr/local/netbpm
make
make install
cp php.ini-dist /usr/local/lib/php.ini
When I come to restart Apache and SSL with -
apachectl stop
apachectl startssl
It barfs with -
Syntax error on line 24 of /usr/local/apacheSSL/conf/httpd.conf:
Cannot load /usr/local/apacheSSL/libexec/libphp4.so into server: ld.so.1: /usr/local/apacheSSL/bin/httpd: fatal: relocation error: file /opt/sfw/lib/libcurl.so.2: symbol __floatdidf: referenced symbol not found /usr/local/apacheSSL/bin/apachectl startssl: httpd could not be started
Googling Grps for this suggests I'm incorrectly setting paths to libs... sound sane? How do I do this? In my .cshrc prior to building? Or does this need to be system wide? Or at ./configure time?
Any help much appreciated.
Thx