ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)
Gary Jennejohn
gljennjohn at gmail.com
Thu Dec 27 13:07:10 UTC 2018
On Thu, 27 Dec 2018 03:58:51 -0800
Enji Cooper <yaneurabeya at gmail.com> wrote:
> > On Dec 27, 2018, at 2:17 AM, Trev <freebsd-current at sentry.org> wrote:
> >
> > Graham Perrin wrote on 26/12/2018 21:20:
> >> grahamperrin at momh167-gjp4-8570p:~ % date ; uname -v
> >> Wed Dec 26 10:18:52 GMT 2018
> >> FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
> >> grahamperrin at momh167-gjp4-8570p:~ % iridium
> >> ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> >> grahamperrin at momh167-gjp4-8570p:~ % pkg query '%o %v %R' iridium-browser
> >> www/iridium 2018.5.67_6 FreeBSD
> >> grahamperrin at momh167-gjp4-8570p:~ %
> >> Any ideas?
> >> TIA
> >
> > Same problem with a freshly compiled (after 5 days, finished yesterday) www/chromium on RPi3.
> >
> > $ chrome
> > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> >
> > $ uname -a
> > FreeBSD rpi3.sentry.org 13.0-CURRENT FreeBSD 13.0-CURRENT r342189 RPI3 arm64
>
> Hmm___ is something wonky with recent changes to rtld-elf that might be impacting ARM64?
>
> CCing mmel@, because they might be interested in these bug reports.
>
No. I saw this with mplayer and also iridium when I installed them
with pkg on AMD64.
Strangely enough, mpv works, even though it shows a dependency on
libglib-2.0.so.0 when I run ldd on it.
glib-2 has "extern char **environ;" in one of its C-files.
--
Gary Jennejohn
More information about the freebsd-current
mailing list