Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x86_64-pc-linux-gnu-gio-query dependancy on libffi.so.7
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
engineermdr
Guru
Guru


Joined: 08 Nov 2003
Posts: 302
Location: Altoona, WI, USA

PostPosted: Sat Oct 19, 2024 12:07 am    Post subject: x86_64-pc-linux-gnu-gio-query dependancy on libffi.so.7 Reply with quote

I ran into a problem tonight that I was able to resolve, but wonder if there's a bug. When I attempted to build dev-libs/glib, it failed with
Code:
 * Updating GSettings schemas ...                                                                        [ !! ]
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Updating GSettings schemas ...                                                                        [ !! ]
 * abi_x86_64.amd64: running multilib_pkg_postinst
 * Updating GIO modules cache ...
/usr/bin/x86_64-pc-linux-gnu-gio-querymodules: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory
So I looked to see what package owns x86_64-pc-linux-gnu-gio-querymodules, and to my surprise, it's dev-libs/glib. So now I'm kind of stuck. I figured I'll have to find libffi.so.7 somewhere, when I noticed there's a dev-lib/libffi-compat ebuild. I built that and sure enough, it gives me libffi.so.7, which then allows me to install dev-libs/glib.

Should the dev-libs/glib have handled this automatically?
Back to top
View user's profile Send private message
engineermdr
Guru
Guru


Joined: 08 Nov 2003
Posts: 302
Location: Altoona, WI, USA

PostPosted: Sat Oct 19, 2024 12:34 am    Post subject: Reply with quote

So then I removed libffi-compat after rebuilding glib and got
Code:
!!! existing preserved libs:
>>> package: dev-libs/libffi-compat-3.3-r2
 *  - /usr/lib64/libffi.so.7
 *  - /usr/lib64/libffi.so.7.1.0
 *      used by /usr/lib64/libgobject-2.0.so.0.7800.6 (dev-libs/glib-2.78.6)
What, what? Ok, tried rebuilding glib again and this time it worked, but still gives
Code:
!!! existing preserved libs:
>>> package: dev-libs/libffi-compat-3.3-r2
 *  - /usr/lib64/libffi.so.7
 *  - /usr/lib64/libffi.so.7.1.0
 *      used by /usr/lib64/libgobject-2.0.so.0.7800.6 (dev-libs/glib-2.78.6)
So how do I rebuild glib so it uses libffi.so.8, which does exist in /usr/lib64?
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