Glibc编译报错:*** LD_LIBRARY_PATH shouldn't contain the current directory when*** building glibc. Please change the environment variable

Performing compile error below glibc

[root@localhost tmpdir]# ../configure --prefix=/usr/loacl/glibc2.9 --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin

Here is the problem of environment variables, environment variables can be added

[root@localhost tmpdir]# vim /etc/profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/loacl/glibc2.9/lib

export LD_LIBRARY_PATH

 

Guess you like

Origin www.cnblogs.com/relax-zw/p/11328435.html