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 | 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: Build system problem |
From: | Andrew Johnson <[email protected]> |
To: | Ralph Lange <[email protected]> |
Cc: | EPICS Core Talk <[email protected]> |
Date: | Wed, 16 Nov 2005 13:04:10 -0600 |
Ralph Lange wrote:
The two -Wl options (compiled-in locations for shared libraries) are correct: One location is the generic location, where the EPICS Base will be installed. The other is the local directory, i.e. the location of the Base that I'm currently linking against. This makes sure that the libraries are found on the development machine as well as on the runtime system (where the Base will be installed at the generic location).
Shouldn't your 'generic' path be pointing to an empty or non-existent directory though when you're compiling? You should change that path to /opt/epics/R3.14.8/support/base/3-14-8-0 or similar, so it will never try to link against old libraries. The -L option *should* be pointing to your local build tree since that gets used at compile time, but at runtime you also want it to search the install location.
- Andrew -- * * Matt Santos / / Leo McGarry * * For a Brighter America * *