从源代码安装 glibc static
Installing glibc static from source
我需要从源代码安装 glibc static(我在没有 root 访问权限的服务器上工作)并且我遇到了一些困难。
我从 GNU FTP 下载了 glibc-2.24.tar.gz
,将其解压缩并从另一个目录 运行 ./configure
,如说明中所示。我收到以下消息:
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
首先,我是否应该为makeinfo
操心?其次,更重要的是,我不明白关于 LD_LIBRARY_PATH 的错误。路径不在这个变量中:
$ echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64
First, should I bother about makeinfo?
仅当您希望 configure
实际工作时。 (顺便说一下,您的整个目标:"install glibc static from source" 可能基于错误的假设,您可能不应该尝试这样做)。
Second and more important, I don't understand the error concerning LD_LIBRARY_PATH. The path is not in this variable:
$ echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64
:
之前的前导空字符串等同于 .
,即它与具有 LD_LIBRARY_PATH=.:/usr/local/cuda/lib64
相同并且警告是正确的。
我需要从源代码安装 glibc static(我在没有 root 访问权限的服务器上工作)并且我遇到了一些困难。
我从 GNU FTP 下载了 glibc-2.24.tar.gz
,将其解压缩并从另一个目录 运行 ./configure
,如说明中所示。我收到以下消息:
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
首先,我是否应该为makeinfo
操心?其次,更重要的是,我不明白关于 LD_LIBRARY_PATH 的错误。路径不在这个变量中:
$ echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64
First, should I bother about makeinfo?
仅当您希望 configure
实际工作时。 (顺便说一下,您的整个目标:"install glibc static from source" 可能基于错误的假设,您可能不应该尝试这样做)。
Second and more important, I don't understand the error concerning LD_LIBRARY_PATH. The path is not in this variable:
$ echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64
:
之前的前导空字符串等同于 .
,即它与具有 LD_LIBRARY_PATH=.:/usr/local/cuda/lib64
相同并且警告是正确的。