Re: [Exim] Problem with Exim+MySQL

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Paul Walsh
Kopio: Exim Users
Aihe: Re: [Exim] Problem with Exim+MySQL
On Thu, 23 Aug 2001, Paul Walsh wrote:

> $ exim -bpu
> ld.so.1: exim: fatal: libmysqlclient.so.10: open failed: No such file or
> directory


You must be on Solaris...

> O/S:        Solaris 2.6


I was right!

> LOOKUP_LIBS=-L/usr/local/lib -lmysqlclient -lz


Change this to

LOOKUP_LIBS=-L/usr/local/lib -R/usr/local/lib -lmysqlclient -lz

(This usually works for me. I've never really got this LD_LIBRARY_PATH
thing clear in my mind.)

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.