----- Message from [EMAIL PROTECTED] --------
> Lydiard writes:
>
>> I am running debian
>> I downloaded the source of courier-imap-4.2.1
>> I unpacked it as a user
>> All commands that I've run to date have been as non-root
>>
>> I am using these flags
>> CPPFLAGS="-I/usr/include/openssl -I/usr/local/include/openssl"
>
> Why?

God, I've missed you :)

> Why are you not using Debian's OpenSSL package?

Cos Apache wouldn't compile with it - so I apt-get removed it and  
installed it from scratch.  Apache compiled.

>> Here is the error I'm getting consistently now (during "make" - the  
>>   above link didn't
>> change it one iota).
>>
>>
>> 28/.libs/librandom128.a ../numlib/.libs/libnumlib.a   
>> ../liblock/.libs/liblock.a
>> ../soxwrap/libsoxwrap.a
>> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
>
> The standard OpenSSL library does not get installed in /usr/local. This
> must be some custom version of OpenSSL that you installed, and it's not
> built correctly. OpenSSL must be built as a shared library, not as a
> static library.

I'm starting to think it may be the version/installation of make  
that's the issue - postfix is choking as well (but not on the TLS).

>> Further down that page someone suggest making sure that    
>> libssl.so.VERSION is present - it
>> is:
>>
>> -rw-r--r-- 1 root root 248K 2007-09-28 21:49 /usr/lib/libssl.so.0.9.8
>
> That's not your hand-compiled version of OpenSSL. That's Debian's
> runtime OpenSSL package. Furthermore it's just the runtime library, and
> in order to actually build any software, you need to have the libssl.so
> symlink, which is installed by the Debian OpenSSL development package.
>
> You need to clean up your system and remove all duplicate libraries and
> binaries that you installed yourself, that conflict with existing
> Debian packages, and are giving you these problems for no good reason.
> Debian has perfectly working OpenSSL runtime and development libraries,
> and there is no good reason to waste your time installing some mutated
> version of OpenSSL into /usr/local.
>
> Just use the standard Debian software libraries to build your code.

Sam - tbh, if that's your opinion, I'm inclined to go with it.  And  
whilst it's not your problem, what will happen to Apache if I rip out  
the OpenSSL?  Can I just rm the directories and get apt-get to install  
the Openssl stuff again?

Thanks as ever for your help :)

Lydiard

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to