LinuxQuestions.org
Help answer threads with 0 replies.
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 11-18-2012, 04:49 PM   #1
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Rep: Reputation: 44
Draftsight on slackware64 13.37


Hi all,

I am trying to figure out how to install and run Draftsight (a 2D cad program) on my slackware64 box..

Using the slackbuild script available at slackbuilds.org, I immediately get a

Code:
x86_64 is not supported...
I tried to pass the parameter ARCH=i386 to the script but I get strange errors such as

Code:
bash-4.1# ./draftsight.SlackBuild
x - debian-binary
x - control.tar.gz
x - data.tar.gz
ar: /home/lpallard/draftsight/draftSight.deb is not a valid archive
I have enabled multilib as per AlienBob's instruction on his wonderful Wiki (Thanks AlienBob for your efforts!!) and other 32 bit only apps are running and installing just fine..

Anybody can help?
Thanks !
 
Old 11-19-2012, 07:04 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 87
Remove these lines from the SlackBuild:

Quote:
if [ "$ARCH" != "i386" ]; then
printf "\n\n$ARCH is not supported...\n"
exit 1
fi
and re-try. Leave $ARCH alone.
 
Old 11-19-2012, 09:05 AM   #3
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
I've already tried that but it didn't work. I first thought this didn't work for whatever reasons but I've discovered that the .deb file downloaded from dassault website was corrupted.. I have tried to download it several times getting files of different sizes.. not normal at all.

Later on I tried to get the archive again but their website was down again..
 
Old 11-19-2012, 06:37 PM   #4
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
Ok I have tried to run the slackbuild script with commented lines, compilation and installation are fine, but when I start the app I get

Quote:
/opt/dassault-systemes/draftsight/bin/draftsight.bin: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
So I did a system sesrch and found 3 libvraries
Quote:
/usr/lib64/libaudio.so.2.4
/usr/lib64/libaudio.so.2
/usr/lib64/libaudio.so
Ive made a symbolic link from /usr/lib64/libaudio.so.2 to /usr/lib/libaudio.so.2

but of course when I start the app I get
Quote:
/opt/dassault-systemes/draftsight/bin/draftsight.bin: error while loading shared libraries: libaudio.so.2: wrong ELF class: ELFCLASS64
That would be because the library is compiled in 64bit correct? How can I compile the same library in 32 bit so I can put it in /usr/lib/ with the other 32 bit libraries..?

I thought "multilib" was actually more flexible than that. I have never played with mixed configs like 32 & 64 bits in the same OS so bear with me..

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Draftsight vins.610 Suse/Novell 1 12-15-2011 10:45 AM
DraftSight - workspace area is blank kmacphail Linux - Software 1 05-19-2011 09:41 PM
LXer: Professional Quality CAD on Linux with DraftSight LXer Syndicated Linux News 1 04-13-2011 08:04 AM
LXer: Download DraftSight - Free AutoCAD-Compatible 2D CAD Software For Linux LXer Syndicated Linux News 0 03-12-2011 02:51 PM
LXer: DWG Cad on Linux - Draftsight and Ares Commander LXer Syndicated Linux News 0 09-18-2010 08:20 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration