[CMake] Finding dynamic libraries with major interface revision numbers (2)
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Wed Apr 13 16:18:35 EDT 2011
Yes it does ... see below
Does that mean I specified something incorrectly within my project ?
Note also that the problem occurs only when VTK is built statically ...
Jc
readelf -d /home/jchris/Projects/R-2.11.1/lib64/R/lib/libR.so |grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libRblas.so]
* 0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.3]
*
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libreadline.so.6]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library:
[ld-linux-x86-64.so.2]
readelf -d /home/jchris/Projects/R-2.11.1/lib64/R/lib/libRlapack.so |grep
NEEDED
0x0000000000000001 (NEEDED) Shared library: [libRblas.so]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
readelf -d /home/jchris/Projects/R-2.11.1/lib64/R/lib/libRblas.so |grep
NEEDED
* 0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.3]
*
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
On Wed, Apr 13, 2011 at 3:56 PM, Brad King <brad.king at kitware.com> wrote:
> 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
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110413/c265ce21/attachment-0001.htm>
More information about the CMake
mailing list