[MacPorts] #37395: On PPC Tiger, Mac OS X 10.4.11, tk has a problematic wish: Could not open /opt/local/lib:/opt/local/lib/libtk8.6.dylib
MacPorts
noreply at macports.org
Wed Dec 26 13:14:09 PST 2012
#37395: On PPC Tiger, Mac OS X 10.4.11, tk has a problematic wish: Could not open
/opt/local/lib:/opt/local/lib/libtk8.6.dylib
------------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: tk |
------------------------------+--------------------------------
Comment (by macports@…):
FTR, from a
[https://blogs.oracle.com/dipol/entry/dynamic_libraries_rpath_and_mac hint
in this blog post] I was able to confirm that the "install name" embedded
in the libtk8.6.dylib file contains the incorrect path, and it appears
that then gets copied into the binary at link time. Hopefully that
provides a hint for where to start looking for the underlying build
problem.
{{{
ewen at bethel:~$ otool -D /opt/local/lib/libtk8.6.dylib
/opt/local/lib/libtk8.6.dylib:
/opt/local/lib:/opt/local/lib/libtk8.6.dylib
ewen at bethel:~$
}}}
(This also means that if you have anything else which links against libtk,
then you'll either (a) need to fix the install name in libtk8.6.dylib
before building the other things, or (b) go around and fixup each
executable individually. In my case I only use TCL/TK, via wish, for one
programme, so fixing wish8.6 was sufficient.)
Ewen
--
Ticket URL: <https://trac.macports.org/ticket/37395#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list