octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suitesparse libs (AMD, ..) issues during configure (Mageia-6)


From: John W. Eaton
Subject: Re: Suitesparse libs (AMD, ..) issues during configure (Mageia-6)
Date: Fri, 1 Sep 2017 11:26:58 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 09/01/2017 09:18 AM, PhilipNienhuis wrote:
Hi,

I'm trying to build dev octave on Mageia-6 (just released) and run into the
following during configure:

:
configure:42494: checking suitesparse/amd.h usability
configure:42494: gcc -c -g -O2 -pthread -fopenmp   conftest.c >&5
configure:42494: $? = 0
configure:42494: result: yes
configure:42494: checking suitesparse/amd.h presence
configure:42494: gcc -E   conftest.c
configure:42494: $? = 0
configure:42494: result: yes
configure:42494: checking for suitesparse/amd.h
configure:42494: result: yes
configure:42505: checking for amd_postorder in -lamd
configure:42536: gcc -o conftest -g -O2 -pthread -fopenmp     conftest.c
-lamd -lutil -lm   >&5
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_config'
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_free'
/usr/lib/gcc/x86_64-mageia-linux-gnu/5.4.0/../../../../lib64/libamd.so:
undefined reference to `SuiteSparse_malloc'
:

Octave builds fine AFAICS but to proceed further and cross-build for
mxe-octave, the dist target needs COLAMD and I suppose AMD / CAMD / CCOLAMD
to build the docs.

How can I get this fixed?

I saw the old bug #43063 but that is quite a while back. Until a few weeks
ago I could build Octave w/o issues on Mageia-6 RC incl suitesparse.

What does

  ldd /usr/lib64/libamd.so

show you? Does it include libsuitesparseconfig.so in the list of libraries that are linked to libamd.so? If not, then I think maybe this is a configuration/build/packaging error in your version of suitesparse.

Even though I really think that your suitesparse libraries should be linked to the config library if they need it, I checked in the following changeset. Does it help?

http://hg.savannah.gnu.org/hgweb/octave/rev/6f56efc098bd

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]