Opened 3 years ago

Closed 3 years ago

#64825 closed defect (invalid)

gettext-runtime, py-pip, others broken on macOS 12.3: Symbol not found: _libiconv

Reported by: essandess (Steve Smith) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: stromnov (Andrey Stromnov), py-pip, ryandesign (Ryan Carsten Schmidt)
Port: gettext-runtime, py-pip

Description

pip-3.9 install -I --user setuptools

dyld[72966]: Symbol not found: _libiconv
  Referenced from: /opt/local/lib/libintl.8.dylib
  Expected in: /usr/lib/libiconv.2.dylib
port provides /opt/local/lib/libintl.8.dylib
/opt/local/lib/libintl.8.dylib is provided by: gettext-runtime

Change History (4)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

/opt/local/lib/libintl.8.dylib should not be using /usr/lib/libiconv.2.dylib. It should be using /opt/local/lib/libiconv.2.dylib. Verify with otool -L:

$ otool -L /opt/local/lib/libintl.8.dylib
/opt/local/lib/libintl.8.dylib:
	/opt/local/lib/libintl.8.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1675.129.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

If your output looks like mine, then the correct functioning of the library is being subverted by you (or whatever you're running when this happens) setting DYLD_LIBRARY_PATH improperly.

If your output shows /opt/local/lib/libintl.8.dylib actually linking with /usr/lib/libiconv.2.dylib, try rebuilding the gettext-runtime runtime port with sudo port -n upgrade --force gettext-runtime.

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:3 in reply to:  1 Changed 3 years ago by essandess (Steve Smith)

Replying to ryandesign:

If your output looks like mine, then the correct functioning of the library is being subverted by you (or whatever you're running when this happens) setting DYLD_LIBRARY_PATH improperly.

That's it, and thank you for helping me look in the correct place. This is a non-issue and may be closed.

comment:4 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.