Welcome, Guest. Please Login or Register
MEDUSA4 Forum
 
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
wont start, ubuntu 9.10 (Read 898 times)
nathe
New Member
Offline


I Love YaBB 2!

Posts: 3
wont start, ubuntu 9.10
09/10/09 at 19:44:56
 
Hello there,
I have installed medusa4 on mu ubuntu 9.10 system (64bit)
when starting i get the following message:

mxInterface : received data error
Segmentation fault

I'm new to both Linux and Medusa, how do I cure this so it will start. Please remember that I'm thick!
Many thanks for your help.
Back to top
 

(Attachment deleted)
 
IP Logged
 
simong
Full Member
**
Offline


I Love YaBB 2!

Posts: 46
Gender: male
Re: wont start, ubuntu 9.10
Reply #1 - 09/15/09 at 16:15:41
 
MEDUSA is a 32bit program so you need to install the 32bit compatiblity libs.
Back to top
 

(Attachment deleted)
 
IP Logged
 
nathe
New Member
Offline


I Love YaBB 2!

Posts: 3
Re: wont start, ubuntu 9.10
Reply #2 - 09/17/09 at 22:12:51
 
Cheers for that. I was wondering but couldn't find any info.
Back to top
 

(Attachment deleted)
 
IP Logged
 
nathe
New Member
Offline


I Love YaBB 2!

Posts: 3
Re: wont start, ubuntu 9.10
Reply #3 - 09/20/09 at 15:23:11
 
Next question then how do i create a 32 bit environment. or pointers to where there is a good set of instructions for doing so. your help is much appreciated.
Back to top
 

(Attachment deleted)
 
IP Logged
 
keeswouters
New Member
Offline


I Love YaBB 2!

Posts: 3
Kuringen
Gender: male
Re: wont start, ubuntu 9.10
Reply #4 - 12/28/09 at 17:01:03
 
I am running 64bit Ubuntu Karmic (9.10) and have the same problem. I get the wrong class for the libtiff file:

error while loading shared libraries: libtiff.so.3: wrong ELF class: ELFCLASS64

If you can point me to a 32bit version, much obliged.
But I am not really sure how much 32bit files need to be changed.

Kind regards - kees
Back to top
 

(Attachment deleted)
 
IP Logged
 
simong
Full Member
**
Offline


I Love YaBB 2!

Posts: 46
Gender: male
Re: wont start, ubuntu 9.10
Reply #5 - 12/29/09 at 11:08:28
 
You probably have version 4.0 which create a symbolic link in medsys/med/share below the install point. This needs to be changed to point to the 32 bit libtiff
Back to top
 

(Attachment deleted)
 
IP Logged
 
keeswouters
New Member
Offline


I Love YaBB 2!

Posts: 3
Kuringen
Gender: male
Re: wont start, ubuntu 9.10
Reply #6 - 01/01/10 at 19:14:55
 
hi simong,

alright, that libtiff issue seems to be resolved. I Modified the libtiff link to the 32bit library as follows:

cd  /...../medusa4/medsys/med/share/
sudo mv libtiff.so.3 libtiff.so.3.bck
ln -s -f /usr/lib32/libtiff.so.4 libtiff.so.3

Hope this is correct.
Now I get a complaints about libbz2 lib not found:

/cae/medusa/medusa4/medcolraster/m2d/run/draft: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory

However, in the directory /usr/lib32 this file is present, though not in lib and lib64. Do I need to set a path to lib32 somewhere, somehow?

Is it likely that (much) more problems like this pop up?

kind regards - kees
Back to top
« Last Edit: 01/01/10 at 21:32:32 by keeswouters »  

(Attachment deleted)
 
IP Logged
 
simong
Full Member
**
Offline


I Love YaBB 2!

Posts: 46
Gender: male
Re: wont start, ubuntu 9.10
Reply #7 - 01/02/10 at 11:03:03
 
MEDUSA is mainly used in a 32bit setting so it is likely the path is not correct for running a 32 bit program on a 64 bit machine. Below the install point will be a directory master_project in there a file called login you can edit the path setting there to include the 32 lib directory.
Back to top
 

(Attachment deleted)
 
IP Logged
 
keeswouters
New Member
Offline


I Love YaBB 2!

Posts: 3
Kuringen
Gender: male
Re: wont start, ubuntu 9.10
Reply #8 - 01/04/10 at 22:18:33
 
Hi Simong

thank you very much for pointing me in the right direction.
Medusa4 is now running on my system, Ubuntu 9.10, 64bit.

What I did:
back up file login in directory
..../medusa4/master_project/login --> login.bck

In this file ..../medusa4/master_project/login added the following lines:
## added to access 32bit libraries
setenv LD_LIBRARY_PATH \
`edpath -a  LD_LIBRARY_PATH /usr/lib32`

(in my file just after path to '.....java/jre/lib/i386')

Then  created a link for libbz2.so.1 in the /usr/lib32 directory:
cd /usr/lib32
sudo ln -s  /usr/lib32/libbz2.so.1.0.4  libbz2.so.1

Then it runs. Thank you very much again.

kind regards - kees
Back to top
 

(Attachment deleted)
 
IP Logged
 
pase
Full Member
**
Offline


I love YaBB 1G - SP1!

Posts: 45
Re: wont start, ubuntu 9.10
Reply #9 - 01/12/10 at 09:40:55
 
Woohoo cool fix.

Finally I can dump my virtual 32-bit machine and run medusa natively on ubuntu 64.

Thx
Back to top
 

(Attachment deleted)
 
IP Logged
 
Bucky
New Member
Offline


I Love YaBB 2!

Posts: 2
Re: wont start, ubuntu 9.10
Reply #10 - 08/16/11 at 07:27:43
 
good job !thank you for sharing !it's so helpful !

keep up the good work !

Back to top
« Last Edit: 08/17/11 at 09:25:11 by SURGE »  

(Attachment deleted)
 
IP Logged
 
Page Index Toggle Pages: 1