[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: unable to use $ORIGIN in rpath

From: Dave Korn
Subject: RE: unable to use $ORIGIN in rpath
Date: Tue, 14 Aug 2007 19:30:19 +0100

On 14 August 2007 18:59, m c wrote:

> Hi,
> i am trying to set rpath to value '$ORIGIN:$ORIGIN/../lib:.:../lib' in a
> makefile. but $ORIGIN is always getting replaced. 
> -DNDEBUG -w -fPIC -pipe   -o obj/release/sample.o -c sample.cpp g++   -o
> ././ -shared     -Wl,-Bsymbolic 
> -Wl,-rpath,':/../lib:.:../lib'  ./obj/release/sample.o    -ldl -lpthread
> -lgcc    
> i tried all the tricks mentioned in
> but nothing worked. 
> i have attached a zip file which contains the source and the make files.
> please help.
> Thanks,
> mrc

  <Holds hands up against forehead with fingers outstretched in an
i'm-a-stage-psychic kind of fashion, pulls face that indicates deep

  You forgot to double up the dollar signs?

  <goes off to actually take a look at your makefile and see if I guessed

Can't think of a witty .sigline today....

reply via email to

[Prev in Thread] Current Thread [Next in Thread]