← Back to team overview

cuneiform team mailing list archive

[Bug 566828] Re: MacOS X: dynamical libraries not found after installation of cuneiform 0.9.0

 

If you want to install stuff to nonstandard locations so that libraries
are resolved automatically you need to set the runtime RPATH. CMake's
docs tell you how to do it. It is not set by default, as this is a
choice for the packager/distro. For example Debian forbids runtime RPATH
except in certain specific circumstances.

-- 
MacOS X: dynamical libraries not found after installation of cuneiform 0.9.0
https://bugs.launchpad.net/bugs/566828
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: New

Bug description:
I'm trying to make a Portfile for cuneiform 0.9.0 on MacOS X. Therefore, I need to call make install with non standard prefixes. When I use such a non standard prefix, like this:

cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/tmp/usr/ ..
make

everything compiles fine, and

./cuneiform
works:

Cuneiform for Linux 0.9.0
Usage: ./cuneiform [-l languagename -f format --dotmatrix --fax -o result_file] imagefile

However, after

make install

cuneiform is installed into the right directory according to the prefix, but the binary doesn't find it's own dynlibs anymore:

/tmp/usr/bin/cuneiform
dyld: Library not loaded: libcuneiform.0.9.0.dylib
  Referenced from: /tmp/usr/bin/cuneiform
  Reason: image not found

For cuneiform 0.8.0, everything works fine, no matter what prefix I give.





References