OpenSSL version problem

These are old archives. They are kept for historic purposes only.
Post Reply
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

OpenSSL version problem

Post by Judge »

Hi, guys, awesome IRCd btw... I know I am probably over my head here but I would really appreciate some advice regarding a problem I have with OpenSSL. I am wanting to compile Unreal with OpenSSL v0.9.7d in a user created directory (/home/user/support/openssl) for use on shell hosts that have out of date versions of OpenSSL.

My problem is when I compile the IRCd even though I specify the user created OpenSSL directory it still seems to use the version on the system.

Here is what I get when I start the IRCd.

Starting UnrealIRCd
[!!!] OpenSSL version mismatch: compiled for 'OpenSSL 0.9.7a Feb 19 2003', library is 'OpenSSL 0.9.7d 17 Mar 2004'
[!!!] Header<->library mismatches can make UnrealIRCd *CRASH*! Make sure you don't have multiple versions of openssl or zlib installed (eg: one in /usr and one in /usr/local). And, if you recently upgraded them, be sure to recompile Unreal.

<SNIP> Unreal <SNIP>

v3.2.1
using TRE 0.6.8
using OpenSSL 0.9.7a Feb 19 2003
using zlib 1.2.1
using libcurl/7.12.1 OpenSSL/0.9.7d zlib/1.2.1 c-ares/1.2.0

Any ideas how I can force it to compile and use my version?
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

OpenSSL version problem - II

Post by Judge »

I know this probably has something to do with CPPFLAGS / LDFLAGS / PATH variables and the syntax of ./configure... anyone know how I should use them???

lets say I set my paths up like this :

/home/user/support/ares:
/home/user/support/curl:
/home/user/support/openssl:
/home/user/support/zlib:
/home/user/ircd:

Would this be right or wrong?
CPPFLAGS="-I/home/user/support/curl/include
-I/home/user/support/openssl/include
-I/home/user/support/zlib/include"

LDFLAGS="-L/home/user/support/curl/src/lib
-L/home/user/support/openssl/src/lib
-L/home/user/support/zlib/src/lib"

./configure --enable-nospoof --enable-hub --enable-ssl=/home/user/support/openssl --enable-ziplinks=/home/user/support/zlib --enable-libcurl=/home/user/support/curl --enable-prefixaq --with-listen=5 --with-dpath=/home/user/ircd --with-spath=/home/user/ircd/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=irc.domain.net --with-permissions=0600 --with-fd-setsize=512 --enable-dynamic-linking

would this work?
Post Reply