From: Sam Carleton (no email)
Date: Mon Feb 16 2004 - 12:39:25 EST
On Mon, Feb 16, 2004 at 04:49:07PM +0100, Tony Earnshaw wrote:
> man, 16.02.2004 kl. 15.34 skrev Sam Carleton:
>
> > > 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.
>
> The script's o.k. (you could have made it shorter), but it's only
> exporting to the shell instance called by the script; after the script
> has run, it's "forgotten".
>
> Include these exports in your actual configure or make environment.
Hum, root uses tcsh and I have both of these lines in root's
.cshrc:
set LD_LIBRARY_PATH = ( /usr/pkg/lib /usr/local/BerkeleyDB/lib /usr/local/lib )
setenv LD_LIBRARY_PATH /usr/pkg/lib:/usr/local/BerkeleyDB/lib:/usr/local/lib
Does that not export the path per you recommendation?
Sam
|
|
|