Opened 6 years ago

Closed 6 years ago

#5387 closed defect (fixed)

Broken installation of OMEdit

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Adeel Asghar
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version: v1.14.0-dev-nightly
Keywords: Cc: Martin Sjölund, Per Östlund

Description

I installed version 1.14.0~dev-362-g36558dc-1 on my Linux machine from the nightly repository. It seems that the installation is broken as I cannot start OMEdit any more:

> OMEdit 
OMEdit: error while loading shared libraries: libzlib.so.0: cannot open shared object file: No such file or directory

Change History (7)

comment:1 by Adeel Asghar, 6 years ago

Cc: Martin Sjölund added
Milestone: Future1.14.0

comment:2 by Christian Kral <dr.christian.kral@…>, 6 years ago

I ran sudo updatedb, checked on > locate libzlib.so and found:

/usr/lib/x86_64-linux-gnu/omc/libzlib.so
/usr/lib/x86_64-linux-gnu/omc/libzlib.so.0
/usr/lib/x86_64-linux-gnu/omc/libzlib.so.0.0.0

comment:3 by Martin Sjölund, 6 years ago

Cc: Per Östlund added

I can confirm this. It's a recent regression. Possibly Per's changes to link against ModelicaIO since omc also fails now...

We have:

	libzlib.so.0 => not found
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc6fca33000)

comment:4 by Martin Sjölund, 6 years ago

It seems to be due to some libtool magic which causes the path to become absolute and ignore our rpath flags.

comment:5 by Francesco Casella, 6 years ago

Priority: highblocker

comment:6 by Christian Kral <dr.christian.kral@…>, 6 years ago

My currently installed version

OMEdit 1.14.0~dev-52-ge4f00d9
Connected to OpenModelica 1.14.0~dev-374-g314b7e3
Connected to OMSimulator unknown-linux

is working again. The issue seems to be fixed.

comment:7 by Francesco Casella, 6 years ago

Resolution: fixed
Status: newclosed

Feel free to reopen the issue if it pops up again.

Note: See TracTickets for help on using tickets.