From: Sam Carleton (no email)
Date: Mon Feb 16 2004 - 09:34:54 EST
On Sun, Feb 15, 2004 at 10:50:31PM -0600, Joe Laffey wrote:
> 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
I tried that and I am getting the same error:( This is the little
build shell which added those options.
------------------------------------------------------------------
#! /bin/sh
CC=gcc
CFLAGS="-I/usr/local/include -Wl,--rpath=/usr/local/lib"
LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
export CC
export CFLAGS
export LDFLAGS
$*
------------------------------------------------------------------
I figured I might have something wrong in this script.
Sam
|
|
|