LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2012, 08:10 AM   #1
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Rep: Reputation: 2
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
 
Old 07-27-2012, 02:05 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
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.
 
Old 07-28-2012, 07:07 AM   #3
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by business_kid View Post
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.
 
Old 07-29-2012, 10:29 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
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.
 
Old 07-31-2012, 04:57 AM   #5
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
The latest packages "1fix1" solve this issue. Thanks.
 
  


Reply

Tags
fortran, gcc, ld, multilib, slackbuild



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] can sbo break a multilib install? Cultist Slackware 3 02-24-2011 09:43 AM
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 08:50 AM
[SOLVED] Digikam from SBo does not compile on 64-current of 2010-03-09 gargamel Slackware 10 03-21-2010 05:28 PM
Virtualbox-ose compilation error using Sbo slack-build samac Slackware 11 10-30-2008 02:28 PM
Unable to install packages from fat32 for -current build MWilson Slackware 10 09-04-2005 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration