#31988: libiconv doesn't seem to work on x86_64 --------------------------------+------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid Comment: Replying to [comment:2 dave@…]:
I'm trying to build gcc from source using macports' libiconv.
Oh. Ok. Well there's nothing wrong with the libiconv port. Based on the line...
{{{ gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict- prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno- long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style- definition -Wc++-compat -fno-common -DHAVE_CONFIG_H gcov.o libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov }}} ...it looks like "`-L/opt/local/lib`" is missing. The gcc46 port uses the configure argument `--with-libiconv-prefix=/opt/local`; perhaps you need to add that. -- Ticket URL: <https://trac.macports.org/ticket/31988#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS