Gentoo Archives: gentoo-embedded

From: "René Rhéaume" <rene.rheaume@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Comments on uclibc-ng install
Date: Mon, 17 Oct 2016 02:10:30
Message-Id: CAPLjCyLLzwhNCa-giqNQ+ceOzPzxCzOQFchichJP-YzHGbUfVQ@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Comments on uclibc-ng install by waltdnes@waltdnes.org
1 > One further question; the messages after "emerge" say...
2 >
3 > /sbin/ldconfig: You should remove `/lib' from `/etc/ld.so.conf'
4 > /sbin/ldconfig: You should remove `/usr/lib' from `/etc/ld.so.conf'
5 >
6 > My /etc/ld.so.conf file is...
7 >
8 > # ld.so.conf autogenerated by env-update; make all changes to
9 > # contents of /etc/env.d directory
10 > /lib
11 > /usr/lib
12 > /usr/local/lib
13 > /usr/lib/gcc/i686-gentoo-linux-uclibc/4.9.3
14 >
15 > This says that /etc/ld.so.conf will be re-done each time I run
16 > env-update. It implies that changes should be made in /etc/env.d I
17 > executed "cd /etc/env.d" and then "grep -R /lib *". The output is...
18 >
19 > 00basic:LDPATH='/lib:/usr/lib:/usr/local/lib'
20 > 04gcc-i686-gentoo-linux-uclibc:LDPATH="/usr/lib/gcc/i686-gentoo-linux-uclibc/4.9.3"
21 > binutils/i686-gentoo-linux-uclibc-2.25.1:LIBPATH="/usr/lib/binutils/i686-gentoo-linux-uclibc/2.25.1"
22 > gcc/i686-gentoo-linux-uclibc-4.9.3:LDPATH="/usr/lib/gcc/i686-gentoo-linux-uclibc/4.9.3"
23 > gcc/i686-gentoo-linux-uclibc-4.9.3:MULTIOSDIRS="../lib"
24 > gcc/.NATIVE:LDPATH="/usr/lib/gcc/i686-gentoo-linux-uclibc/4.9.3"
25 > gcc/.NATIVE:MULTIOSDIRS="../lib"
26
27 Remove /lib:/usr/lib: from LDPATH in /etc/env.d/00basic, then run
28 env-update again