--
Pozdrawiam,

Dariusz Wojciechowski
FABA S.A.

W dniu 2014-05-16 15:06, Shawn Webb pisze:
On Fri, May 16, 2014 at 8:56 AM, Dariusz Wojciechowski <ad...@faba.pl>wrote:

Hello.

I try to compile Clamav 0.98.3 on my quite old server with Red Hat EL 4.
I can't just remove my current OpenSSL from my box due to too many
dependencies. But I downloaded newer 0.9.8y version, configured it with
command

./config --prefix=/usr/local/ssl

Then compiled and installed. And I checked that new version really is
locates in above directory.

So I got back to Clamav. I entered command:

./configure --with-openssl=/usr/local/ssl

And I got:

checking for OpenSSL installation... checking for SSL_library_init in
-lssl... no
configure: error: Your OpenSSL installation is misconfigured or missing

I also tried these:

export LDFLAGS="-L/usr/local/ssl/lib"
export CPPFLAGS="-I/usr/local/ssl/include/openssl"

but also, with no success.

When I check config.log, I find there following lines:

configure:16632: checking for SSL_library_init in -lssl
configure:16657: gcc -o conftest -I/usr/local/ssl/include
-L/usr/local/ssl/lib -lssl -lcrypto conftest.c -lssl  -ldl  >&5
/usr/local/ssl/lib/libssl.a(ssl_algs.o)(.text+0x4): In function
`SSL_library_init':
: undefined reference to `EVP_des_cbc'

And many, many undefined references to something. But when I go to
/usr/local/ssl/lib/ I find libcrypto.a  and libssl.a there.

Hey Dariusz,

Can you give the recently-released 0.98.4-rc1 a try?

Thanks,

Shawn
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Hey Shawn,

The newest 0.98.4-rc1 works perfectly. No problem with the compilation, making and running.

Thank You very very much! :-)

Kind regards,

Dariusz Wojciechowski
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to