Ubuntu 10.04 64 Bit wont start

Installation, supported revisions
Post Reply
Mutschler
Posts: 2
Joined: Sat Jun 12, 2010 5:06 pm

Ubuntu 10.04 64 Bit wont start

Post by Mutschler » Sat Jun 12, 2010 4:25 pm

Hi
-sorry i am quite new to Medusa4 -

I wounder if there are any hints for a ubuntu 10.04 64 Bit system.

When I start

/opt/medusa4_personal_v4_0/master_project/startmedusa

I get the message

/opt/medusa4_personal_v4_0/medcolraster/m2d/run/draft: error while loading shared libraries: libtiff.so.3: wrong ELF class: ELFCLASS64

What can do ?

Thanks....

admin
Posts: 109
Joined: Tue Jul 03, 2007 10:23 am
Location: Germany
Contact:

Ubuntu 10.04 64 Bit wont start

Post by admin » Mon Jun 14, 2010 9:16 am

You could use the search engine of this forum or take a look at this FAQ entry on the CAD Schroer homepage.

http://calltracking.cad-schroer.com/php/window.php?thema=M4PlSupportFAQ.php&ziel=Products-MEDUSA-M4Personal&land=com&scr=1.4&source=www.cad-schroer.com&callp=176&show=95578

;)

Mutschler
Posts: 2
Joined: Sat Jun 12, 2010 5:06 pm

Ubuntu 10.04 64 Bit wont start

Post by Mutschler » Wed Jun 16, 2010 10:58 am

Thanks, unfortunally following the instructions

Back up the file login.bat in the "MEDUSA4/master_project" directory (e.g. by copying it and renaming it “login.bck“)

Open the original login file and enter the following text directly after the line "...java/jre/lib/i386":
## added to access 32bit libraries
setenv LD_LIBRARY_PATH \
`edpath -a LD_LIBRARY_PATH /usr/lib32`

Create a connection to libbz2.so.1 in the folder "/usr/lib32":
cd /usr/lib32
sudo ln -s /usr/lib32/libbz2.so.1.0.4 libbz2.so.1

still leads to the result


/opt/medusa4_personal_v4_0/medcolraster/m2d/run/draft: error while loading shared libraries: libtiff.so.3: wrong ELF class: ELFCLASS64


The symbolic link @ /usr/lib32 to the /usr/lib32/libbz2.so.1.0.4 is there; The setenv in the file login (named login not login.bat in the installation on my PC)

My Question: Does anybody run Medusa4_personal on Ubuntu 10.04 64 Bit and can she/he tell me how and which 32 Bit libraries are used. Do I need to set further links to 32 Bit libraries ?

Thanks for any hints ....

cosmiccheese
Posts: 1
Joined: Thu Jun 17, 2010 11:21 pm

Ubuntu 10.04 64 Bit wont start

Post by cosmiccheese » Thu Jun 17, 2010 10:29 pm

i used this
from another post

Try to use
sudo ln -s '/usr/lib32/libtiff.so.4.3.2' '/usr/lib32/libtiff.so.3' modified to your missing library.

you have to do to cd /usr/lib32 first.

i also use package manager and installed ia32 libs and i use the sun jre instead of openjdlk.

hope this helps.

muvikmultigrid
Posts: 1
Joined: Thu Jul 08, 2010 12:11 pm
Location: Mannheim
Contact:

Ubuntu 10.04 64 Bit wont start

Post by muvikmultigrid » Thu Jul 08, 2010 11:32 am

Hello at all,

I've installed Medusa on my Ubuntu 10.04 on a amd64 pc and I had the same problems with the 32bit libs.

With following instruction I get Medusa running on my machine:
+ install the 32bit libs with getlibs: sudo getlibs -l libtiff.so.4
+ change in the 32bit folder: cd /usr/lib32/
+ link the library: sudo ln -s libtiff.so.4 libtiff.so.3

This way you can install all other needed libs on a 64bit system.

I hope I could help.

steelker
Posts: 1
Joined: Fri Oct 22, 2010 5:25 pm

Ubuntu 10.04 64 Bit wont start

Post by steelker » Fri Oct 22, 2010 4:31 pm

It worked for me after:
cp /opt/medusa4_personal_v4_0/med2d/m2d/run/draft /opt/medusa4_personal_v4_0/medcolraster/m2d/run/draft

Anyway it seems on 64bit there are many library problems. For example, it's impossible to print, import raster images, read autocad files, and maybe much more.

cadconvert for example outputs:
/opt/medusa4_personal_v4_0/cadconvert/m2d/run/cadconvert: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory

Andy
Posts: 1
Joined: Wed Feb 04, 2015 10:06 pm

Re: Ubuntu 10.04 64 Bit wont start

Post by Andy » Wed Feb 04, 2015 10:20 pm

Thought I'd share my installation experience while it was fresh in my mind...

INSTALLING

Note Medusa is a 32-bit application so needs 32-bit libs to be installed,
which you're unlikely to have on a 64-bit Ubuntu machine. Hence the :i386
part of the sudo apt-get command.

Libs I needed before Medusa installer would run:

sudo apt-get install libglu1-mesa:i386
sudo apt-get install libXt-dev:i386

RUNNING

Run Medusa from the command line in order to see what's wrong, otherwise
a frustrating flicker will be seen as a command window evaporates before
you can read the error messages.

Note: Version number is bound to change at some time.

cd /opt/medusa4_personal_v5_2_1/master_project/
./startmedusa

Libs I needed before Medusa would start:

sudo apt-get install libbz2-dev:i386
sudo apt-get install libgomp1:i386
sudo apt-get install librsvg2-2:i386

There may be others, and libs may be needed at run-time but the principle is the same - always download the 32-bit version. I didn't need to create any symlinks to make the installation work, at least as far as starting the application.

HTH...

Post Reply