#69690 closed defect (worksforme)
M4 fails on Ventura due to depending on /usr/lib/libiconv.2.dylib instead of /opt/local version
Reported by: | asvitkine | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | m4 |
Description (last modified by asvitkine)
/opt/local/bin/gm4 --version dyld[95941]: Symbol not found: _libiconv Referenced from: <7341635B-6C89-384C-9308-A9DA7C3756D9> /opt/local/bin/gm4 Expected in: <757EA503-9506-39CF-8357-A2F99AB99DC7> /usr/lib/libiconv.2.dylib Abort trap: 6
Change History (7)
comment:1 Changed 7 months ago by asvitkine
Description: | modified (diff) |
---|
comment:2 Changed 7 months ago by asvitkine
Description: | modified (diff) |
---|
comment:3 Changed 7 months ago by kencu (Ken)
comment:4 Changed 7 months ago by asvitkine
I'm confused by the dyld error since running otool on the binary doesn't show a dependency to the /usr/lib file:
`
$ otool -L /opt/local/bin/gm4
/opt/local/bin/gm4:
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /opt/local/lib/libintl.8.dylib (compatibility version 11.0.0, current version 11.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
`
comment:5 Changed 7 months ago by asvitkine
Hmm, I uninstalled all my ports and reinstalled using https://stackoverflow.com/a/27784713/14596701 and I am not seeing this anymore.
comment:6 Changed 7 months ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I think we'll close this ticket then as we'll never sort anything out with this now.
Pls reopen if you get a consistent failure again.
comment:7 Changed 7 months ago by jmroot (Joshua Root)
The original error looks like the kind of thing you get if you have DYLD_LIBRARY_PATH set (or possibly some other DYLD_* variables). Don't use /usr/bin/env to check for this BTW, as it is a SIP-protected binary and will not see any DYLD_* environment variables.
mine is fine on Mojave:
Let me see if I have a Ventura setup.