AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[glibc](server)

Martin Hope
Alejandro Arcila
Asked: 2021-04-02 07:39:18 +0800 CST

在 Centos 6 上需要新的 GLIBC 才能在 GPU 上使用 PyTorch

  • 0

我正在使用运行 Centos 6 的超级计算机设施。我要使用的节点有 3 Tesla V100。问题是安装在该节点上的 GLIBC 版本与我必须使用的最新版本的 PyTorch 不兼容。

我没有根。因此,我需要一种从用户级别使用另一个 GLIBC 的方法。我可以与系统管理员交谈并从 root 做一些事情(比如使用 Docker 或类似的东西),但我无法在全球范围内重新安装 OS 或 GLIBC。我曾尝试在没有 root 的情况下自行安装 GLIBC,但无法正确安装;那没起效。这需要太多时间,并且找不到正确的教程。

我有一些想法,比如尝试运行一个可以访问节点并使用其他操作系统的容器;当我预定的计算时间结束时,我可以按照我得到它的方式离开节点;为超级计算机设施的下一个用户。

我也在考虑 chroot;下载 Centos 8 的 ISO 并 chroot 到其中,但我不知道它是否会使用主机操作系统使用的 GLIBC 或 Centos 8 GLIBC。

你建议我做什么?你认为 Docker 会满足我的需求吗?还是其他容器化解决方案?继续尝试安装其他 GLIBC?

centos glibc
  • 1 个回答
  • 162 Views
Martin Hope
Vedran B
Asked: 2020-05-18 17:50:38 +0800 CST

在 VPS、centOS 6 上删除 glibc x86_64

  • 0

你能帮我解决这个问题吗?

我“意外地” rpm -e glibc.x86_64 库并使我的 VPS 无法使用,因为所有命令都会引发以下错误之一:

[root@panel lib64]# yum
bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
[root@panel lib64]# ls 
bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

如果以下任何一项可以提供帮助:

1)我仍然连接到外壳

2) 我无法启动恢复,因为它是远程 VPS

3) 仍然安装了 i686 glibc

4) 我的主目录中有 x86_64 版本的 .rpm 文件。

5) 有/lib/ld-linux.so.2,我能以某种方式指向系统使用那个吗?

6) 我有一个 /opt/glibc-2.14/lib/ld-linux-x86-64.so.2 ,我可以执行带有前缀的命令,但关键的命令,如 rpm2cpio 或 wget 会引发共享对象错误。

我可以使用静态命令或将其他一些库放在路径中或任何其他方式来解决这个问题吗?

谢谢大家。

linux centos vps glibc libraries
  • 3 个回答
  • 425 Views
Martin Hope
Nobilis
Asked: 2016-04-18 23:37:46 +0800 CST

在 CentOS 6.7 上 glibc 编译的程序,它们也会在 CentOS 5.10 上运行吗?

  • 4

我们有一个网格计算环境,主要由 CentOS 5.10 主机组成,人们在上面编译应用程序然后运行它们。

我们正在考虑升级到 CentOS 6.7,我们想知道它上面的 glibc 是否会向后兼容 CentOS 5.10,因为我们将无法一次性推出升级(例如,有人可能会编译6.7 然后编译被分派到 5.10 主机执行)。

CentOS 6.7 上的 glibc 编译程序本质上会在 CentOS 5.10 上运行吗?

我们已经查看了 6.7 的 glibc 的源代码(不记得正确的版本),我们认为它应该是,但希望获得第二意见。

linux centos redhat glibc
  • 1 个回答
  • 115 Views
Martin Hope
I'll-Be-Back
Asked: 2012-07-14 08:34:34 +0800 CST

找不到“GLIBC_2.7”

  • 1

我在 Linux 上安装了 fpcalc,当我执行以下命令时:

./fpcalc

我收到一条错误消息:

./fpcalc: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./fpcalc)

我试过谷歌搜索,但找不到解决此问题的直接答案

我正在运行 CentOS 5.8 版(最终版)并安装了 glibc-2.5-81.el5_8.2

linux centos centos5 glibc
  • 1 个回答
  • 2877 Views
Martin Hope
Abbas Gadhia
Asked: 2012-06-09 18:47:02 +0800 CST

使用 Yum 安装 Glibc2

  • 0

我正在尝试安装 openoffice 3.4 所需的 glibc2 版本 2.11 https://issues.apache.org/ooo/show_bug.cgi?id=119393

但我似乎找不到与 yum 的依赖关系。我已经安装了以下依赖项。

