Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 14:07:06 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Enji Cooper <yaneurabeya@gmail.com>
Cc:        Trev <freebsd-current@sentry.org>, FreeBSD Current <freebsd-current@freebsd.org>, mmel@FreeBSD.org
Subject:   Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (RPI/arm64)
Message-ID:  <20181227140706.748bf173@ernst.home>
In-Reply-To: <3BB1A8CA-272D-4B48-81A2-CBAF7EE23507@gmail.com>
References:  <CALvFMRys9oKvCTF7JR=1X81d9G1wFZtCy6Gov2uPuCDGkX=-FA@mail.gmail.com> <d8dfd071-9703-521c-6073-4641c372a926@sentry.org> <3BB1A8CA-272D-4B48-81A2-CBAF7EE23507@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Dec 2018 03:58:51 -0800
Enji Cooper <yaneurabeya@gmail.com> wrote:

> > On Dec 27, 2018, at 2:17 AM, Trev <freebsd-current@sentry.org> wrote:
> > 
> > Graham Perrin wrote on 26/12/2018 21:20:  
> >> grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
> >> Wed Dec 26 10:18:52 GMT 2018
> >> FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
> >> grahamperrin@momh167-gjp4-8570p:~ % iridium
> >> ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> >> grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' iridium-browser
> >> www/iridium 2018.5.67_6 FreeBSD
> >> grahamperrin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181227140706.748bf173>