From benjamin.bertrand at maxiv.lu.se Fri Apr 18 09:32:14 2025 From: benjamin.bertrand at maxiv.lu.se (Benjamin Bertrand) Date: Fri, 18 Apr 2025 09:32:14 +0000 Subject: [omniORB] Incorrect install name for dylib on macOS Message-ID: Hello, After compiling omniORB 4.3.3, I noticed that we still have issue on macOS. cpptango is still compiled against the exact version: @rpath/libomniORB4.3.3.dylib (instead of @rpath/libomniORB4.3.dylib). I thought setting the compatibility version would fix that, but the problem comes from the install name. $ otool -L libomniORB4.dylib libomniORB4.dylib: @rpath/libomniORB4.3.3.dylib (compatibility version 4.3.0, current version 4.3.3) @rpath/libomnithread.4.3.dylib (compatibility version 4.3.0, current version 4.3.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 1351.0.0) $ otool -D libomniORB4.dylib libomniORB4.dylib: @rpath/libomniORB4.3.3.dylib otool -D should return ?@rpath/libomniORB4.3.dylib? I tested changing the id name with ?install_name_tool? and cpptango links against the proper file afterwards. To fix omniORB, it seems ?-install_name? should be passed in LDFLAGS on macOS. Could that be added to the build system? Thanks Benjamin -------------- next part -------------- An HTML attachment was scrubbed... URL: