View previous topic :: View next topic |
Author |
Message |
leighgiles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 26 Mar 2004 Posts: 98 Location: Tasmania
|
Posted: Sun Feb 09, 2025 9:49 am Post subject: Can't emerge thunar [SOLVED] |
|
|
When I try to emerge thunar I get
libgudev-1.0.so: undefined reference to `udev_device_get_current_tags_list_entry@LIBUDEV_247'
emerge --info is here https://paste.gentoo.zip/O1EznXXq
emerge -pqv
Code: |
[ebuild U ] xfce-base/thunar-4.20.1 [4.18.11] USE="pcre trash-panel-plugin udisks* -exif -introspection -libnotify"
|
build log is here https://paste.gentoo.zip/2LJTkpX6
environment is here https://paste.gentoo.zip/MPIjLto1
Thanks
Leigh[/post] _________________ Linux User 368276 - Machine 277813
Last edited by leighgiles on Tue Feb 11, 2025 8:29 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Sun Feb 09, 2025 12:50 pm Post subject: |
|
|
Hi,
Is your system up to date ? You should reemerge dev-libs/libgudev :
Code: |
# emerge -av1 dev-libs/libgudev
|
Then retry thunar. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Sun Feb 09, 2025 3:00 pm Post subject: |
|
|
If you still need help after following netfab's advice, post the output of emerge --pretend --verbose dev-libs/libgudev sys-apps/systemd-utils. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leighgiles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 26 Mar 2004 Posts: 98 Location: Tasmania
|
Posted: Sun Feb 09, 2025 11:30 pm Post subject: |
|
|
I update my system every morning with eix-sync and
Code: |
emerge -uaDNv --complete-graph --with-bdeps=y --keep-going world --verbose-conflicts
|
Re emerging libgudev had no effect.
I emerge thunar with -udisks and it worked but thunar-volman needs thunar to have the udisks flag
Code: |
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 2.54 s (backtrack: 0/20).
[ebuild R ] sys-apps/systemd-utils-255.15-r1::gentoo USE="acl kmod (split-usr) tmpfiles udev -boot -kernel-install -secureboot (-selinux) -sysusers -test -ukify" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
[ebuild R ] dev-libs/libgudev-238-r2::gentoo USE="-introspection -test" 0 KiB
Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
|
I found this post https://unix.stackexchange.com/questions/416463/undefined-reference-even-when-the-linked-library-does-exist
and I got this
Code: |
ldd /usr/lib64/libgudev-1.0.so
/usr/lib64/libgudev-1.0.so: /lib64/libudev.so.1: version `LIBUDEV_247' not found (required by /usr/lib64/libgudev-1.0.so)
linux-vdso.so.1 (0x00007f851ac4b000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f851aac4000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f851aa63000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007f851aa3e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f851a865000)
libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f851a7c5000)
libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f851a7b8000)
librt.so.1 => /lib64/librt.so.1 (0x00007f851a7b1000)
libm.so.6 => /lib64/libm.so.6 (0x00007f851a701000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f851a6ef000)
libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f851a6e2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f851a6dd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f851ac4d000)
|
The post suggests the -luuid should go somewhere but where is beyond my expertise
Thanks for your help _________________ Linux User 368276 - Machine 277813 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Mon Feb 10, 2025 10:32 am Post subject: |
|
|
Quote: |
ldd /usr/lib64/libgudev-1.0.so
/usr/lib64/libgudev-1.0.so: /lib64/libudev.so.1: version `LIBUDEV_247' not found (required by /usr/lib64/libgudev-1.0.so)
linux-vdso.so.1 (0x00007f851ac4b000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f851aac4000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f851aa63000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007f851aa3e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f851a865000)
libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f851a7c5000)
libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f851a7b8000)
librt.so.1 => /lib64/librt.so.1 (0x00007f851a7b1000)
libm.so.6 => /lib64/libm.so.6 (0x00007f851a701000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f851a6ef000)
libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f851a6e2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f851a6dd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f851ac4d000)
|
Why is it linked to /lib64/libudev.so.1 ? I think this should be /usr/lib64/libudev.so.1.
Do you have an old libudev.so file remaining in /lib64 ?
Please post the output of :
Code: |
$ ls -l {/usr,}/lib64/libudev*
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leighgiles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 26 Mar 2004 Posts: 98 Location: Tasmania
|
Posted: Mon Feb 10, 2025 10:00 pm Post subject: |
|
|
Code: |
ls -l {/usr,}/lib64/libudev*
lrwxrwxrwx 1 root root 16 Dec 7 16:35 /lib64/libudev.so.1 -> libudev.so.1.6.4
-rwxr-xr-x 1 root root 145536 Jun 5 2016 /lib64/libudev.so.1.6.4
lrwxrwxrwx 1 root root 12 Feb 10 20:31 /usr/lib64/libudev.so -> libudev.so.1
lrwxrwxrwx 1 root root 16 Feb 10 20:31 /usr/lib64/libudev.so.1 -> libudev.so.1.7.9
-rwxr-xr-x 1 root root 342344 Feb 10 20:31 /usr/lib64/libudev.so.1.7.9
|
_________________ Linux User 368276 - Machine 277813 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Mon Feb 10, 2025 11:09 pm Post subject: |
|
|
So, do this :
Code: |
# mv /lib64/libudev.so.1.6.4 /lib64/libudev.so.1.6.4.old
# mv /lib64/libudev.so.1 /lib64/libudev.so.1.old
|
Then, rebuild everything linked to libudev on your system :
Code: |
# revdep-rebuild -i -L libudev -- -av1
|
Do NOT reboot until the whole process is done.
dev-libs/libgudev should be rebuilt and you should see something like :
Code: |
$ ldd /usr/lib64/libgudev-1.0.so | grep libudev
libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007fa797549000)
|
Once this is done, you should be able to build thunar with udisks useflag on.
You could also post the output of :
To see if there are no others duplicated old libraries on your system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leighgiles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 26 Mar 2004 Posts: 98 Location: Tasmania
|
Posted: Mon Feb 10, 2025 11:38 pm Post subject: |
|
|
I have discovered that I hadn't completed the migration to the 23 profile
I have just completed it and thunar emerges successfully
I'll do what you suggest
Thanks for your help _________________ Linux User 368276 - Machine 277813 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leighgiles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 26 Mar 2004 Posts: 98 Location: Tasmania
|
Posted: Tue Feb 11, 2025 12:14 am Post subject: |
|
|
Code: |
ldd /usr/lib64/libgudev-1.0.so | grep libudev
libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007fd6ca7f4000)
|
Code: |
lrwxrwxrwx 1 root root 7 Feb 11 09:58 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Feb 11 09:58 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 7 Feb 11 09:58 bin -> usr/bin
|
revdep-rebuild completed successfully
Thunar emerges successfully
Thanks for your help _________________ Linux User 368276 - Machine 277813 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|