Hello,
I'm having an annoying problem trying to compile PHP4 with cybercash support on a FreeBSD 4.3 server. I fund a couple similar reports in the archives, but they had no answers.
PHP appears to compile correctly, however at the end of the make process, I get the warning:
Warning: This library needs some functionality provided by -lmckcrypto.
I have the capability to make that library automatically link in when
you link to this library. But I can only do this if you have a
shared version of the library, which you do not appear to have.
The inter-library dependencies that have been dropped here will be
automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
I can install mod_php4 at this point, but if I try to start apache, I get the error message:
Syntax error on line 238 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server:
/usr/local/libexec/apache/libphp4.so: Undefined symbol "base64_dec_size"
/usr/local/sbin/apachectl startssl: httpd could not be started
It appears that the static libraries that cybercash has included with their kit are not compiling into mod_php4. The libraries in question are:
libCCMck.a
libmckcrypto.a
libmd5hash.a
The libraries are distibuted this way, and no source for them appears to be provided.
I've tried configuring mod_php4 with --enable-static, but it doesn't seem to take.
I'm really getting frustrated with this problem, but the choice of software was out of my hands. If anyone has any ideas for anything I can try, I would love to hear them.
Thanks.