mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Build Python against libintl header from gettext instead of libintl musl.
@ 2025-04-20 11:45 lid gnulinux
  2025-04-21  0:06 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: lid gnulinux @ 2025-04-20 11:45 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

Hello I'm using musl-based linux distro (Linux from scratch + musl), I use
libintl header file from gettext instead of musl libintl header. Would it
be any trouble when I want to build Python ? Thanks.

[-- Attachment #2: Type: text/html, Size: 206 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [musl] Build Python against libintl header from gettext instead of libintl musl.
  2025-04-20 11:45 [musl] Build Python against libintl header from gettext instead of libintl musl lid gnulinux
@ 2025-04-21  0:06 ` Rich Felker
  2025-04-21  3:08   ` [musl] " lid gnulinux
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2025-04-21  0:06 UTC (permalink / raw)
  To: lid gnulinux; +Cc: musl

On Sun, Apr 20, 2025 at 06:45:37PM +0700, lid gnulinux wrote:
> Hello I'm using musl-based linux distro (Linux from scratch + musl), I use
> libintl header file from gettext instead of musl libintl header. Would it
> be any trouble when I want to build Python ? Thanks.

The GNU gettext libintl.h is for use with the GNU gettext
libintl.so/.a. If you want to link against that, it should work. But
if you want to use the libc functionality, using the wrong header will
make it break. Using GNU libintl with musl is not really recommended.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [musl] Re: Build Python against libintl header from gettext instead of libintl musl.
  2025-04-21  0:06 ` Rich Felker
@ 2025-04-21  3:08   ` lid gnulinux
  0 siblings, 0 replies; 3+ messages in thread
From: lid gnulinux @ 2025-04-21  3:08 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

Thanks Rich Felker.

On Monday, April 21, 2025, Rich Felker <dalias@libc.org> wrote:

> On Sun, Apr 20, 2025 at 06:45:37PM +0700, lid gnulinux wrote:
> > Hello I'm using musl-based linux distro (Linux from scratch + musl), I
> use
> > libintl header file from gettext instead of musl libintl header. Would it
> > be any trouble when I want to build Python ? Thanks.
>
> The GNU gettext libintl.h is for use with the GNU gettext
> libintl.so/.a. If you want to link against that, it should work. But
> if you want to use the libc functionality, using the wrong header will
> make it break. Using GNU libintl with musl is not really recommended.
>

[-- Attachment #2: Type: text/html, Size: 904 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-21  3:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-20 11:45 [musl] Build Python against libintl header from gettext instead of libintl musl lid gnulinux
2025-04-21  0:06 ` Rich Felker
2025-04-21  3:08   ` [musl] " lid gnulinux

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).