Experimental Physics and Industrial Control System
|
Well ... generally spoken ...
the binary should find a library that matches the header files it was
compiled against. It's not exactly important where that library is
located, but the search path mechanisms for finding dynamic libraries
(which heavily depend on the operating system) must be set up correctly
to avoid the binary finding a wrong version.
There's a place within the EPICS configuration directories where you can
set up the default search path that is compiled into the binaries. (The
App Developer's should mention that somewhere.) Most operating systems
allow for adding and/or overriding these paths through environment
variables. Again, the exact way to do that depends on your OS.
The behavior of a library doesn't change with its location. Your binary
probably finds a different library of the same name whose location is
mentioned earlier in the search path list.
Hope this helps,
Ralph
Christophe Moins wrote:
Hi,
Would someone know if there is any requirement concerning the use of
dynamic libraries in an epics application ?
Should they be located in the lib/target directory of the epics base
directory or can we use also libraries located in the /usr/local/lib ?
I ask this as I have not had the same behaviour of a library
according to the directory where it was stored.
Thanks
Christophe
- References:
- dynamic libraries location Christophe Moins
- Navigate by Date:
- Prev:
RE: VDCT Support Rees, NP (Nick)
- Next:
RE: VDCT Support Rees, NP (Nick)
- 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
- Navigate by Thread:
- Prev:
dynamic libraries location Christophe Moins
- Next:
Customer Services Representatives needed ASAP Worotel Communications Company
- 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
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|