[Exim] LD/Exim errors

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Gary Ferrer
Datum:  
To: Exim Users
Betreff: [Exim] LD/Exim errors
Ahhhhrrrggg, not this!! I think I know why my mail is getting stuck in the queue. Here is the output of -->/usr/exim/bin/exim -d 9 gary@???

test
.

Data file written for message 1638F0-0005SB-00
Writing spool header file
Size of headers = 286
LOG: 0 MAIN
<= root@??? U=root P=local S=294
exec /usr/exim/bin/exim -d9 -Mc 1638F0-0005SB-00
ld.so.1: /usr/exim/bin/exim: fatal: libssl.so.0.9.6: open failed: No such
file or directory
search_tidyup called
(/etc/lp/fd)-->

So, I have a problem with my libraries. libssl.so.0.9.6 does exist in
/usr/local/ssl/lib. What troubles me is that I've been able to compile exim
ok (with ssl). If I start exim from root with the following root
environment:

(/usr/local/ssl/lib)-->env
_=/usr/bin/env
HZ=
PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/etc:/opt/sfw/bin:/usr/ccs/bin:/
usr/ucb:/usr/local/ssl/bin:.
LOGNAME=root
PS1=($PWD)-->
LDFLAGS=-L/usr/local/ssl/lib -L/usr/local/lib
CC=gcc
DISPLAY=pc1:0
SHELL=/sbin/sh
CPPFLAGS=-I/usr/local/ssl/include -I/usr/local/include
HOME=/
LD_LIBRARY_PATH=:/usr/lib:/usr/local/ssl/lib:
TERM=vt100
PWD=/usr/local/ssl/lib
TZ=Canada/Pacific
ENV=~/.kshrc
(/usr/local/ssl/lib)-->

I can start exim no problem. However, if I reboot the server, I get the
same error as above when exim starts up. I started looking at the problem
but still haven't solved it. For exim to have compiled with ssl, my
makefile would have had the location of the libraries, so why doen't it know
where they are?

Gary.

Gary Ferrer
gary@???