From: Tony Earnshaw (no email)
Date: Mon Feb 16 2004 - 10:49:07 EST
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.
--Tonni
-- mail: billy - at - billy.demon.nl http://www.billy.demon.nl
|
|
|