- Сломал дебиан GLIBC_2.14 not found
- How install GLIBC 2.29 or higher in Ubuntu 18.04
- Related
- /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17′ not found #1454
- Comments
- demian85 commented Jan 6, 2014
- demian85 commented Jan 6, 2014
- rogerwang commented Jan 7, 2014
- demian85 commented Jan 7, 2014
- rogerwang commented Jan 8, 2014
- demian85 commented Jan 8, 2014
- rogerwang commented Jan 9, 2014
- mrohnstock commented Jan 9, 2014
- demian85 commented Jan 9, 2014
- mrohnstock commented Jan 9, 2014
- demian85 commented Jan 9, 2014
- mrohnstock commented Jan 9, 2014
- demian85 commented Jan 9, 2014
- mrohnstock commented Jan 9, 2014
- demian85 commented Jan 9, 2014
- demian85 commented Jan 9, 2014
Сломал дебиан GLIBC_2.14 not found
При выполнении команды ls, cp, dpkg вылазит ошибка
# ls ls: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14′ not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
Данная ошибка возникла после долгих эксперементов с обновлением. Как можно вернуть систему к жизни?
# apt-cache policy libc6 libc6:
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
100 /var/lib/dpkg/status 2.13-38+deb7u8 0
Ох уж эти эксперементы с обновлением. Какой версии libselinux1 установлен? И как эта версия проникла к тебе в wheezy? Надо ее либо удалить, либо заменить на подходящую. И ой как хорошо будет, если больше ничего не испортилось.
# apt-cache policy libselinux1
В том то и дело что запутался совсем и не пойму откуда ноги растут. Качал пакеты в ручную и ставил через dpkg -i видимо так и попал
Удаляй или даунгрейди. Как видим, идея ставить пакеты вручную, не обращая внимания на зависимости, себя не оправдывает.
# apt-get remove libselinux1
Reading package lists. Done
Building dependency tree
Reading state information. Done
You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: coreutils : PreDepends: libselinux1 (>= 1.32) but it is not going to be installed
cron : Depends: libselinux1 (>= 1.32) but it is not going to be installed
dbus : Depends: libselinux1 (>= 1.32) but it is not going to be installed
dpkg : PreDepends: libselinux1 (>= 1.32) but it is not going to be installed
libc6 : Depends: libc-bin (= 2.13-38+deb7u10) but 2.13-38+deb7u4 is to be installed
libdevmapper1.02.1 : Depends: libselinux1 (>= 1.32) but it is not going to be installed
libglib2.0-0 : Depends: libselinux1 (>= 1.32) but it is not going to be installed
libmount1 : Depends: libselinux1 (>= 1.32) but it is not going to be installed
libpam-modules : PreDepends: libselinux1 (>= 2.0.85) but it is not going to be installed
libpam-modules-bin : Depends: libselinux1 (>= 1.32) but it is not going to be installed
libsemanage1 : Depends: libselinux1 (>= 1.32) but it is not going to be installed
libsystemd-login0 : Depends: libselinux1 (>= 2.0.65) but it is not going to be installed
logrotate : Depends: libselinux1 (>= 1.32) but it is not going to be installed
mount : PreDepends: libselinux1 (>= 2.0.15) but it is not going to be installed
openssh-client : Depends: libselinux1 (>= 1.32) but it is not going to be installed
openssh-server : Depends: libselinux1 (>= 1.32) but it is not going to be installed
passwd : Depends: libselinux1 (>= 1.32) but it is not going to be installed
sed : PreDepends: libselinux1 (>= 1.32) but it is not going to be installed
sudo : Depends: libselinux1 (>= 1.32) but it is not going to be installed
sysvinit : Depends: libselinux1 (>= 1.32) but it is not going to be installed
sysvinit-utils : Depends: libselinux1 (>= 1.32) but it is not going to be installed
udev : Depends: libselinux1 (>= 1.32) but it is not going to be installed
util-linux : PreDepends: libselinux1 (>= 1.32) but it is not going to be installed
vim-tiny : Depends: libselinux1 (>= 1.32) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
Спешу тебя обрадовать: у тебя уже не wheezy. Вместо того, чтобы даунгрейдить libselinux1, придется апгрейдить libc6. А может libc6 у тебя уже тоже из jessie стоит? Тогда, небось, достаточно будет перезагрузиться. Или даже перелогиниться.
Удалить libselinux1, это я не подумавши ляпнул. Оно имеет приоритет required, так что никогда не надо удалять.
Сервак в ДЦ, по ssh по новой не пускает. Висит не закрытая сессия ssh, она работает. Ехать в ДЦ не охота, вопрос можно ли как нибудь убедиться наверняка что поднимется сервак после reboot?
Источник
How install GLIBC 2.29 or higher in Ubuntu 18.04
I’m trying to run my python script on my Ubuntu 18.04 but when I try, I get the following error:
Which is that one of the modules I use (opencc) needs GLIBC 2.29 or superior.
Ubuntu “standard” version is 2.27, so I checked if I could install the updated but I can’t.
I downloaded libc-bin_2.30-0ubuntu2_amd64.deb and tried to install with sudo dpkg -i libc-bin_2.30-0ubuntu2_amd64.deb but also errors out due to lack of lib6:amd64…
and I tried install libc6-amd64_2.30-0ubuntu2_i386.deb but I get
So, as title, How install GLIBC >=2.29 in Ubuntu 18.04?
Related
Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Join Now
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
echo “deb http://ftp.us.debian.org/debian testing main contrib non-free” >> /etc/apt/sources.list
apt-get update
apt-get install build-essential -y
Please avoid mixing main with testing. It can break your system.
By default, the highest version of GLIBC for Ubuntu 18.04 should 2.27. You have two options to continue :
The first option is to migrate your application to a system that supports GLIBC higher than or equal to 2.29. This would mean a lot of work though. It seems Ubuntu 19.04 actually uses that version.
The second option would be to actually build your GLIBC from source using the version you want or need. I’ve researched it a bit and found a website which actually gives you the steps for you to build the package from source :
Take a look at it and decide how it would be best for you to proceed.
Источник
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17′ not found #1454
Comments
demian85 commented Jan 6, 2014
Please help me with this mess.
I’m trying to distribute my app but hell is raised, since it’s working on my PC with Linux Mint 15 but when trying to execute it on Ubuntu 12.04 64bit Kernel Linux 3.2.0-58 it raises the following error..
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17′ not found
How can I build my app and distribute it with telling the end user to recompile the whole kernel or any other required weird stuff?
The text was updated successfully, but these errors were encountered:
demian85 commented Jan 6, 2014
Is there a way to ship that library with my app package? Where can I download the .so file?
I downloaded the latest version but I cannot compile it because of so many errors and I don’t want to break my system!
rogerwang commented Jan 7, 2014
Is your ubuntu 12.04 updated to latest 12.04 series? node-webkit is built on Ubuntu 12.04 too.
Feel free to reopen this if it doesn’t work for you.
demian85 commented Jan 7, 2014
How can I update my Ubuntu to «the latest series»?
sudo apt-get upgrade?
Nothing to upgrade. Everything is up to date.
On Jan 6, 2014 10:21 PM, «Roger Wang» notifications@github.com wrote:
Is your ubuntu 12.04 updated to latest 12.04 series? node-webkit is built
on Ubuntu 12.04 too.
Feel free to reopen this if it doesn’t work for you.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31705265
.
rogerwang commented Jan 8, 2014
Is your system 12.04.3? please find upgrade instructions from Ubuntu.
demian85 commented Jan 8, 2014
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
On Tue, Jan 7, 2014 at 10:45 PM, Roger Wang notifications@github.comwrote:
Is your system 12.04.3? please find upgrade instructions from Ubuntu.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31798857
.
rogerwang commented Jan 9, 2014
But your kernel is 3.2, as you reported. So looks like your system is corrupted somehow.
mrohnstock commented Jan 9, 2014
You’ve to use apt-get dist-upgrade to update your kernel to 3.8, this was it at least for me.
demian85 commented Jan 9, 2014
$ sudo apt-get dist-upgrade
Reading package lists. Done
Building dependency tree
Reading state information. Done
Calculating upgrade. Done
The following NEW packages will be installed:
linux-headers-3.5.0-45 linux-headers-3.5.0-45-generic
linux-image-3.5.0-45-generic
On Thu, Jan 9, 2014 at 4:30 AM, Mathias Rohnstock
notifications@github.comwrote:
You’ve to use apt-get dist-upgrade to update your kernel to 3.8.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31908236
.
mrohnstock commented Jan 9, 2014
demian85 commented Jan 9, 2014
Just updated to the latest enablement stack:
sudo apt-get install —install-recommends linux-generic-lts-raring
xserver-xorg-lts-raring libgl1-mesa-glx-lts-raring
Still the same error. libc version remains at 2.15.
On Thu, Jan 9, 2014 at 8:26 AM, Mathias Rohnstock
notifications@github.comwrote:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31922103
.
mrohnstock commented Jan 9, 2014
Did you compiled your own node-webkit on Linux Mint 15 (which uses ubuntu 13.04 and glibc 2.17)?
If so I would suggest you to compile your app on 12.04.x which will use glibc 2.15 and should run on ubuntu >= 12.04.x and glibc >= 2.15.
demian85 commented Jan 9, 2014
I did not compile node-webkit since it’s terribly inconvenient and I don’t
even know where to start, the build instructions start with a link to
9789789 pages of instructions for I don’t know what and I get lost.
Didn’t you all say that node-webkit is compiled by default on ubuntu 12.04?
On Thu, Jan 9, 2014 at 9:31 AM, Mathias Rohnstock
notifications@github.comwrote:
Did you compiled your own node-webkit on Linux Mint 15 (which uses ubuntu
13.04)?
If so I would suggest you to compile your app on 12.04.x which will use
libc 2.15 and should run on ubuntu >= 12.04.x and libc >= 2.15.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31926240
.
mrohnstock commented Jan 9, 2014
node-webkit x86_64 v0.8.4 requires atleast glibc >= 2.15, could you please execute the same on your nw?
demian85 commented Jan 9, 2014
Using node-webkit x0.8.3
demian@demian-desktop /opt/node-webkit $ objdump -p nw | grep GLIBC
0x09691a75 0x00 02 GLIBC_2.2.5
0x06969194 0x00 03 GLIBC_2.14
0x0d696914 0x00 04 GLIBC_2.4
0x09691974 0x00 05 GLIBC_2.3.4
0x0d696913 0x00 06 GLIBC_2.3
0x06969195 0x00 07 GLIBC_2.15
0x06969191 0x00 08 GLIBC_2.11
0x0d696917 0x00 09 GLIBC_2.7
0x0d696916 0x00 10 GLIBC_2.6
0x0d696918 0x00 11 GLIBC_2.8
0x0d696919 0x00 12 GLIBC_2.9
0x08922974 0x00 13 GLIBCXX_3.4
0x02297f89 0x00 14 GLIBCXX_3.4.9
0x0297f865 0x00 16 GLIBCXX_3.4.15
0x02297f85 0x00 17 GLIBCXX_3.4.5
0x0297f861 0x00 18 GLIBCXX_3.4.11
0x0297f860 0x00 19 GLIBCXX_3.4.10
0x09691a75 0x00 20 GLIBC_2.2.5
0x09691973 0x00 21 GLIBC_2.3.3
0x09691972 0x00 22 GLIBC_2.3.2
0x09691a75 0x00 23 GLIBC_2.2.5
0x09691a75 0x00 24 GLIBC_2.2.5
0x09691a75 0x00 46 GLIBC_2.2.5
pd: The same output on Linux Mint15 and Ubuntu 12.04.3 kernel 3.8
On Thu, Jan 9, 2014 at 9:50 AM, Mathias Rohnstock
notifications@github.comwrote:
$ objdump -p node-webkit-v0.8.4-linux-x64/nw | grep GLIBC
0x09691a75 0x00 02 GLIBC_2.2.5
0x06969194 0x00 03 GLIBC_2.14
0x0d696914 0x00 04 GLIBC_2.4
0x09691974 0x00 05 GLIBC_2.3.4
0x0d696913 0x00 06 GLIBC_2.3
0x06969195 0x00 07 GLIBC_2.15
0x06969191 0x00 08 GLIBC_2.11
0x0d696917 0x00 09 GLIBC_2.7
0x0d696916 0x00 10 GLIBC_2.6
0x0d696918 0x00 11 GLIBC_2.8
0x0d696919 0x00 12 GLIBC_2.9
0x08922974 0x00 13 GLIBCXX_3.4
0x02297f89 0x00 14 GLIBCXX_3.4.9
0x0297f865 0x00 16 GLIBCXX_3.4.15
0x02297f85 0x00 17 GLIBCXX_3.4.5
0x0297f861 0x00 18 GLIBCXX_3.4.11
0x0297f860 0x00 19 GLIBCXX_3.4.10
0x09691a75 0x00 20 GLIBC_2.2.5
0x09691973 0x00 21 GLIBC_2.3.3
0x09691972 0x00 22 GLIBC_2.3.2
0x09691a75 0x00 23 GLIBC_2.2.5
0x09691a75 0x00 24 GLIBC_2.2.5
0x09691a75 0x00 46 GLIBC_2.2.5
node-webkit x86_64 v0.8.4 requires atleast glibc >= 2.15, could you please
execute the same on your nw?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1454#issuecomment-31927579
.
demian85 commented Jan 9, 2014
ops, now I dounf the problem:
[17977:0109/095837:INFO:CONSOLE(79)] «Uncaught Error:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17′ not found (required
by
/home/demian/Dropbox/www/projects/git-watcher/resources/node_modules/git-watcher/
node_modules/git-utils/build/Release/git.node)», source:
/home/demian/Dropbox/www/projects/git-watcher/resources/node_modules/git-watcher/node_modules/git-utils/node_modules/bindings/bindings.js
(79)
It’s the damn git-utils module. Maybe if I compile it on Ubuntu 12.04 it
should work?
On Thu, Jan 9, 2014 at 9:57 AM, Demián Andrés Rodriguez
demian85@gmail.comwrote:
demian@demian-desktop /opt/node-webkit $ objdump -p nw | grep GLIBC
0x09691a75 0x00 02 GLIBC_2.2.5
0x06969194 0x00 03 GLIBC_2.14
0x0d696914 0x00 04 GLIBC_2.4
0x09691974 0x00 05 GLIBC_2.3.4
0x0d696913 0x00 06 GLIBC_2.3
0x06969195 0x00 07 GLIBC_2.15
0x06969191 0x00 08 GLIBC_2.11
0x0d696917 0x00 09 GLIBC_2.7
0x0d696916 0x00 10 GLIBC_2.6
0x0d696918 0x00 11 GLIBC_2.8
0x0d696919 0x00 12 GLIBC_2.9
0x08922974 0x00 13 GLIBCXX_3.4
0x02297f89 0x00 14 GLIBCXX_3.4.9
0x0297f865 0x00 16 GLIBCXX_3.4.15
0x02297f85 0x00 17 GLIBCXX_3.4.5
0x0297f861 0x00 18 GLIBCXX_3.4.11
0x0297f860 0x00 19 GLIBCXX_3.4.10
0x09691a75 0x00 20 GLIBC_2.2.5
0x09691973 0x00 21 GLIBC_2.3.3
0x09691972 0x00 22 GLIBC_2.3.2
0x09691a75 0x00 23 GLIBC_2.2.5
0x09691a75 0x00 24 GLIBC_2.2.5
0x09691a75 0x00 46 GLIBC_2.2.5
pd: The same output on Linux Mint15 and Ubuntu 12.04.3 kernel 3.8
On Thu, Jan 9, 2014 at 9:50 AM, Mathias Rohnstock wrote:
$ objdump -p node-webkit-v0.8.4-linux-x64/nw | grep GLIBC
0x09691a75 0x00 02 GLIBC_2.2.5
0x06969194 0x00 03 GLIBC_2.14
0x0d696914 0x00 04 GLIBC_2.4
0x09691974 0x00 05 GLIBC_2.3.4
0x0d696913 0x00 06 GLIBC_2.3
0x06969195 0x00 07 GLIBC_2.15
0x06969191 0x00 08 GLIBC_2.11
0x0d696917 0x00 09 GLIBC_2.7
0x0d696916 0x00 10 GLIBC_2.6
0x0d696918 0x00 11 GLIBC_2.8
0x0d696919 0x00 12 GLIBC_2.9
0x08922974 0x00 13 GLIBCXX_3.4
0x02297f89 0x00 14 GLIBCXX_3.4.9
0x0297f865 0x00 16 GLIBCXX_3.4.15
0x02297f85 0x00 17 GLIBCXX_3.4.5
0x0297f861 0x00 18 GLIBCXX_3.4.11
0x0297f860 0x00 19 GLIBCXX_3.4.10
0x09691a75 0x00 20 GLIBC_2.2.5
0x09691973 0x00 21 GLIBC_2.3.3
0x09691972 0x00 22 GLIBC_2.3.2
0x09691a75 0x00 23 GLIBC_2.2.5
0x09691a75 0x00 24 GLIBC_2.2.5
0x09691a75 0x00 46 GLIBC_2.2.5
node-webkit x86_64 v0.8.4 requires atleast glibc >= 2.15, could you
please execute the same on your nw?
Источник