glibc.i686                                2.5-49.el5_5.7               installed
glibc.x86_64                              2.5-49.el5_5.7               installed
glibc-common.x86_64                       2.5-49.el5_5.7               installed
glibc-devel.x86_64                        2.5-49.el5_5.7               installed
glibc-headers.x86_64                      2.5-49.el5_5.7               installed
libc-client.x86_64                        2004g-2.2.1                  installed

and

glibc.i686                                2.5-81.el5_8.2               updates
glibc.x86_64                              2.5-81.el5_8.2               updates
glibc-common.x86_64                       2.5-81.el5_8.2               updates
glibc-devel.i386                          2.5-81.el5_8.2               updates
glibc-devel.x86_64                        2.5-81.el5_8.2               updates
glibc-headers.x86_64                      2.5-81.el5_8.2               updates
glibc-utils.x86_64                        2.5-81.el5_8.2               updates

我运行以下命令来获取版本,但它显示了一些不同的东西

[root@***** /]# ./lib64/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.

有人可以帮忙吗?

谢谢!

编辑:我正在使用 CentOS 2.6.18-128.1.10.el5

linux yum openoffice glibc glib
  • 1 个回答
  • 1598 Views
Martin Hope
exhuma
Asked: 2010-03-28 04:38:32 +0800 CST

在 debian 3.1 上升级内核的问题

  • 3

我在远程服务器场中有一个很旧的盒子。所以我没有直接访问权限。仅远程 SSH(并通过 SSH 连接到串行控制台)。我已经很久没有更新这个盒子了。现在,每当我想安装一个新包时,就会出现对 glibc 的依赖。不幸的是,glibc 的安装依赖于 2.6 内核,而我正在运行一个古老的 2.4 内核(升级的另一个原因)。

问题是,新内核的安装对 glibc 有间接(通过语言环境)依赖。所以,要安装 glibc,我需要一个新内核。对于新内核,我需要升级 glibc。基本上我被阻止了。考虑到我没有“硬件”访问权限,最好的方法是什么?

以下是升级过程的快速记录:

[green:~]% sudo aptitude install linux-image-686
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are unused and will be REMOVED:
  gcc-4.3-base
The following NEW packages will be automatically installed:
  dash libc6-i686 libparse-recdescent-perl linux-image-2.6-686
  linux-image-2.6.18-6-686 module-init-tools yaird
The following packages have been kept back:
  adduser apache2 apache2-mpm-prefork apache2-utils apache2.2-common apt
  apt-utils aptitude autoconf autotools-dev awstats base-files base-passwd
  [...snip...]
  util-linux vacation vim vim-common wamerican wbritish wget whiptail whois
  wwwconfig-common zlib1g
The following NEW packages will be installed:
  dash libc6-i686 libparse-recdescent-perl linux-image-2.6-686
  linux-image-2.6.18-6-686 linux-image-686 module-init-tools yaird
The following packages will be upgraded:
  hotplug libc6
2 packages upgraded, 8 newly installed, 1 to remove and 277 not upgraded.
Need to get 0B/22.7MB of archives. After unpacking 52.1MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 34065 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-13 (using .../libc6_2.7-18lenny2_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: init script for postgresql not found.

  [ --- libc6 config screen appears here --- ]

WARNING: POSIX threads library NPTL requires kernel version
2.6.8 or later. If you use a kernel 2.4, please upgrade it
before installing glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add etch sources to your /etc/apt/sources.list and run:
  apt-get install -t etch linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18lenny2_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18lenny2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
dpkg: dependency problems prevent configuration of locales:
locales depends on glibc-2.7-1; however:
  Package glibc-2.7-1 is not installed.
dpkg: error processing locales (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
locales
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

现在,如果我按照提示进行操作,我会得到以下信息。请注意,我使用aptitude而不是apt-get从更好的依赖跟踪中受益。我确实尝试过apt-get。但这让我遇到了同样的问题。

[green:~]% sudo aptitude install -t etch linux-image-2.6.26-2-686
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
E: Unable to correct problems, you have held broken packages.
E: Unable to correct dependencies, some packages cannot be installed
E: Unable to resolve some dependencies!
Some packages had unmet dependencies.  This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following packages have unmet dependencies:
  linux-image-2.6.26-2-686: Depends: initramfs-tools (>= 0.55) but it is not installable or
                yaird (>= 0.0.13) but it is not installable or
                linux-initramfs-tool which is a virtual package.

有任何想法吗?

debian kernel glibc
  • 2 个回答
  • 952 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve