MacOS X: dynamical libraries not found after installation of cuneiform 0.9.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cuneiform for Linux |
Invalid
|
Undecided
|
Unassigned |
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_
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/
dyld: Library not loaded: libcuneiform.
Referenced from: /tmp/usr/
Reason: image not found
For cuneiform 0.8.0, everything works fine, no matter what prefix I give.
Changed in cuneiform-linux: | |
status: | New → Invalid |
-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.