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.k...@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to