[omniORB] dylib compatibility version missing on macOS
Benjamin Bertrand
benjamin.bertrand at maxiv.lu.se
Thu Jan 18 11:26:58 UTC 2024
Hello,
After compiling the new omniORB 4.3.2, I noticed that the compatibility version is not set on the macOS dylib.
$ otool -L libomniORB4.3.dylib
libomniORB4.3.dylib:
@rpath/libomniORB4.3.2.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libomnithread.4.3.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
Due to the lack of this information, it’s not possible to run cpptango 9.5.0 (compiled with omniorb 4.3.1) with omniorb 4.3.2 on macOS, because it’s linking explicitely against 4.3.1:
$ otool -L libtango.dylib
libtango.dylib:
@rpath/libtango.95.dylib (compatibility version 95.0.0, current version 9.5.0)
@rpath/libomniORB4.3.1.dylib (compatibility version 0.0.0, current version 0.0.0)
On Linux and Windows, it works fine.
On Linux, the soname is set to “libomniORB4.so.3”.
I’d expect the equivalent on macOS by using the flags “-compatibility_version 4.3.0 -current_version 4.3.2”.
Do you agree?
Is it something that could be added?
Thanks
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20240118/19537ba3/attachment.html>
More information about the omniORB-list
mailing list