Re: [exim] Error compiling Exim 4.69

Pàgina inicial
Delete this message
Reply to this message
Autor: Yves Goergen
Data:  
A: exim
Assumpte: Re: [exim] Error compiling Exim 4.69
I've switched back to version 4.62, just to rule out any version
incompatibilities. Same problem though.

I seem to get forward a little. Above the quoted error message, there
was already a message about "mysql.h" missing. I searched for it and
found it in a different directory than I had set in the Makefile:

On 19.07.2008 14:37 CE(S)T, Yves Goergen wrote:
> LOOKUP_INCLUDE=-I /usr/local/mysql5/include
> LOOKUP_LIBS=-L/usr/local/mysql5/lib -lmysqlclient -lz


I changed this to:

LOOKUP_INCLUDE=-I /usr/local/mysql5/include/mysql
LOOKUP_LIBS=-L/usr/local/mysql5/lib/mysql -lmysqlclient -lz

(Note the added "/mysql".)

'make' would finish then, but 'make install' won't:

> mkdir -p /usr/exim/bin
> /usr/exim/bin created
>
> Installation directory is /usr/exim/bin
>
> ./exim: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
>
> *** Could not run ./exim to find version number ***
> *** Exim installation failed ***
> make: *** [install] Error 1


I have no idea what it wants to tell me. It did compile, and now it
doesn't run, or what? It did find the library, now it doesn't...?!

Also note that on my production server, I didn't append the "/mysql" to
the paths in the makefile. And yet all worked fine there. Same Exim
version, same Linux distribution and version, same directory names, same
configuration. One works, the other doesn't. Very strange.

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