[Scilab-Dev] Oh scilab!what a beaut you are you are if only you'd build without the war

Calixte Denizet calixte at contrib.scilab.org
Mon Nov 1 13:42:42 CET 2010


Hello,

what's the output of :
# ldconfig -v | grep libamd

and the output of
$ readelf -a /path/to/lib/libamd.so | grep amd_info

?

Calixte

Le lundi 01 novembre 2010 à 13:23 +0000, bv a écrit :
> On Sunday 31 October 2010 22:35:02 bv wrote:
> 
> > 
> > I just found this link   for a report of the said problem on suse-11.2
> > http://scigroups.net/comp.soft-sys.math.scilab/compiling-scilab-5.2.2-on-
> > opensuse-11.2
> > 
> > could anyone advise if there is a fix upstream in scilab for this?
> 
> ############## this error:-
> configure: error: libamd: Library missing (Cannot find symbol amd_info). Check 
> if libamd (sparse matrix minimum degree ordering) is installed and if the 
> version is correct
> 
> Seems to plague  versions of scilab I have tried with umfpack. It occurs with 
> both older and new versions of imfpack+co.  And the checks I have made  show  
> both static and shared libs of libamd   are archived with amd_i_info.o as 
> shown  in the build log below:-
> -----------------------------------------
> 
> ################################################
>  1-- compiling  AMD-2.2.1  
> ##################################################
> 
> gfortran -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32 -fPIC -
> m64 -c ../Source/amd.f -o amd.o
> gfortran -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32 -fPIC -
> m64 -c ../Source/amdbar.f -o amdbar.o
> ar cr libamdf77.a amd.o amdbar.o
> ranlib libamdf77.a
> ( cd Lib    ; make )
> make[1]: Entering directory `$SOURCES/buildNUMERICS/AMD-2.2.1/Lib'
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -c 
> ../Source/amd_global.c -o amd_global.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_aat.c -o amd_i_aat.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_1.c -o amd_i_1.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_2.c -o amd_i_2.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_dump.c -o amd_i_dump.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_postorder.c -o amd_i_postorder.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_post_tree.c -o amd_i_post_tree.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_defaults.c -o amd_i_defaults.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_order.c -o amd_i_order.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_control.c -o amd_i_control.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_info.c -o amd_i_info.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_valid.c -o amd_i_valid.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDINT -c 
> ../Source/amd_preprocess.c -o amd_i_preprocess.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_aat.c -o amd_l_aat.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_1.c -o amd_l_1.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_2.c -o amd_l_2.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_dump.c -o amd_l_dump.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_postorder.c -o amd_l_postorder.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_post_tree.c -o amd_l_post_tree.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_defaults.c -o amd_l_defaults.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_order.c -o amd_l_order.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_control.c -o amd_l_control.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_info.c -o amd_l_info.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_valid.c -o amd_l_valid.o
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -DDLONG -c 
> ../Source/amd_preprocess.c -o amd_l_preprocess.o
> ar cr libamd.a amd_global.o amd_i_aat.o amd_i_1.o amd_i_2.o amd_i_dump.o 
> amd_i_postorder.o amd_i_post_tree.o amd_i_defaults.o amd_i_order.o 
> amd_i_control.o amd_i_info.o amd_i_valid.o amd_i_preprocess.o amd_l_aat.o 
> amd_l_1.o amd_l_2.o amd_l_dump.o amd_l_postorder.o amd_l_post_tree.o 
> amd_l_defaults.o amd_l_order.o amd_l_control.o amd_l_info.o amd_l_valid.o 
> amd_l_preprocess.o
> ranlib libamd.a
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -c 
> ../Source/amd_global.c -o amd_global.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_aat.c -o amd_i_aat.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_1.c -o amd_i_1.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_2.c -o amd_i_2.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_dump.c -o amd_i_dump.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_postorder.c -o amd_i_postorder.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_post_tree.c -o amd_i_post_tree.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_defaults.c -o amd_i_defaults.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_order.c -o amd_i_order.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_control.c -o amd_i_control.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_info.c -o amd_i_info.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_valid.c -o amd_i_valid.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDINT -c 
> ../Source/amd_preprocess.c -o amd_i_preprocess.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_aat.c -o amd_l_aat.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_1.c -o amd_l_1.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_2.c -o amd_l_2.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_dump.c -o amd_l_dump.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_postorder.c -o amd_l_postorder.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_post_tree.c -o amd_l_post_tree.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_defaults.c -o amd_l_defaults.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_order.c -o amd_l_order.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_control.c -o amd_l_control.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_info.c -o amd_l_info.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_valid.c -o amd_l_valid.oo
> gcc -O3 -fexceptions -m64 -fPIC  -I../Include -I../../UFconfig -fPIC -DDLONG -
> c ../Source/amd_preprocess.c -o amd_l_preprocess.oo
> gcc -shared amd_global.oo amd_i_aat.oo amd_i_1.oo amd_i_2.oo amd_i_dump.oo 
> amd_i_postorder.oo amd_i_post_tree.oo amd_i_defaults.oo amd_i_order.oo 
> amd_i_control.oo amd_i_info.oo amd_i_valid.oo amd_i_preprocess.oo amd_l_aat.oo 
> amd_l_1.oo amd_l_2.oo amd_l_dump.oo amd_l_postorder.oo amd_l_post_tree.oo 
> amd_l_defaults.oo amd_l_order.oo amd_l_control.oo amd_l_info.oo amd_l_valid.oo 
> amd_l_preprocess.oo -lm -Wl,-soname -Wl,libamd.so.2.2.1 -o libamd.so.2.2.1
> ln -s libamd.so.2.2.1 libamd.so
> make[1]: Leaving directory `$SOURCES/buildNUMERICS/AMD-2.2.1/Lib'
> ( cd Demo   ; make )
> 
> -------------------------------------------
> 
> ####### I have also now tried scilab-5.3.0-beta4. running configue ends like 
> so:-
> -------------------
> checking for umfpack.h... yes
> checking for amd_info in -lamd... no
> configure: error: libamd: Library missing (Cannot find symbol amd_info). Check 
> if libamd (sparse matrix minimum degree ordering) is installed and if the 
> version is correct
> -----------------
> 
> I am using a machine with pure 64-bit (x86_64) libraries.  I am wondering  if 
> scilab (or at least parts of it) currently has  problems building on pure 64-
> bit-libs-machines.  Suggestions would be appreciated.
> 
> sincerely
> bv





More information about the dev mailing list