|
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
[Prev in Thread] | Current Thread | [Next in Thread] |