[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.
>
> g++ -D__unix -D_REENTRANT -D_PTHREADS -DSTRING_CONVERSION -D_GNU_SOURCE
> -DSTL_STRING_LENGTH_ORIG -DSGI_STL -D__STL -DSYNC_IS_PUBLIC -DNATIVE_64BIT
> -DNDEBUG -w -fPIC -pipe -o obj/release/sample.o -c sample.cpp g++ -o
> ././libSampleSo.so -shared -Wl,-Bsymbolic
> -Wl,-rpath,':/../lib:.:../lib' ./obj/release/sample.o -ldl -lpthread
> -lgcc
>
> i tried all the tricks mentioned in
> http://www.itee.uq.edu.au/~daniel/using_origin/ 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
concentration>
You forgot to double up the dollar signs?
<goes off to actually take a look at your makefile and see if I guessed
right>
cheers,
DaveK
--
Can't think of a witty .sigline today....
- unable to use $ORIGIN in rpath, m c, 2007/08/14
- RE: unable to use $ORIGIN in rpath,
Dave Korn <=
- RE: unable to use $ORIGIN in rpath, Dave Korn, 2007/08/14
- Re: unable to use $ORIGIN in rpath, m c, 2007/08/15
- Re: unable to use $ORIGIN in rpath, Paul Smith, 2007/08/15
- Re: unable to use $ORIGIN in rpath, m c, 2007/08/15
- Re: unable to use $ORIGIN in rpath, Paul Smith, 2007/08/15
- Re: unable to use $ORIGIN in rpath, m c, 2007/08/15
- Re: unable to use $ORIGIN in rpath, Paul Smith, 2007/08/15
- RE: unable to use $ORIGIN in rpath, Dave Korn, 2007/08/15
- RE: unable to use $ORIGIN in rpath, Paul Smith, 2007/08/15
- RE: unable to use $ORIGIN in rpath, Dave Korn, 2007/08/15