#61485 closed defect (fixed)
blackbox @0.75 does not build on Big Sur, macOS 11.0.1, because of "Undefined symbols for architecture x86_64: "_libiconv", referenced from:"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | |
Port: | blackbox |
Description
The port
has a dependency
to libiconv
, but configure
does not check for its existence and there is nowhere supplied libiconv
to the compiler. configure
knows:
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir
– could be any of these can help…
Attachments (1)
Change History (7)
Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
It's probably the usual libtool bug on macOS 11+; patch is in libtool port.
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
I did not test that fix on macOS 11 but it is the usual fix for this issue. Let me know if that didn't fix it.
comment:4 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
This patch works as well:
--- lib/Makefile.in~ 2019-09-06 11:55:04.000000000 +0200 +++ lib/Makefile.in 2020-11-16 00:36:15.000000000 +0100 @@ -458,7 +458,7 @@ Util.hh \ XDG.hh -libbt_la_LIBADD = $(XFT_LIBS) $(XEXT_LIBS) $(X11_LIBS) +libbt_la_LIBADD = $(XFT_LIBS) $(XEXT_LIBS) $(X11_LIBS) $(LTLIBICONV) pkgconfigdir = $(libdir)/pkgconfig nodist_pkgconfig_DATA = libbt.pc all: all-am
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
If you believe that's the correct fix, you should submit it to the developers of blackbox.
comment:6 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
With blackbox @0.76
and dynamic_lookup-11.patch
build happens without problem (and without my patch).
Note: See
TracTickets for help on using
tickets.
Main.log from build on Big Sur