Bug 7668 - Where is umf_divcomplex?
Summary: Where is umf_divcomplex?
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Claire Revillet
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 00:05 CEST by Filipe Saraiva
Modified: 2013-10-26 21:23 CEST (History)
1 user (show)

See Also:
Source RPM: umfpack
CVE:
Status comment:


Attachments

Description Filipe Saraiva 2012-10-02 00:05:16 CEST
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!
Manuel Hiebel 2012-10-02 17:34:24 CEST

Assignee: bugsquad => grenoya
Source RPM: (none) => scilab

Comment 1 Filipe Saraiva 2013-01-26 17:21:19 CET
Hello.

This problem remains currently. Do you have some idea about it?

Thank you;
Comment 2 Claire Revillet 2013-01-28 09:58:48 CET
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
Comment 3 Filipe Saraiva 2013-02-12 21:16:20 CET
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;
Claire Revillet 2013-02-13 13:02:53 CET

Source RPM: scilab => umfpack

Comment 4 bruno pinçon 2013-09-06 15:06:40 CEST
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

Comment 5 Claire Revillet 2013-09-06 18:53:55 CEST
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.
Comment 6 bruno pinçon 2013-09-06 20:54:35 CEST
   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
Comment 7 Filipe Saraiva 2013-10-26 21:23:48 CEST
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 => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.