Date: Tue, 01 Jan 2019 21:31:14 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 220103] devel/glib20: Undefined symbol "environ" (WITH_LLD_IS_LD) Message-ID: <bug-220103-6497-CAVYuIwV9D@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220103-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-220103-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220103 --- Comment #4 from Max <maxsteciuk@gmail.com> --- Here is some additional information. This is quick simple test to verify that clib with environ symbol is presen= t on the system > #include <stdio.h> > #include <stddef.h> >=20 > extern char** environ; >=20 > int main(int argc, char *argv[]) > { > int count =3D 0; >=20 > printf("\n"); > while(environ[count] !=3D NULL) > { > printf("[%s] :: ", environ[count]); > count++; > } >=20 > return 0; > } > [ ~]$ cc test_env.c=20 > [~]$ ./a.out=20 >=20 > [LC_ALL=3Den_US.UTF-8] ... Here is ldconfig output > [~]$ sudo ldconfig -r|grep glib > 164:-lpyglib-2.0-python2.7.0 =3D> /usr/local/lib/libpyglib-2.0-py= thon2.7.so.0 > 186:-ljson-glib-1.0.0 =3D> /usr/local/lib/libjson-glib-1.0.so.0 > 395:-lglib-2.0.0 =3D> /usr/local/lib/libglib-2.0.so.0 > 439:-ldbus-glib-1.2 =3D> /usr/local/lib/libdbus-glib-1.so.2 > 554:-lavahi-glib.1 =3D> /usr/local/lib/libavahi-glib.so.1 > 726:-lpulse-mainloop-glib.0 =3D> /usr/local/lib/libpulse-mainloop= -glib.so.0 > 765:-lpoppler-glib.8 =3D> /usr/local/lib/libpoppler-glib.so.8 > [ ~]$ sudo ldconfig -r|grep "libc.so" > 33:-lc.7 =3D> /lib/libc.so.7 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220103-6497-CAVYuIwV9D>