Compiling sox with "-headerpad_max_install_names"
Joshua Root
jmr at macports.org
Fri Feb 4 11:23:04 PST 2011
On 2011-2-5 00:21 , Adrian Glaubitz wrote:
> Hi,
>
> I'm using "sox" as part of my own code and I am trying to deploy an application
> with the code linking to libsox. When calling macdeployqt from Qt 4.7.1, I receive
> a similar error message as described in ticket #23372, [1].
>
> Thus:
>
> [glaubitz at oslo:linux-minidisc/qhimdtransfer]$ macdeployqt-4.7 QHiMDTransfer.app
> ERROR: "install_name_tool: changing install names or rpaths can't be redone for: QHiMDTransfer.app/Contents/Frameworks//libsox.1.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names)
> "
>
> I have had the same problem with ffmpeg before and I could fix it by adding
> "-headerpad_max_install_names" in the configure options of ffmpeg. However,
> the configure script does not know anything about this option.
This is an option for ld, so configure scripts usually wouldn't know
about it. Try configure.ldflags.
- Josh
More information about the macports-dev
mailing list