Re: Incorrect install name for dylib on macOS

Duncan Grisby via omniORB-list <[email protected]> Fri, 16 May 2025 10:48:48 +0100
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <[email protected]>
--=-XpkB/+10tpu4pS0z0iq0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2025-04-18 at 09:32 +0000, Benjamin Bertrand via omniORB-list
wrote:

> After compiling omniORB 4.3.3, I noticed that we still have issue on
> macOS.

[...]
> To fix omniORB, it seems =E2=80=9C-install_name=E2=80=9D should be passed=
 in LDFLAGS
> on macOS.

Sorry for missing this. The build does already set -install_name, but
it sets it to the full version. The attached tiny patch changes it.
Does that work for you?  If so I'll change the code.

You have to re-run the configure script after applying the patch.

Duncan.

--=20
 -- Duncan Grisby
  -- [email protected]
   -- https://www.grisby.org/



--=-XpkB/+10tpu4pS0z0iq0
Content-Disposition: attachment; filename="install_name.patch"
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="install_name.patch"; charset="UTF-8"

SW5kZXg6IG9tbmlPUkIvbWsvYmVmb3JlYXV0by5tay5pbgo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBvbW5pT1JC
L21rL2JlZm9yZWF1dG8ubWsuaW4JKHJldmlzaW9uIDY3ODApCisrKyBvbW5pT1JCL21rL2JlZm9y
ZWF1dG8ubWsuaW4JKHdvcmtpbmcgY29weSkKQEAgLTExMjMsNyArMTEyMyw3IEBACiBTaGFyZWRM
aWJyYXJ5U29OYW1lVGVtcGxhdGUgPSBsaWIkJDEkJDIuJCQzLiQoU0hBUkVETElCX1NVRkZJWCkK
IFNoYXJlZExpYnJhcnlMaWJOYW1lVGVtcGxhdGUgPSBsaWIkJDEkJDIuJChTSEFSRURMSUJfU1VG
RklYKQogU2hhcmVkTGlicmFyeVBsYXRmb3JtTGlua0ZsYWdzVGVtcGxhdGUgPSAtZHluYW1pY2xp
YiAkKENYWExJTktPUFRJT05TKSBcCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIC1pbnN0YWxsX25hbWUgJChJTlNUQUxMTElCRElSKS8kKFNoYXJlZExpYnJhcnlGdWxs
TmFtZVRlbXBsYXRlKSBcCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IC1pbnN0YWxsX25hbWUgJChJTlNUQUxMTElCRElSKS8kKFNoYXJlZExpYnJhcnlTb05hbWVUZW1w
bGF0ZSkgXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtY29tcGF0
aWJpbGl0eV92ZXJzaW9uICQkMi4kJDMgXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAtY3VycmVudF92ZXJzaW9uICQkMi4kJDMuJCQ0CiBQeXRob25MaWJyYXJ5UGxh
dGZvcm1MaW5rRmxhZ3NUZW1wbGF0ZSA9IC1idW5kbGUgLXVuZGVmaW5lZCBkeW5hbWljX2xvb2t1
cAo=


--=-XpkB/+10tpu4pS0z0iq0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list

--=-XpkB/+10tpu4pS0z0iq0--