Re: "libpcre.so.0" not found

From: Joe Laffey (no email)
Date: Sun Feb 15 2004 - 23:50:31 EST


On Sun, 15 Feb 2004, Sam Carleton wrote:

> I am tring to get postfix running for the first time on a NetBSD
> v1.6.1 machine, but I am running into problems. When try to start
> it, I get the error:
>
> # /usr/sbin/postfix start
> Shared object "libpcre.so.0" not found
>
> Now I have installed pcre and it is located in /usr/local/lib. I
> have also added it to root's LD_LIBRARY_PATH. I went so far as to
> build postfix with these options:
>
> LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
>
> Anyone have any thoughts on how to get postfix running?

If libpcre.so.0 is in /usr/local/lib try adding this to CFLAGS

-Wl,--rpath=/usr/local/lib

--
Joe Laffey              |  Always wanted a realpath shell command to get the
LAFFEY Computer Imaging |  absolute path to a file or folder without symlinks?
St. Louis, MO           |  Aardvark Shell Utils - They're FREE (GPL)
USA                     |  http://www.laffeycomputer.com/shellutils.html
------------------------------------------------------------------------------
Mail here will be rejected  -----> "Sigfried Trap" <>







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD