[MacPorts] #36841: How to compile opencv with headerpad_max_install_names flag?
MacPorts
noreply at macports.org
Wed Oct 31 15:24:07 PDT 2012
#36841: How to compile opencv with headerpad_max_install_names flag?
------------------------+--------------------------------
Reporter: luc.jean@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
------------------------+--------------------------------
Hello,
I have an issue when making an app bundle for a opencv/python app with
py2app.
The py2app maintainer said:
Shared libraries on OSX contain an absolute path to their location, and
likewise all used libraries are also mentioned using an absolute path.
Py2app uses macholib to rewrite those mentions to relative paths starting
with '@executable_path'. For libraries that are located in /opt/local the
new path requires more space than the old one, hence the error message.
One way to ensure that there is enough space is the linker flag
"headerpad_max_install_names". I don't know how to tell darwinports to add
this flag when building opencv.
I don't know either. Does anybody can help me to fix this issue?
Best
--
Ticket URL: <https://trac.macports.org/ticket/36841>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list