Hi Folks,
Is there a solution to find a library having a revision number ?
For example, on Ubuntu, after I installed 'libgfortran3', there is the
library /usr/lib/libgfortran.so.3
then the following command failed: FIND_LIBRARY(GFortran_LIBRARY gfortran)
If I create the symlink
On 04/13/2011 02:44 PM, Jean-Christophe Fillion-Robin wrote:
Is there a solution to find a library having a revision number ?
You can specify the actual library file name libgfortran.so.3.
However, you shouldn't need to find implicit compiler runtime libraries.
Are you trying to mix C++ and
On Wed, Apr 13, 2011 at 3:26 PM, Brad King brad.k...@kitware.com wrote:
On 04/13/2011 02:44 PM, Jean-Christophe Fillion-Robin wrote:
Is there a solution to find a library having a revision number ?
You can specify the actual library file name libgfortran.so.3.
Great
However, you
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
On 04/13/2011 09:26 PM, Brad King wrote:
On 04/13/2011 02:44 PM, Jean-Christophe Fillion-Robin wrote:
Is there a solution to find a library having a revision number ?
You can specify the actual library file name libgfortran.so.3.
AFAIK, this is not sufficient because FIND_LIBRARY() only
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
0x0001 (NEEDED) Shared
Thanks Michael
Doing the following ends up working ...
IF(UNIX)
# If the faster 'gold' linker is used, to avoid complaints about undefined
symbol
# '_gfortran_concat_string', '_gfortran_pow_i4_i4', ... , let's link
against gfortran libraries.
# These errors happen while linking against VTK