![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||
|
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 '[email protected]@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
| ||||||||||||||
ANJ, 11 Jan 2018 |
![]() · Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |