Hello all!

I have installed the PHP source package php-5.0.4-14tr.src.rpm and ALL
REQUIRED DEVEL PACKAGES.
For test, I not modify the default php.spec, but see the error:

# rpmbuild -ba php.spec  

checking for CRYPTO_free in -lcrypto... no
configure: error: libcrypto not found!
error: Bad exit status from /var/tmp/rpm-tmp.28445 (%build)

The libcrypto exists in /lib/libcrypto.so ...

Other test:
I change the php.spec file to use openssl shared:
%define _openssl_shared 1

Other error now:

checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
error: Bad exit status from /var/tmp/rpm-tmp.4825 (%build)

I need the imap, openssl and other modules in php5, I need to recompile
the PHP5, any suggestion solve this problem/bug?

Thanks,

Jeff






_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to