1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: rpath compiling? |
From: | Dirk Zimoch <[email protected]> |
To: | Heinrich du Toit <[email protected]> |
Cc: | TechTalk EPICS <[email protected]> |
Date: | Fri, 17 Aug 2007 14:21:02 +0200 |
> ls -l /usr/local/epics total 40 lrwxrwxrwx 1 root root 11 Jun 1 02:36 base -> base-3.14.8 drwxrwxr-x 9 root sls 4096 Apr 12 2006 base-3.13.10 drwxr-xr-x 10 root sls 4096 Apr 12 2006 base-3.13.2 drwxr-xr-x 10 root sls 4096 Apr 12 2006 base-3.13.9 drwxrwxr-x 11 root sls 4096 Dec 14 2006 base-3.14.7 drwxrwxr-x 11 root sls 4096 Jul 17 13:23 base-3.14.8 drwxrwxr-x 11 root sls 4096 May 16 17:44 base-3.14.9 drwxrwxr-x 11 root sls 4096 Nov 23 2006 base-3.14.CVS drwxrwxr-x 12 root sls 4096 Nov 17 2006 extensions lrwxrwxrwx 1 root sls 10 Aug 17 2006 seq -> seq-2.0.10 drwxrwxr-x 7 root sls 4096 Jun 21 15:02 seq-2.0.10 drwxrwxr-x 3 root sls 4096 Apr 3 2006 seq-2.0.8
Hi
I'm trying to built an ubuntu package for EPICS :) Just so that I don't have to compile the thing on every client out there. - Some machines don't really need gcc and all that development stuff
Anyways. I'm having a bit of trouble with the way EPICS links to it's own .so files. (linux-x86)
It seems that the compile thing sets --rpath in the linker.
This way it links to a specific directory.
Problem is that this directory is not the same when built and installed.
So I would like to have it built without rpath set. Then install the .so files to /usr/lib And then normal ld.so stuff in linux can link it up.
My question is - how do I get EPICS to not link to a specific directory?
This seems like a chicken-egg problem.. As I want to compile the things linked to libraries that will only be installed later. :(
Any help will be appreciated -Heinrich
-- Dr. Dirk Zimoch Paul Scherrer Institut, WBGB/006 5232 Villigen PSI, Switzerland Phone +41 56 310 5182