[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

php4 port problem



When trying to compile the php4 port under OpenBSD 3.3 I get the following
error involving openssl:

/bin/sh
/usr/ports/www/php4/core/w-php4-core-4.2.3p1/php-4.2.3/libtool --silent --mo
de=link
cc -I. -I/usr/ports/www/php4/core/w-php4-core-4.2.3p1/php-4.2.3/sapi/cli -I/
usr/ports/www/php4/core/w-php4-core-4.2.3p1/php-4.2.3/main -I/usr/ports/www/
php4/core/w-php4-core-4.2.3p1/php-4.2.3 -I/usr/lib/apache/include -I/usr/por
ts/www/php4/core/w-php4-core-4.2.3p1/php-4.2.3/Zend -I/usr/local/include  -D
DEV_RANDOM=/dev/arandom -DMOD_SSL=208112 -DEAPI -DUSE_EXPAT -I/usr/ports/www
/php4/core/w-php4-core-4.2.3p1/php-4.2.3/TSRM -O2 -I/usr/local/include   -o
php -lcrypto -export-dynamic  libphp4cli.la

openssl.lo: Undefined symbol `_OPENSSL_add_all_algorithms_noconf' referenced
from text segment
openssl.lo: Undefined symbol `_sk_new_null' referenced from text segment
openssl.lo: Undefined symbol `_sk_new_null' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1

This is with the 3.3 port. I tried updating to current that uses a newer
version of php and got the same error (but in a slightly different place, it
looks like the makefile structure changed in php between those versions).

I am not certain if this is a problem with my ssl library or with the port.
I had been running OpenBSD 3.0 and upgraded it to 3.3. It is possible that
an older openssl library is lying around and being picked up by php4. But I
am not sure what the resolution should be.

Can anyone shed some light on this problem? Is the port broken? Am I broken?
How can I resolve this issue?

Thanks,
ryan