Re: [exim] Error compiling Exim 4.69

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Stephen Gran
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Error compiling Exim 4.69
On Sat, Jul 19, 2008 at 07:29:53PM +0200, Yves Goergen said:
> On 19.07.2008 19:12 CE(S)T, Stephen Gran wrote:
> > On Sat, Jul 19, 2008 at 06:53:31PM +0200, Yves Goergen said:
> >> If this is true, I would need to find libmysqlclient.so.* on my prod
> >> server in some default location. But it is only in the /home/.../src/...
> >> path where it was built and in the same path as indicated above:
> >> /usr/local/mysql5/lib/mysql/libmysqlclient.so{,.15,.0.0}
> >> The file /etc/ld.so.conf doesn't exist on either system and there is no
> >> LD-something environment variable that might point to a library path.
> >
> > On the server where it works, run
> > ldd /path/to/exim | grep mysqlclient
> > and see where the linker is finding it.
>
> '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?

> >> Also, it doesn't explain why my prod machine finds the include files and
> >> library in the mysql subdirectory on its own (when building) and on the
> >> test machine it doesn't.
> >
> > 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.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | Whoever tells a lie cannot be pure in   |
|  steve@???             | heart -- and only the pure in heart can |
|  http://www.lobefin.net/~steve | make a good soup.   -- Ludwig Van       |
|                                | Beethoven                               |

--------------------------------------------------------------------------