Page 1 of 1

Unrealircd compiled with SSL support but errors with SSL

Posted: Sun Jun 12, 2005 12:41 am
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!

Posted: Sun Jun 12, 2005 1:59 am
by Stealth
Make sure Unreal does have SSL.

Type this in a shell prompt:

Code: Select all

cat config.log | grep -i SSL

Posted: Sun Jun 12, 2005 2:35 am
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.

Posted: Sun Jun 12, 2005 4:51 am
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.

Posted: Sun Jun 12, 2005 5:28 am
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.

Posted: Sun Jun 12, 2005 9:31 am
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,