← 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

 

-DCMAKE_INSTALL_PREFIX is supposed to be the final installation
directory. Not /tmp/whatever. You need to pass the temporary install
prefix to make install with DESTDIR=/tmp/whatever. Or something like
that, I don't remember ATM. See CMake's docs.

-- 
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