Unrealircd compiled with SSL support but errors with SSL

These are old archives. They are kept for historic purposes only.
Post Reply
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Unrealircd compiled with SSL support but errors with SSL

Post by Michael »

Hello,

I've just compiled unrealircd on Suse Linux and for some strange reason I'm getting an error due to SSL stating the following:

Code: Select all

 [warning] unrealircd.conf:538: listen with SSL flag enabled on a non SSL compile 
This is however untrue as I DID compile with SSL.

Line 538 reads as follows:

Code: Select all

listen         *:6697
{
	options
	{
		ssl;
		clientsonly;
	};
}; 
Specifically, line 538 is the 'options' line.

Can someone tell me why this may be occurring with this compile? All the cert files are in the root directory so thats not an issue.

I'm not sure what's going on here since I've used this same configuration on FreeBSD and it works just fine.

Thanks for your help in advance!
Michael
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Make sure Unreal does have SSL.

Type this in a shell prompt:

Code: Select all

cat config.log | grep -i SSL
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Post by Michael »

Here is what that generates:

$ ./configure --with-showlistmodes --enable-nospoof --enable-ssl=/usr/bin/ --enable-ziplinks --with-listen=5 --with-dpath=/home/myhome/Unreal3.2 --with-spath=/home/myhome/Unreal3.2/src/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=MyHost --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking
configure:2160: checking for openssl
configure:2178: found /usr/bin/openssl
configure:2190: result: /usr/bin/openssl
configure:10136: checking for openssl
configure:10162: WARNING: disabling ssl support
ac_cv_path_OPENSSLPATH=/usr/bin/openssl

I'm not sure what to make of this since it appears to be finding openssl just fine.

Any further suggestions?

Thanks for your help Stealth.
Michael
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

configure:10162: WARNING: disabling ssl support

That means something's going wrong - what is another matter. You could try reading the file config.log (pico/nano would be great for this ;p) around line 10162 and see if it mentions what the error is.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

The answer is simple - it can't find your openssl development libraries or includes (the binaries are not enough). At least on debian you need to install libssl-dev, look for similar packages on your system.
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Post by Michael »

Thanks aquanight that did the trick!

I would have never thought to compile the dev lib's, so your feedback here saved me a ton of time, as did the help from everyone else!

Thanks everyone, you guys kick A$$.

The support all of you provide here on this forum is nothing short of phenominal!

Thanks again,
Michael
Post Reply