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
_______________________________________________
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