#677: MontySolr - Need to automatically build JCC and pylucene with JCC_FLAGS
point to JRE locations
--------------------------+------------------------------------
Reporter: rchyla | Owner: rchyla
Type: enhancement | Status: new
Priority: major | Milestone:
Component: *general* | Version:
Resolution: | Keywords: montysolr installation
--------------------------+------------------------------------
Comment (by rchyla):
On Mac
To show dependecncies:
{{{
MacBeth:JCC-2.7-py2.6-macosx-10.6-universal.egg rca$ otool -L libjcc.dylib
libjcc.dylib:
@rpath/libjcc.dylib (compatibility version 2.7.0, current version
2.7.0)
/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Python.framework/Versions/2.6/Python
(compatibility version 2.6.0, current version 2.6.1)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.1)
}}}
Excellent short info on what I want to change is:
http://www.eyrie.org/~eagle/notes/rpath.html
I also tried using the changeelf
(http://hydra.nixos.org/release/patchelf/patchelf-0.5) but it doesn't work
for me:
{{{
MacBeth:JCC-2.7-py2.6-macosx-10.6-universal.egg rca$ patchelf --set-rpath
/usr/lib:/opt/ libjcc.dylib.copy
not an ELF executable
}}}
Another useful docs on shared libraries: http://tldp.org/HOWTO/Program-
Library-HOWTO/shared-libraries.html
http://en.wikipedia.org/wiki/Executable_and_Linkable_Format
--
Ticket URL: <http://invenio-software.org/ticket/677#comment:1>
Invenio <http://invenio-software.org>