← 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

 

Thanks, Jussi.

RPATH does not work on MacOS X. There's a special option just for Mac
which plays the trick:

cmake -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib [...]

solves the problem. I'll soon submit the Macports Portfile for cuneiform
0.9.0. Once it's accepted, maybe you want to inform users on the
cuneiform webiste?


Best, Tobias.

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