wont start, ubuntu 9.10

Installation issues
nathe
Posts: 3
Joined: Thu Sep 10, 2009 9:37 pm

wont start, ubuntu 9.10

Post by nathe » Thu Sep 10, 2009 8:44 pm

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.

simong
Posts: 48
Joined: Wed Jul 04, 2007 1:14 pm

wont start, ubuntu 9.10

Post by simong » Tue Sep 15, 2009 5:15 pm

MEDUSA is a 32bit program so you need to install the 32bit compatiblity libs.

nathe
Posts: 3
Joined: Thu Sep 10, 2009 9:37 pm

wont start, ubuntu 9.10

Post by nathe » Thu Sep 17, 2009 11:12 pm

Cheers for that. I was wondering but couldn't find any info.

nathe
Posts: 3
Joined: Thu Sep 10, 2009 9:37 pm

wont start, ubuntu 9.10

Post by nathe » Sun Sep 20, 2009 4:23 pm

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.

keeswouters
Posts: 3
Joined: Tue Dec 22, 2009 4:13 pm
Location: Kuringen

wont start, ubuntu 9.10

Post by keeswouters » Mon Dec 28, 2009 6:01 pm

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

simong
Posts: 48
Joined: Wed Jul 04, 2007 1:14 pm

wont start, ubuntu 9.10

Post by simong » Tue Dec 29, 2009 12:08 pm

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

keeswouters
Posts: 3
Joined: Tue Dec 22, 2009 4:13 pm
Location: Kuringen

wont start, ubuntu 9.10

Post by keeswouters » Fri Jan 01, 2010 8:14 pm

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

simong
Posts: 48
Joined: Wed Jul 04, 2007 1:14 pm

wont start, ubuntu 9.10

Post by simong » Sat Jan 02, 2010 12:03 pm

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.

keeswouters
Posts: 3
Joined: Tue Dec 22, 2009 4:13 pm
Location: Kuringen

wont start, ubuntu 9.10

Post by keeswouters » Mon Jan 04, 2010 11:18 pm

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

pase
Posts: 50
Joined: Thu Sep 28, 2006 7:59 am

wont start, ubuntu 9.10

Post by pase » Tue Jan 12, 2010 10:40 am

Woohoo cool fix.

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

Thx

Post Reply