Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
<== Date ==> <== Thread ==>

Subject: "DSO missing" errors for missing intermediate dependencies
From: Ralph Lange <ralph.lange@gmx.de>
To: EPICS Core Talk <core-talk@aps.anl.gov>
Date: Thu, 11 Jan 2018 11:16:15 +0100
Dear core-talkers,

Moving from RHEL6 to RHEL7, we ran into the issue that with the newer system the linker line for an executable has to mention all intermediate dependencies, while on RHEL6 is was good enough that intermediate dependency libraries were mentioned in the internal dependency list (output of 'ldd') of a primary dependency library.

As a result of the missing intermediate dependency, you get error messages like
    /usr/bin/ld: PIDThread.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
    /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
At first glance, the setting of POSIX_LDLIBS (in CONFIG.Common.linuxCommon) seems to try to avoid this for pthreads, but it turns out that this is added only (in CONFIG.Common.UnixCommon) for STATIC_BUILD = YES or SHARED_LIBRARIES = NO.

How should we address this?

Cheers,
~Ralph




Replies:
Re: "DSO missing" errors for missing intermediate dependencies Andrew Johnson

Navigate by Date:
Prev: Re: Removal of deprecated in pvDataCPP/pvAccessCPP Michael Davidsaver
Next: Re: "DSO missing" errors for missing intermediate dependencies Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
Navigate by Thread:
Prev: Re: Removal of deprecated in pvDataCPP/pvAccessCPP Michael Davidsaver
Next: Re: "DSO missing" errors for missing intermediate dependencies Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
ANJ, 11 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·