Hi Mages, I am compiling Scilab code from repository, but it have a error: configure: error: libumfpack: Library missing. (Cannot find symbol umf_divcomplex). Check if libumfpack is installed and if the version is correct (also called lib suitesparse) But libumfpack is installed. My system have lib64umfpack-devel, lib64umfpack5.5.1, and lib64umfpack5.6.1 installed. In this same compilation, Scilab configure found some umfpack libraries installed: checking suitesparse/umfpack.h usability... yes checking suitesparse/umfpack.h presence... yes checking for suitesparse/umfpack.h... yes checking for amd_info in -lamd... yes checking for umf_divcomplex in -lumfpack... no Is it some problem with umfpack package? Thanks!
Assignee: bugsquad => grenoyaSource RPM: (none) => scilab
Hello. This problem remains currently. Do you have some idea about it? Thank you;
Hi, I invastigated a bit while building scilab 5.4: there is no problem with umfpack. 'nm' find all the symbols without any problem. I ended up by disactivating umfpack for scilab build. I didn't find yet why scilab can't see symbols that are in the lib. Claire
Hello, I and Sylvestre Ledru, a Scilab developer, have been working in this bug. We reported the follow information about it: "That is the error: gcc -o conftest -g -O2 conftest.c -lumfpack -lamd -lblas -lpthread -ldl -lcurses -lm -lm >&5 /usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/../../../../lib64/libumfpack.so: undefined reference to `SuiteSparse_time' A priori, I would say that umfpack is not explicitly linked against lib SuiteSparse.so (-lSuiteSparse) if it exists or the -Wl,--as-needed created some mess. Basically, it is a bug of the suitesparse package in Mageia. Scilab should build with: --with-umfpack-library="-lumfpack -lSuiteSparse" or with the attached patch (which is mageia specific) Could you report a bug ? I will try to workaround this issue from Scilab." Can anyone verify it? Thanks;
Source RPM: scilab => umfpack
Hello, I confirm the last bug (undefined reference to `SuiteSparse_time') for mageia 3. It prevents any user to link a code against the umfpack lib : [bruno@localhost lib64]$ objdump -T libumfpack.so | grep time 0000000000000000 D *UND* 0000000000000000 SuiteSparse_time 0000000000088eb0 g DF .text 0000000000000005 Base umfpack_timer and SuiteSparse_time isn't defined in any other related libs shipped with mageia 3 (or I missed such a lib). I think one could add the libsuitesparse_config (a very small lib which defines SuiteSparse_time among a few other routines) in mageia 3. Moreover the octave package in mageia could then offers its sparse features. hth Bruno
CC: (none) => bruno.pincon
Hi The lib is already there (from the start) but with this new version, the other libs need to be properly linked to it and I could not solve that yet.
Hi, thank you for your answer but I am not sure to understand (I didn't find any libsuitesparse_config.so in mageia 3 I see only the suitesparse-common-devel which contains the .h but not the lib) . If you have some time, please could you explain in more details which problems you met with this package ? thx
Hello, now I can compile Scilab from repository with umfpack using suitesparse-devel. Thanks! I will close this bug, but if anyone have any related problem, anyone can reopen this.
Status: NEW => RESOLVEDResolution: (none) => FIXED