bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/lib/gcc/x86_64-alpine-linux-musl: libgettextlib.so: undefined r


From: Bruno Haible
Subject: Re: /usr/lib/gcc/x86_64-alpine-linux-musl: libgettextlib.so: undefined reference to `libiconv'
Date: Tue, 16 Jun 2020 02:35:29 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-179-generic; KDE/5.18.0; x86_64; ; )

I wrote:
> So evidently, gcc and the linker find libiconv.so (most likely due to the
> -L option that you gave). But the runtime loader does not find it.
> You did not pass an -rpath option to the linker, but you gave a -R option
> which - according to the documentation - ought to be equivalent.

To determine whether it's a linker or a dynamic linker problem, look at the
ELF dynamic header.
  $ readelf -d libgettextlib.so
  $ objdump -p libgettextlib.so

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]