[Trilinos-Users] [TRILINOS-11.14.1 INSTALLATION ERRORS]--UNDEFINED REFERENCE TO "CHOLMOD/ SUITESPARSE"

Bruno Turcksin bruno.turcksin at gmail.com
Wed Apr 15 11:32:44 MDT 2015


Joseph,

unless you really want cholmod and SuiteSparse, the best thing would be 
to completely remove them (you don't need them to run deal.II). There is 
a known bug with SuiteSparse in Ubuntu 
(https://bugs.launchpad.net/ubuntu/+source/suitesparse/+bug/1319687). 
Make sure that you do a complete removal otherwise the configure files 
will still be there and cmake may think that they are installed (this 
might be your problem btw).

Best,

Bruno

On 04/15/2015 11:12 AM, Ofosu Ampadu Joseph wrote:
> Dear All,
>
> I am new to Trilinos and would like to interface some of the libraries 
> with Deal II.
> I am building on Ubuntu 14.04 LTS OS.
> I have been able to successfully configure Trilinos, however during 
> installation via the command: 'sudo make install' , and after 27% of 
> built target success, I get the following errors:
>
> [ 27%] Built target Amesos_Amesos_TESTBASIC_COPY3
> Linking CXX executable amesos_test.exe
> ../../src/libamesos.so.11.14.1: undefined reference to `cholmod_start'
> ../../src/libamesos.so.11.14.1: undefined reference to `cholmod_finish'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `cholmod_free_factor'
> ../../src/libamesos.so.11.14.1: undefined reference to `SuiteSparse_free'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `cholmod_print_common'
> ../../src/libamesos.so.11.14.1: undefined reference to `SuiteSparse_time'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `cholmod_free_sparse'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `cholmod_transpose'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `SuiteSparse_config'
> ../../src/libamesos.so.11.14.1: undefined reference to 
> `SuiteSparse_malloc'
> ../../src/libamesos.so.11.14.1: undefined reference to `cholmod_analyze'
> collect2: error: ld returned 1 exit status
> make[2]: *** [packages/amesos/test/Test_Basic/amesos_test.exe] Error 1
> make[1]: *** 
> [packages/amesos/test/Test_Basic/CMakeFiles/amesos_test.dir/all] Error 2
> make: *** [all] Error 2
>
> I humbly ask if anyone could assist me with an advice of how to 
> proceed. Thanks.
>



More information about the Trilinos-Users mailing list