Re: [exim] Error compiling Exim 4.69

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yves Goergen
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Error compiling Exim 4.69
On 19.07.2008 19:43 CE(S)T, Stephen Gran wrote:
> On Sat, Jul 19, 2008 at 07:29:53PM +0200, Yves Goergen said:
>> 'ldd /path/to/exim' lists a bunch of libraries, but nothing with mysql
>> in it. Strange, but it does access a MySQL database server and it really
>> works.
>
> steve@vancouver:~$ ldd /usr/sbin/exim4 | grep mysql
>         libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00002b568d1c8000)
> steve@vancouver:~$

>
> Here it certainly does. Not trying to be condescending, but are you
> sure you're running ldd on the right binary?


Yes, actually I am sure.

# which exim
/usr/exim/bin/exim

# ldd /usr/exim/bin/exim
         libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7edf000)
         libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7eca000)
         libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e9d000)
         libm.so.6 => /lib/tls/libm.so.6 (0xb7e7b000)
         libdb3.so.3 => /usr/lib/libdb3.so.3 (0xb7dd1000)
         libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0xb7da0000)
         libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 
(0xb7ca1000)
         libc.so.6 => /lib/tls/libc.so.6 (0xb7b6b000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7ef6000)
         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b68000)


>>> Hmm. Have you run ldconfig on the test machine? The only other thing I
>>> can offer is that upgrading will get you the new versions without you
>>> building them all yourself.
>> No, I don't know ldconfig.
>
> It has to be run after installing/upgrading libraries. I'd be surprised
> if 'make install' type installations ran it after install, so that may
> be an issue.


I just called 'ldconfig' as root on my test server. It said nothing and
returned. 'make install' still doesn't work for the same reason. (At
least with the same error message.)

The file /etc/ld.so.cache does and did exist. Maybe it has something to
do with it? It's binary, I cannot look inside it.

--
Yves Goergen "LonelyPixel" <nospam.list@???>
Visit my web laboratory at http://beta.unclassified.de