You are not logged in.

#1 2010-03-24 17:13:58

monotiz
Member
Registered: 2007-10-20
Posts: 140

[SOLVED] libbz2.so.1 problem (try to run medusa4)

Hi,
I tried to run medusa4 (installation it's ok) but I receive this error:

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

How can I fix this problem?

Thanks

Last edited by monotiz (2010-03-26 10:24:44)

Offline

#2 2010-03-24 18:25:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

Looks like it wants a 32 bit lib?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-03-24 19:34:25

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

.:B:. wrote:

Looks like it wants a 32 bit lib?

[tiziano@arch64 ~]$ sudo pacman -Qs bzip2
Password: 
local/bzip2 1.0.5-5 (base)
    A high-quality data compression program
local/lbzip2 0.23-1
    A multi-threaded bzip2/bunzip2 (de)compression tool
local/lib32-bzip2 1.0.5-5 (lib32)
    A high-quality data compression program
local/pbzip2 1.1.0-1
    Parallel implementation of the bzip2 block-sorting file compressor

Offline

#4 2010-03-24 19:40:10

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

If you don't mention you have the 32 bit libs installed, I can't guess that wink.

1) You don't need sudo to query the database smile
2) The fact a 32 bit bzip lib is installed does not necessarily mean it provides the library version your program is searching for.
3) Make sure the binary can access the shared library (ldconf etc.).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-03-25 10:45:03

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

.:B:. wrote:

If you don't mention you have the 32 bit libs installed, I can't guess that wink.

1) You don't need sudo to query the database smile
2) The fact a 32 bit bzip lib is installed does not necessarily mean it provides the library version your program is searching for.
3) Make sure the binary can access the shared library (ldconf etc.).

1) ok...
2) ...
3) I don't know how to verify this...
4) Thanks a lot

Offline

#6 2010-03-26 03:19:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

ls /opt/lib32/lib | grep libbz2

That tells you that it's there. If it is the right library but the system can't find it, run ldconfig as root.

Offline

#7 2010-03-26 10:21:46

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: [SOLVED] libbz2.so.1 problem (try to run medusa4)

skottish wrote:
ls /opt/lib32/lib | grep libbz2

That tells you that it's there. If it is the right library but the system can't find it, run ldconfig as root.

[tiziano@arch64 ~]$ ls /opt/lib32/lib | grep libbz2
libbz2.so
libbz2.so.1
libbz2.so.1.0
libbz2.so.1.0.4
[tiziano@arch64 ~]$ sudo ldconfig
[tiziano@arch64 ~]$

But same error when launch medusa4....

EDIT:
solved with:

sudo cp /opt/medusa4_personal_v4_0/med2d/m2d/run/draft /opt/medusa4_personal_v4_0/medcolraster/m2d/run/

Last edited by monotiz (2010-03-26 10:25:32)

Offline

Board footer

Powered by FluxBB