[Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7

Lebouc Lise (CS SI) Lise.Lebouc at cnes.fr
Mon Feb 13 14:21:32 CET 2017


Hi !

Perfect, I installed lapack/3.5.0 and it's solved my problem. Thanks!

Lise

De : dev [mailto:dev-bounces at lists.scilab.org] De la part de Paul Bignier
Envoyé : vendredi 10 février 2017 17:15
À : List dedicated to the development of Scilab
Objet : Re: [Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7


Hello Lise,

dgeqpf & zgeqpf seem are deprecated<http://www.netlib.org/lapack/lapack-3.6.0.html> in Lapack 3.6+, that may be the issue here, could you please try with a less recent version<http://www.netlib.org/lapack/>? 3.5.0 should do.

Let us know hos it goes,
Regards,
Paul
On 02/10/2017 04:37 PM, Lebouc Lise (CS SI) wrote:
Hi,

I want to install Scilab 5.5.2 from source on Cent OS 7 with the minimal option and I obtain an error during the compilation step of Scilab.

My option for configure are :
configure --prefix=/install_directory
                --without-gui
                --without-javasci
                --without-jdk
                --disable-build-help
                --disable-build-localization
                --without-xcos
                --without-modelica
                --without-fftw
                --without-umfpack
                --without-matio
                --without-tk
                --without-openmp
                --without-arpack-ng
                --with-lapack-library=/install_directory/lapack/3.6.1/lib
                --with-blas-library=/install_directory/lapack/3.6.1/lib

I used lapack 3.6.1. Configure worked well but I got this message during the compilation :

g++ -DHAVE_CONFIG_H -I. -I./modules/core/includes  -I./modules/io/includes/ -I./modules/console/includes/ -I./modules/localization/includes/    -DNDEBUG -fno-stack-protector -g -O2 -MT modules/startup/src/c/scilab_bin-mainscic.o -MD -MP -MF modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo -c -o modules/startup/src/c/scilab_bin-mainscic.o `test -f 'modules/startup/src/c/mainscic.cpp' || echo './'`modules/startup/src/c/mainscic.cpp
mv -f modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo modules/startup/src/c/.deps/scilab_bin-mainscic.Po
/bin/sh ./libtool  --tag=CXX   --mode=link g++ -DNDEBUG -fno-stack-protector -g -O2   -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o scilab-bin modules/startup/src/c/scilab_bin-mainscic.o  ./modules/libscilab.la ./modules/libscilab-cli.la  -lxml2 -lz -lm -ldl  -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath  ./modules/console/libsciconsole-minimal.la ./modules/jvm/libscijvm-disable.la  -lpthread -ldl -lcurses  -lm
libtool: link: g++ -DNDEBUG -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o .libs/scilab-bin modules/startup/src/c/scilab_bin-mainscic.o  ./modules/.libs/libscilab.so -L/work/logiciels/rh7/lapack/3.6.1/lib /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so ./modules/.libs/libscilab-cli.so -lcurl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/functions/.libs/libscifunctions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/call_scilab/.libs/libscicall_scilab.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/localization/.libs/libscilocalization.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/special_functions/.libs/libscispecial_functions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/completion/.libs/libscicompletion.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_manager/.libs/libscihistory_manager.so -lpcreposix -lpcre /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so -lhdf5 -lhdf5_hl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/statistics/.libs/libscistatistics.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xml/.libs/libscixml.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/external_objects/.libs/libsciexternal_objects.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/preferences/.libs/libscipreferences-cli.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/gui/.libs/libscigui-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphics/.libs/libscigraphics-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/console/.libs/libsciconsole-minimal.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/jvm/.libs/libscijvm-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xcos/.libs/libscixcos-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/ui_data/.libs/libsciui_data-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/commons/.libs/libscicommons-disable.so -llapack -lblas -lxml2 -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgfortran -lquadmath ./modules/console/.libs/libsciconsole-minimal.so ./modules/jvm/.libs/libscijvm-disable.so -lpthread -ldl -lcurses -lm -Wl,-rpath -Wl,/work/ADM/hpc/leboucl/INSTALL/rh7/scilab/5.5.2/lib/scilab
/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `dgeqpf_'
/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `zgeqpf_'
collect2: error: ld returned 1 exit status
make[1]: *** [scilab-bin] Error 1
make[1]: Leaving directory `/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2'
make: *** [all-recursive] Error 1


Do you have any idea about what is missing to find the symbol dgeqpf_ and zgeqpf_ ? In which library should I find them?

Thanks,
Lise






_______________________________________________

dev mailing list

dev at lists.scilab.org<mailto:dev at lists.scilab.org>

http://lists.scilab.org/mailman/listinfo/dev



--

Paul BIGNIER

Development engineer

-----------------------------------------------------------

Scilab Enterprises

143bis rue Yves Le Coz - 78000 Versailles, France

Phone: +33.1.80.77.04.68

http://www.scilab-enterprises.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170213/25b09196/attachment.htm>


More information about the dev mailing list