SoQt linking error on Mavericks (10.9.3)
Daniel J. Luke
dluke at geeklair.net
Sun Jun 29 09:54:40 PDT 2014
On Jun 28, 2014, at 2:00 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
>
> Every link-time shared object contains a canonical name telling the dynamic loader how to find the runtime version of the shared object. On OS X with Mach-O, it's called "install_name" and is a full pathname; there is nothing like ELF's "rpath",
except that there is now ;-)
from man install_name_tool:
-rpath old new
Changes the rpath path name old to new in the specified Mach-O binary. More than one of these options can be
specified. If the Mach-O binary does not contain the old rpath path name in a specified -rpath it is an error.
-add_rpath new
Adds the rpath path name new in the specified Mach-O binary. More than one of these options can be specified. If
the Mach-O binary already contains the new rpath path name specified in -add_rpath it is an error.
-delete_rpath old
deletes the rpath path name old in the specified Mach-O binary. More than one of these options can be specified.
If the Mach-O binary does not contains the old rpath path name specified in -delete_rpath it is an error.
we use -add_rpath in the oracle-instantclient port for Leopard and newer...
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
More information about the macports-dev
mailing list