Background: Between RHEL6 and RHEL7, the indirect linking policy changed. Before, applications could rely on symbols from indirectly linked libraries to be available. E.g., an EPICS IOC could just use pthread calls without explicitly linking against it, knowing that EPICS Base libraries had been linked against pthread and would make the shared library available at run time.
Now, each application must explicitly link against all libraries it uses. (Careful with libraries that use C++ templates in their APIs. They inject source code into your application, so that it may e.g. call pthread without you knowing it. Under the new policy, the pthread library needs to be added in such a case.)
Cheers, ~Ralph
Hi John,
I found and fixed the problem. The pthread and rt libraries needed to be added to PROD_SYS_LIBS. They appear to be added automatically by the EPICS build system for static
builds, but not for dynamic builds.
The master branch should now work correctly for dynamic builds.
Mark
- Replies:
- RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- References:
- XSPRESS3 hdf5 problems John Dobbins via Tech-talk
- RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
- Re: XSPRESS3 hdf5 problems Matt Newville via Tech-talk
- Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
- RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
- RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
- Next:
RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- 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:
RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- Next:
RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
- 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
|