git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to compile without iconv?

From
SZSascha Ziemann <ceving@gmail.com>
Date
Jun 9, 2015, 14:07 UTC
Message-ID
<CAGUt3y4RgtkP35XstHGQ=T3zkb_akZSRS=q227wMehVzmu9MDA@mail.gmail.com>
I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:
$ ./configure --without-iconv
$ grep -i iconv config.status
ac_cs_config="'--without-iconv'"
  set X /bin/bash './configure'  '--without-iconv'
$ac_configure_extra_args --no-create --no-recursion
OLD_ICONV=UnfortunatelyYes
But when I try to compile it, I get an error that libiconv is missing:
    LINK git-credential-store
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     libgit.a(lockfile.o)
libiconv_close                      libgit.a(utf8.o)
libiconv_open                       libgit.a(utf8.o)
libintl_ngettext                    libgit.a(date.o)
libiconv                            libgit.a(utf8.o)
ld: fatal: symbol referencing errors. No output written to git-credential-store
collect2: ld returned 1 exit status
gmake: *** [git-credential-store] Error 1
How can I work around this?
Next: Torsten Bögershausen
Message 1 of 2 in “How to compile without iconv?”
  1. Sascha ZiemannJun 9, 2015
  2. Torsten BögershausenJun 9, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.