Linker fails to find shared libraries
What
Checking out the latest from devel
, commit 9974ba57 I can compile YARR as usual:
$ mkdir build; cd build;
$ source /opt/rh/devtoolset-7/enable
$ cmake3 ..
$ make -j4
Which succeeds.
However, no executable properly links to the shared libraries that are now the default as of !313 (merged) which has apparently been merged into devel
:
$ ldd ./bin/scanConsole
└─ $ ldd ./bin/scanConsole
linux-vdso.so.1 => (0x00007ffcd4547000)
libYarr.so => not found
libUtil.so => not found
libSpec.so => not found
libEmu.so => not found
libFei4.so => not found
libRd53a.so => not found
libStar.so => not found
libFe65p2.so => not found
libRd53b.so => not found
librt.so.1 => /usr/lib64/librt.so.1 (0x00007f0644603000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f06443e7000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f06440e0000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f0643dde000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f0643bc8000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f06437fa000)
/lib64/ld-linux-x86-64.so.2 (0x00007f064480b000)
Note that I would have thought that !313 (merged) would not have removed entirely the ability to build YARR as it has been (static build), but as the option to build shared libraries. By making it the default (at least right now), this can potentially change the behavior for a lot of users. For examples, libraries that link against YARR as a external dependency.