Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failing to emerge anything due to undefined symbol getxattr
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
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Wed Jun 20, 2018 6:50 am    Post subject: Failing to emerge anything due to undefined symbol getxattr Reply with quote

Everything fails to emerge with error:

Code:
/usr/bin/install: relocation error: /lib64/libacl.so.1: symbol getxattr version ATTR_1.0 not defined in file libattr.so.1 with link time reference


BTW i see that the first to update is new acl pkg.

p.s. just tried with
Code:
FEATURES=-xattr
- that doesn't help.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Wed Jun 20, 2018 7:06 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-p-8168196.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Wed Jun 20, 2018 8:22 am    Post subject: Reply with quote

Fixed it by copying libacl from latest sys-apps pkg http://packages.gentooexperimental.org/packages/amd64-unstable/sys-apps/, via booting from live-usb and mounting rootfs.
And yes - i used gold, it seems it can cause SUCH issues.
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Wed Jun 20, 2018 11:24 am    Post subject: Reply with quote

n05ph3r42 wrote:
Fixed it by copying libacl from latest sys-apps pkg http://packages.gentooexperimental.org/packages/amd64-unstable/sys-apps/, via booting from live-usb and mounting rootfs.
And yes - i used gold, it seems it can cause SUCH issues.

No, not because of GOLD, I hit the same issue with sys-apps/attr-2.4.48-r1, compiled with forced BFD ld
Code:
ls -l /lib64/
lrwxrwxrwx 1 root root    19 Jun 19 23:11 libattr.so.1 -> libattr.so.1.1.2448
-rwxr-xr-x 1 root root 22312 Jun 19 23:11 libattr.so.1.1.2448

Recovered with binary pkg of previous version sys-apps/attr-2.4.47-r2 by qtbz2 -s and tar, copy shared libraries to lib64 and re-emerged version 2.4.47-r2 after masked 2.4.48-r1
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Wed Jun 20, 2018 11:33 am    Post subject: Reply with quote

Quote:
No, not because of GOLD, I hit the same issue with sys-apps/attr-2.4.48-r1, compiled with forced BFD ld

Err... the topic pointed by fedeliallalinea says that it caused by gold. I used gold too.

Quote:
Recovered with binary pkg of previous version sys-apps/attr-2.4.47-r2 by qtbz2 -s and tar, copy shared libraries to lib64 and re-emerged version 2.4.47-r2 after masked 2.4.48-r1

And i wasn't able to do many things, for example
Code:
tar -xpf acl-2.2.53.tbz2
caused same error as emerge, so i decided to boot from live-usb.
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Thu Jun 21, 2018 10:13 am    Post subject: Reply with quote

n05ph3r42 wrote:

And i wasn't able to do many things, for example
Code:
tar -xpf acl-2.2.53.tbz2
caused same error as emerge, so i decided to boot from live-usb.

I forgot to mention I picked binaries from my before-upgraded snapshot. I keep a clean stage3 in my machine, where I can chroot to and use command quickpkg or ROOT=<root-of-broken-gentoo> emerge --config-root=<root-of-broken-gentoo> to recover any broken package
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