Received: from libero.it (smtp-36.italiaonline.it [213.209.10.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 71A42781029 for ; Thu, 22 Sep 2022 21:38:51 +0000 (UTC) Received: from [192.168.1.36] ([151.55.89.43]) by smtp-36.iol.local with ESMTPA id bTuEobqoaQ6NebTuEoOsqM; Thu, 22 Sep 2022 23:38:50 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1663882730; bh=DwFCGyhrdbwmDolffpSiXQ+Z9AVMubMtcOqAM/l+zHU=; h=From; b=TFBJrpyGbHUD0nPDjYtGiFGQr6RnxAOdPfe4tl97iUTLEc4vzUap4Gw8uaj3U5oQ0 4raPbZJfNcdOqdrZu8VU9VPqCm8gZAkzq+LnkqDjiPmh3U8fIo82a7wxbfT12epvG6 h8g0Z4EhwS/J0lL4mfIYTfCII/iRFih2Lntn5uTwLT/iex+RRl18FW8I6T2T6gVaLR vROQ+bt69naGRkn22KoVAyq/91BbOkEKg7fAlsskLpV4YApdx7nvqLnSjkwlIEdhwZ e7wERtOWAMvD9sVyjarhv3GrcWgm9E27NHuxo4TjrGZLk9uCVgtRRvIoCpYIUPXDVq tbbT+9GGN7b6Q== X-CNFS-Analysis: v=2.4 cv=B4J8bMhM c=1 sm=1 tr=0 ts=632cd5ea cx=a_exe a=pGfzn5UA5rnG/cBYkY6yUw==:117 a=pGfzn5UA5rnG/cBYkY6yUw==:17 a=IkcTkHD0fZMA:10 a=5KEJ3k9QAAAA:8 a=faw-KYlbnDyJpNY_nBAA:9 a=QEXdDO2ut3YA:10 a=Dl06IcI41HkA:10 a=olg2BfGzmf2haRflzj8J:22 Subject: Re: iconv detection issues To: alpine-user References: <34652592-dd13-dca0-40a1-18eb43101bd9@libero.it> From: Riccardo Mottola Message-ID: <4473ae75-aa82-48a3-c7dc-833853304428@libero.it> Date: Thu, 22 Sep 2022 23:40:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.13 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfIPhZSts3B7XPd93Bm5OdPUe4ntDVnFZ8RwvN358Zf36HtOFHutv4DGVHps7Y0D1cjsqnlpioSY+yb9YlgdEHf4sIlskCrT6a20DqWc/9gwMkWq63AYg JhlKIDbISvZpPryq1o8ZxUNjtzln/oXNgW2S3fyXPX0ulXWlX+ikmYyPC1t/poTb25VcEtyCZoYnVV4bFvIjRzECdAX2trIaw+k= Hi Alice, alice wrote: >> conftest.c:235:48: warning: comparison between pointer and integer >>   235 | { return iconv_open("UTF-8//TRANSLIT","ASCII") == -1 ? 1 : 0; } > the TRANSLIT extension is not supported by musl iconv. > see: https://wiki.musl-libc.org/functional-differences-from-glibc.html#iconv > > so, the configure test fails. if the program hard-requires this > support, then you can try use gnu-libiconv(-dev), and see how to link > that (i don't know if it's actually the same api/kind of thing..) by > modifying the configure files, passing flags, etc. very good, indeed, using gnu-libiconv-dev and then fiddling with the include headers, made configure work. Linking should be fine, because the library is installed then in the usual place /usr/local/lib However, linking fails. At a first glance, not only iconv, but symbols of almost all libraries are missing: ... /usr/lib/gcc/i586-alpine-linux-musl/11.2.1/../../../../i586-alpine-linux-musl/bin/ld: /home/multix/code/libs-base/Source/GSTLS.m:2314: undefined reference to `gnutls_x509_crt_init' ... ression.m:744: undefined reference to `uregex_close_71' /usr/lib/gcc/i586-alpine-linux-musl/11.2.1/../../../../i586-alpine-linux-musl/bin/ld: /home/multix/code/libs-base/Source/NSRegularExpression.m:744: undefined reference to `uregex_lookingAt_71' ... /home/multix/code/libs-base/Source/GSFileHandle.m:298: undefined reference to `gzread' /usr/lib/gcc/i586-alpine-linux-musl/11.2.1/../../../../i586-alpine-linux-musl/bin/ld: ../Source/./obj/libgnustep-base.a(GSFileHandle.m.o): in function `_i_GSFileHandle__write_length_': looks to me like ICU, gzip, gnutls... like all linking failing! wow a hint where this could be different from other linux? Riccardo