Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: jbbum on February 04, 2026, 07:36:01 PM

Title: no libiconv
Post by: jbbum on February 04, 2026, 07:36:01 PM
Is there a libiconv.tcz for aarch64?
Title: Re: no libiconv
Post by: Rich 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.
Title: Re: no libiconv
Post by: Rich 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.
Title: Re: no libiconv
Post by: Juanito 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.
Title: Re: no libiconv
Post by: jbbum on February 05, 2026, 11:38:47 AM
I needed the program as the header is in glibc_base-dev.  Thanks Rich
Title: Re: no libiconv
Post by: Juanito 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.