OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "libpcre.so.0" not found

From: Joe Laffey (joelaffeycomputer.com)
Date: Sun Feb 15 2004 - 22:50:31 CST


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" <s_traplaffeycomputer.com>