MacOS: installed Zorba is not filesystem-independent

Bug #867138 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Chris Hillery

Bug Description

Executables and .dylibs in MacOS have hard-coded paths to the .dylibs they depend on, and using the default CMake install mechanism, these will be absolute paths. Hence, you cannot simply install Zorba to one directory and then move it to another later, because (at least) zorbacmd and all the module libraries refer to the original absolute path to libzorba.

There are a few ways to fix this using "install_name_tool", which lets you change these references. You can change them to relative paths using @loader_path, for instance. Also, if you install Zorba as a framework, you possibly have additional options.

tags: removed: v2.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.