LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Unable to build SuiteSparse (from SBo) in multilib 64-current. (http://www.linuxquestions.org/questions/slackware-14/unable-to-build-suitesparse-from-sbo-in-multilib-64-current-4175418938/)

hiptobecubic 07-27-2012 09:10 AM

Unable to build SuiteSparse (from SBo) in multilib 64-current.
 
Exactly what it says on the tin.

Trying to build SuiteSparse from SBo and failling to link because of incompatibility of /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/libgfortranbegin.a.

The error is simply:
Code:

ar cr libcholmod.a cholmod_aat.o cholmod_add.o cholmod_band.o cholmod_change_factor.o cholmod_common.o cholmod_complex.o cholmod_copy.o cholmod_dense.o cholmod_error.o cholmod_factor.o cholmod_memory.o cholmod_sparse.o cholmod_transpose.o cholmod_triplet.o cholmod_check.o cholmod_read.o cholmod_write.o cholmod_amd.o cholmod_analyze.o cholmod_colamd.o cholmod_etree.o cholmod_factorize.o cholmod_postorder.o cholmod_rcond.o cholmod_resymbol.o cholmod_rowcolcounts.o cholmod_rowfac.o cholmod_solve.o cholmod_spsolve.o cholmod_drop.o cholmod_horzcat.o cholmod_norm.o cholmod_scale.o cholmod_sdmult.o cholmod_ssmult.o cholmod_submatrix.o cholmod_vertcat.o cholmod_symmetry.o cholmod_rowadd.o cholmod_rowdel.o cholmod_updown.o cholmod_super_numeric.o cholmod_super_solve.o cholmod_super_symbolic.o cholmod_ccolamd.o cholmod_csymamd.o cholmod_metis.o cholmod_nesdis.o cholmod_camd.o cholmod_l_aat.o cholmod_l_add.o cholmod_l_band.o cholmod_l_change_factor.o cholmod_l_common.o cholmod_l_complex.o cholmod_l_copy.o cholmod_l_dense.o cholmod_l_error.o cholmod_l_factor.o cholmod_l_memory.o cholmod_l_sparse.o cholmod_l_transpose.o cholmod_l_triplet.o cholmod_l_check.o cholmod_l_read.o cholmod_l_write.o cholmod_l_amd.o cholmod_l_analyze.o cholmod_l_colamd.o cholmod_l_etree.o cholmod_l_factorize.o cholmod_l_postorder.o cholmod_l_rcond.o cholmod_l_resymbol.o cholmod_l_rowcolcounts.o cholmod_l_rowfac.o cholmod_l_solve.o cholmod_l_spsolve.o cholmod_l_drop.o cholmod_l_horzcat.o cholmod_l_norm.o cholmod_l_scale.o cholmod_l_sdmult.o cholmod_l_ssmult.o cholmod_l_submatrix.o cholmod_l_vertcat.o cholmod_l_symmetry.o cholmod_l_rowadd.o cholmod_l_rowdel.o cholmod_l_updown.o cholmod_l_super_numeric.o cholmod_l_super_solve.o cholmod_l_super_symbolic.o cholmod_l_ccolamd.o cholmod_l_csymamd.o cholmod_l_metis.o cholmod_l_nesdis.o cholmod_l_camd.o
ranlib libcholmod.a
/tmp/SBo/SuiteSparse/CHOLMOD /tmp/SBo/SuiteSparse
/tmp/SBo/SuiteSparse/Lib /tmp/SBo/SuiteSparse/CHOLMOD /tmp/SBo/SuiteSparse
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/libgfortranbegin.a when searching for -lgfortranbegin
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgfortranbegin
collect2: error: ld returned 1 exit status




And the difference between alien's gcc-gfortran-4.7.1_multilib-x86_64-1alien package and the vanilla 64bit.

multilib: http://pastie.org/4342280
vanilla: http://pastie.org/4342369

business_kid 07-27-2012 03:05 PM

I think it's right, and that the file is a 64 bit.

I have slackware-13.37 multilib, and in /usr/ I have i486-slackware-linux/ for 32 bit, and x86_64-slackware-linux for 64bit. I think it grabbed a 64 bit file.

hiptobecubic 07-28-2012 08:07 AM

Quote:

Originally Posted by business_kid (Post 4739596)
I think it's right, and that the file is a 64 bit.

I have slackware-13.37 multilib, and in /usr/ I have i486-slackware-linux/ for 32 bit, and x86_64-slackware-linux for 64bit. I think it grabbed a 64 bit file.

I don't have i486-slackware-linux anywhere. Both /usr/lib/gcc and /usr/lib64/gcc have only an x86_64-slackware-linux directory. What I'm thinking is that -currents multilib is broken at the moment.

business_kid 07-29-2012 11:29 AM

I would at least try a few symlinks
Quote:

ln -s /usr/lib/x86_64-slackware-linux /usr/lib/i486-slackware-linux
ln -s /usr/lib/x86_64-slackware-linux /usr/i486-slackware-linux
ln -s /usr/lib64/x86_64-slackware-linux /usr/x86_64-slackware-linux
It may throw another error:-P.

hiptobecubic 07-31-2012 05:57 AM

The latest packages "1fix1" solve this issue. Thanks.


All times are GMT -5. The time now is 07:53 PM.