[Trilinos-Users] trilinos build fails: undefined reference to _gfortran...
Brad King
brad.king at kitware.com
Fri Nov 20 06:24:55 MST 2009
Slaven wrote:
> My Trilinos build on a linux box failed with the error message as
> shown below. It seems as if -lgfortran flag is missing somewhere in
> linking options. I am new to cmake so I would appreciate any advice
> how to troubleshoot this problem. Please let me know if you need me
> to provide more information.
What version of CMake are you running?
cmake --version
> [ 76%] Building CXX object packages/rythmos/test/UnitTest/CMakeFiles/
> Rythmos_AdjointModelEvaluator_UnitTest.dir/Rythmos_UnitTest.cpp.o
> Linking CXX executable Rythmos_AdjointModelEvaluator_UnitTest.exe
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../liblapack.so: undefined
> reference to `_gfortran_concat_string'
Please run
make VERBOSE=1
to see the full link line used, and post it. Also, what do the commands
ldd /usr/lib/liblapack.so
readelf -d /usr/lib/liblapack.so
say?
Thanks,
-Brad
More information about the Trilinos-Users
mailing list