WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: no libiconv  (Read 212 times)

Offline jbbum

  • Newbie
  • *
  • Posts: 41
no libiconv
« on: February 04, 2026, 07:36:01 PM »
Is there a libiconv.tcz for aarch64?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12553
Re: no libiconv
« Reply #1 on: February 04, 2026, 08:41:15 PM »
Hi jbbum
Are you looking for libiconv.so to link against? If so, I
don't think it existed in Tinycore.

If you are looking for iconv for character conversion, it's
in  glibc_apps.tcz.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12553
Re: no libiconv
« Reply #2 on: February 04, 2026, 09:36:13 PM »
Hi jbbum
Are you looking for libiconv.so to link against? ...
I found this for armhf, though I doubt aarch64 is different.
It appears libc provides iconv support:
Code: [Select]
tc@E310:~$ readelf -s -D PiCore/TC15/armhf/rootfs/lib/libc.so.6 | grep -E "Symbol|Num Buc|iconv"
Symbol table for image:
  Num Buc:    Value  Size   Type   Bind Vis      Ndx Name
  241 693: 00023cb4   208 FUNC    GLOBAL DEFAULT  11 iconv_open
  585 780: 00023d84   528 FUNC    GLOBAL DEFAULT  11 iconv
  698 936: 00023f94    68 FUNC    GLOBAL DEFAULT  11 iconv_close

Google  iconv c library linux  for more information.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15463
Re: no libiconv
« Reply #3 on: February 05, 2026, 03:21:50 AM »
iconv functions are supported by glibc in all architectures of tinycore.

Occasionally there’s a problem with a package that looks for libiconv (libarchive was such a case in piCore a few days ago), but it’s becoming less and less common.

Way back around the time of tc-4.x we had a libiconv extension, but it was dropped in favour of glibc.
« Last Edit: February 05, 2026, 03:27:58 AM by Juanito »

Offline jbbum

  • Newbie
  • *
  • Posts: 41
Re: no libiconv
« Reply #4 on: February 05, 2026, 11:38:47 AM »
I needed the program as the header is in glibc_base-dev.  Thanks Rich

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15463
Re: no libiconv
« Reply #5 on: February 05, 2026, 11:45:40 AM »
Note that you should load the compiletc meta extension, which would load glibc_base-dev amongst other extensions required to compile on tinycore.