Re: [Exim] Exim 4.05 & OpenSSL 0.9.6b

Top Page
Delete this message
Reply to this message
Author: Toshio Kumagai
Date:  
To: William Craven
CC: exim-users
Subject: Re: [Exim] Exim 4.05 & OpenSSL 0.9.6b
Hi William,

    I have similar experience on earlier version of Exim-3.1x.
    At that time, I 've installed old ssl in /usr/local/openssl
    and the headers in /usr/local/include/openssl.
    gcc refers this old one.
    And new one in /usr/local/ssl, execution path points here.


    Do you have _ONLY ONE_ ssl headers/libraries in your system ?


HTH.

###

William Craven wrote:
>
> 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.


--
            *** Save Solaris x86 ***
  Toshio Kumagai    TK2959 / TK127-AP
            Toshio_Kumagai@???, Japan