← Back to team overview

cuneiform team mailing list archive

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

 

Public bug reported:

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.

** Affects: cuneiform-linux
     Importance: Undecided
         Status: New

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





Follow ups

References