Re: [Exim] Exim 4.05 config issue.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: James Harr
Datum:  
To: Michael.Johnson
CC: exim-users
Betreff: Re: [Exim] Exim 4.05 config issue.
Hi,

Two ways to fix this (10 to 1 says it will):
1) Make sure that /usr/local/pgsql/lib is in '/etc/ld.so.conf' then run
ldconfig
2) Do symlinks from those libraries to a path that is in ld.so.conf

Either way works great.

Later,
jh

Johnson, Michael said:
> When I try a test with -d I now see that it can not find a shared
> object. I believe it is a postgres lib. Not sure how to fix this.
>
> This is the error
> <----------cut--------------->
> <= root@??? U=root P=local S=272
> search_tidyup called
> exec>>>>>>>>>>>>>>>>>> Exim pid=12576 terminating with rc=0
>>>>>>>>>>>>>>>>>>>
> /usr/local/exim-4.05/bin/exim -d=0xfff7577f -Mc 17UTv9-0003Gq-00
> [root@shell bin]# /usr/libexec/ld-elf.so.1: Shared object "libpq.so.2"
> not found
> <----------cut--------------->
>
> My local make file does have the path to those libs though.
> LOOKUP_INCLUDE=-I /usr/local/pgsql/include
> LOOKUP_LIBS=-L /usr/local/lib -L /usr/local/pgsql/lib -lpq
>
> [root@shell Local]# ls /usr/local/pgsql/lib | grep so
> lrwxr-xr-x  1 root  wheel      12 Feb 10 17:15 libecpg.so@ ->
> libecpg.so.3 -rwxr-xr-x  1 root  wheel   35689 Feb 10 17:15
> libecpg.so.3*
> lrwxr-xr-x  1 root  wheel      14 Feb 10 17:15 libpgeasy.so@ ->
> libpgeasy.so.2
> -rwxr-xr-x  1 root  wheel    8887 Feb 10 17:15 libpgeasy.so.2*
> lrwxr-xr-x  1 root  wheel      12 Feb 10 17:15 libpq++.so@ ->
> libpq++.so.3 -rwxr-xr-x  1 root  wheel   34097 Feb 10 17:15
> libpq++.so.3*
> lrwxr-xr-x  1 root  wheel      10 Feb 10 17:15 libpq.so@ -> libpq.so.2
> -rwxr-xr-x  1 root  wheel  814145 Feb 10 17:15 libpq.so.2*
> lrwxr-xr-x  1 root  wheel      16 Feb 10 17:15 libpsqlodbc.so@ ->
> libpsqlodbc.so.0
> -rwxr-xr-x  1 root  wheel  164094 Feb 10 17:15 libpsqlodbc.so.0*
> -rwxr-xr-x  1 root  wheel   21950 Feb 10 17:16 plperl.so*
> -rwxr-xr-x  1 root  wheel   77781 Feb 10 17:16 plpgsql.so*

>
> Thanks for the help sorry my message did not have enough detail.
>
> -MJ
>
>>
>>
>> Hi all,
>> I sent a similar message last week but did not see it posted. I
>> upgraded
> to
>> 4.05 from 3.33, i was testing to make sure all is good. I see that my
> server
>> accepts
>> messages but does not deliver them to the virtual mailbox. It
>> complained about the
>> file transport and pipe transport so i commented them out but i
>> thought
> that
>> is how it delivered the file? Anyone have any ideas?
>>
>> # this is for virtual local users mailboxes
>> virtual_localuser:
>> driver = accept
>> condition = ${if eq
>> {}{${lookup{$local_part}lsearch{/etc/virtualmail/shell.x
>> yphoid.com/passwd}}}{no}{yes}}
>> domains = lsearch;/etc/virtualmail/domains
>> #file_transport = address_file
>> no_more
>> # pipe_transport = address_pipe
>> retry_use_local_part
>> transport = virtual_localdelivery
>>
>>
>>
>> --
>>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##