Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Receiving "'GLIBC_2.28' not found" when using bin packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mcidp101
n00b
n00b


Joined: 03 Jan 2019
Posts: 9

PostPosted: Wed Apr 10, 2019 2:57 pm    Post subject: Receiving "'GLIBC_2.28' not found" when using bin Reply with quote

Hi guys!

I'm facing a problem when emerging running:

Code:

emerge -ek --binpkg-respect-use=n @world portage --backtrack=2000


And receiving this half way through the emerge process:

Code:

>>> Emerging binary (152 of 351) net-misc/rsync-3.1.3::gentoo                                                                                                                                             
 * rsync-3.1.3.tbz2 MD5 SHA1 size ;-) ...                                [ ok ]                                     
>>> Extracting info                                                                                                                                                                                       
>>> Extracting net-misc/rsync-3.1.3                                                                             
tar: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by tar)                                                                                                                                   
command 'tar -xp -C /var/tmp/portage/net-misc/rsync-3.1.3/image -f -' failed with status 1                       
!!! Error Extracting '/usr/portage-packages/net-misc/rsync-3.1.3.tbz2'                                                                                                                                   
                                                                               
>>> Failed to emerge net-misc/rsync-3.1.3, Log file:


I have also seen a few similar messages along the emerge process with other GLIBC versions, that didn't stop emerge (contrary to net-misc/rsync), like:

Code:

fc-cache: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib64/libexpat.so.1)

----

The error is only happening when using binary packages; I can successfully upgrade my packages if I run emerge without bin packages like this:

Code:

emerge -e @world portage --backtrack=2000


Any thoughts on what could be happening?

I'll appreciate any help :)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22306
Location: here

PostPosted: Wed Apr 10, 2019 3:07 pm    Post subject: Reply with quote

What glibc version you have with binary package?
Usually this message means that the program was compiled with a glibc version 2.xx, but your system has an older version installed.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mcidp101
n00b
n00b


Joined: 03 Jan 2019
Posts: 9

PostPosted: Wed Apr 10, 2019 3:19 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What glibc version you have with binary package?
Usually this message means that the program was compiled with a glibc version 2.xx, but your system has an older version installed.


On the bin host:
Code:

# gcc-config --list-profiles
[1] x86_64-pc-linux-gnu-8.2.0 *


On my client:
Code:

# gcc-config --list-profiles
[1] x86_64-pc-linux-gnu-5.4.0 *

--

I should have also mentioned I tried to migrate the client to 8.2.0 following this: https://wiki.gentoo.org/wiki/Upgrading_GCC, basically:
Code:

emerge --ask --oneshot sys-devel/gcc
gcc-config 2 # Index for the 8.2.0 option
emerge --ask --oneshot --usepkg=n sys-devel/libtool


Then ran the
Quote:
emerge -ek --binpkg-respect-use=n @world portage --backtrack=2000
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22306
Location: here

PostPosted: Wed Apr 10, 2019 5:31 pm    Post subject: Reply with quote

I asked for sys-libs/glibc not for gcc
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mcidp101
n00b
n00b


Joined: 03 Jan 2019
Posts: 9

PostPosted: Wed Apr 10, 2019 5:46 pm    Post subject: Reply with quote

fedeliallalinea wrote:
I asked for sys-libs/glibc not for gcc


Oh! My mistake!

On the bin host:
Code:

# equery l sys-libs/glibc
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
 * Searching for glibc in sys-libs ...
[IP-] [  ] sys-libs/glibc-2.28-r5:2.2


On the client:
Code:

# equery l sys-libs/glibc
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
 * Searching for glibc in sys-libs ...
[IP-] [  ] sys-libs/glibc-2.27-r6:2.2


They are indeed different. Do I need to update the client to `sys-libs/glibc-2.28-r5:2.2` before doing the emerge world (`emerge -ek --binpkg-respect-use=n @world portage --backtrack=2000`)?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22306
Location: here

PostPosted: Thu Apr 11, 2019 5:52 am    Post subject: Reply with quote

I'm sorry, I don't understand what happens
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Fri Apr 12, 2019 12:21 pm    Post subject: Reply with quote

mcidp101 wrote:
They are indeed different. Do I need to update the client to `sys-libs/glibc-2.28-r5:2.2` before doing the emerge world (`emerge -ek --binpkg-respect-use=n @world portage --backtrack=2000`)?

If the host compiles the sources and generates the binary packages for the client, yes.
Back to top
View user's profile Send private message
mcidp101
n00b
n00b


Joined: 03 Jan 2019
Posts: 9

PostPosted: Fri Apr 12, 2019 4:46 pm    Post subject: Reply with quote

Thanks everyone for your input!

The real problem was that I was not able to upgrade glibc to 2.28 in the outdated environment because of an EAPI 7 mask restriction.

What I ended up doing was to prepare binary packages with glibc 2.27 on another host (as downgrading glibc is not supported), and those bin packages worked with `emerge -ek @world portage --backtrack=2000`

Thanks again!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum