Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Thu, 27 Dec 2018 14:07:06 +0100
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_at_, 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
Received on Thu Dec 27 2018 - 12:07:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC