[MacPorts] #68278: openjdk17: missed dependency to libiconv
MacPorts
noreply at macports.org
Sat Sep 30 12:34:39 UTC 2023
#68278: openjdk17: missed dependency to libiconv
------------------------+--------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openjdk17 |
------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:3 breun]:
> The pre-built JVM ports I maintain reference `/usr/lib/libiconv.2.dylib`
instead of `/opt/local/lib/libiconv.2.dylib`, and no linking errors are
reported when installing them on a system without the `libiconv` port
installed,
Naturally.
> even though there is no `/usr/lib/libiconv.2.dylib` file on my system.
>
> But I also see `/usr/lib/libSystem.B.dylib` in the list of used shared
libraries for both `openjdk17` and `openjdk17-zulu`, and I don't have that
file on my system, but there are no link errors reported for that. I am
not very familiar with how shared dylib files work though.
Apple, in their wisdom, have decided to remove libraries and the library
parts of frameworks from the filesystem as of macOS 11. They are now only
in the dyld cache. So you cannot tell whether a library exists by checking
if a file is there. The only way to know is to try to `dlopen` it.
--
Ticket URL: <https://trac.macports.org/ticket/68278#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list