[CMake] Finding dynamic libraries with major interface revision numbers (2)
Brad King
brad.king at kitware.com
Wed Apr 13 15:56:22 EDT 2011
On 04/13/2011 03:37 PM, Jean-Christophe Fillion-Robin wrote:
> 1) I have a project XYZ that linked against VTK static which also linked
> GnuR shared
[snip]
> /usr/bin/ld: /home/jchris/Projects/R-2.11.1/lib64/R/lib/libRlapack.so:
> error: undefined reference to '_gfortran_concat_string'
Doesn't GnuR's so list gfortran as a dependency? For example, lapack does:
$ readelf -d /usr/lib/liblapack.so |grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libblas.so.3gf]
0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.3]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
-Brad
More information about the CMake
mailing list