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....
Ubuntu 10.04 64 Bit wont start
Ubuntu 10.04 64 Bit wont start
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
;)
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
;)
Ubuntu 10.04 64 Bit wont start
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 ....
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 ....
-
- Posts: 1
- Joined: Thu Jun 17, 2010 11:21 pm
Ubuntu 10.04 64 Bit wont start
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.
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.
-
- Posts: 1
- Joined: Thu Jul 08, 2010 12:11 pm
- Location: Mannheim
- Contact:
Ubuntu 10.04 64 Bit wont start
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.
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.
Ubuntu 10.04 64 Bit wont start
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
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
Re: Ubuntu 10.04 64 Bit wont start
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...
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...