Re: [Exim] Exim 4.05 & OpenSSL 0.9.6b

Top Pagina
Delete this message
Reply to this message
Auteur: William Craven
Datum:  
Aan: Toshio_Kumagai
CC: exim-users
Onderwerp: Re: [Exim] Exim 4.05 & OpenSSL 0.9.6b
Toshio Kumagai wrote:

>         Here shows the SSL (TLS) part of Local/Makefile.
>         It works for me.

>
> [ginger]% grep ssl Makefile
> TLS_LIBS=-R/usr/local/ssl/lib -L/usr/local/ssl/lib -lssl -lcrypto
> TLS_INCLUDE=-I/usr/local/ssl/include/
>
>         F.Y.I.
>         Use crle to set global shared library path.


Linking is not the issue here; the problem is that when exim has loaded
the SSL and Crypto Libraries - Exim fails to execute with the following
which I cannot make sense of.

The ldd command gives;

$ ldd exim
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libldap.so.4 =>  /usr/lib/libldap.so.4
        libssl.so.0.9.6 =>       /usr/local/lib/libssl.so.0.9.6
        libcrypto.so.0.9.6 =>    /usr/local/lib/libcrypto.so.0.9.6
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1


So you can see that the libraries are loaded but when I execute exim I
get the following error message about a "Relocation Error"....

$ ./exim -bV
ld.so.1: ./exim: fatal: relocation error: file
/usr/local/lib/libssl.so.0.9.6: symbol main: referenced symbol not found
Killed

And what I am asking is what is this telling me !! And do I get round
this.

Thanks

Wm.
--
William Craven
ITServices                Email:    William.Craven@???
University of British Columbia        Tel:    +1-604-822-8955
Vancouver, BC, Canada V6T 1Z2        Fax:    +1-604-822-5116