RE: [Exim] Problem with Exim+MySQL

Góra strony
Delete this message
Reply to this message
Autor: Paul Walsh
Data:  
Dla: Philip Hazel
CC: Exim Users
Temat: RE: [Exim] Problem with Exim+MySQL
Thanks, that worked a treat!

Paul

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: 23 August 2001 10:50
To: Paul Walsh
Cc: Exim Users
Subject: 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.