You are not logged in.

#1 2012-06-01 19:49:02

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

[SOLVED] Can't run X after upgrade: libudev.so is missing

I just upgraded my Arch. when I was upgrading I replaced udev with systemd-tools when prompted but after reboot, I get following error after trying 'startx':

/usr/bin/X: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

EDIT: I forget to mentoin I have downgraded xorg-server (1.9.4), linux (3.0.7) and xf86-input-evdev (2.5.0)

Last edited by broi (2012-06-01 20:27:23)

Offline

#2 2012-06-01 19:55:09

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

All packages in the main repos have been properly recompiled for the new udev. So you either didn't do a full upgrade, or you're using third-party repositories. In which case recompile the offending package.

Offline

#3 2012-06-01 19:55:52

fritz
Member
Registered: 2011-06-17
Posts: 38

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

Fast "fix" that works for me:
ln -s /usr/lib/libudev.so.1.0.1 /usr/lib/libudev.so.0


Celeron 1610, Intel B75, 4GB Ram, Intel HD-Graphics

Offline

#4 2012-06-01 19:59:32

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

Stop suggesting wrong fixes and do the correct thing.

Offline

#5 2012-06-01 20:03:37

fritz
Member
Registered: 2011-06-17
Posts: 38

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

Gusar wrote:

Stop suggesting wrong fixes and do the correct thing.

Would you mind to give a hint what the offending package is in this case?


Celeron 1610, Intel B75, 4GB Ram, Intel HD-Graphics

Offline

#6 2012-06-01 20:06:43

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

fritz wrote:

Would you mind to give a hint what the offending package is in this case?

The one that reports the error, of course. In this case, the one containing /usr/bin/X

Offline

#7 2012-06-01 20:09:24

Awebb
Member
Registered: 2010-05-06
Posts: 6,273

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

It's often note even a case for recompiling. It's an out of sync mirror most of the time. Try -Syyu and if that does not work try another mirror. Don't forget that -Syyu instead of -Syu.

Offline

#8 2012-06-01 20:16:53

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

It works now when I did ln -s /usr/lib/libudev.so.1.0.1 /usr/lib/libudev.so.0
Thank you

Offline

#9 2012-06-01 20:19:50

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

Awebb wrote:

It's often note even a case for recompiling. It's an out of sync mirror most of the time. Try -Syyu and if that does not work try another mirror. Don't forget that -Syyu instead of -Syu.

I did Syyu and some packages that had to be updated was not in mirror I sync from... So I guess you are right but I fixed this before tried your advice.

Offline

#10 2012-06-01 20:20:42

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,251

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

ViOLO is working on a rebuild of xorg111 - should be ready any time now.

https://bbs.archlinux.org/viewtopic.php … 8#p1109508


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#11 2012-06-01 20:22:27

fritz
Member
Registered: 2011-06-17
Posts: 38

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

Awebb wrote:

It's often note even a case for recompiling. It's an out of sync mirror most of the time. Try -Syyu and if that does not work try another mirror. Don't forget that -Syyu instead of -Syu.

Thanks for the advice. I update several times every day. In my case the problem probably occured due to the downgraded xorg (1.10).

Last edited by fritz (2012-06-01 20:27:08)


Celeron 1610, Intel B75, 4GB Ram, Intel HD-Graphics

Offline

#12 2012-06-02 04:21:15

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

broi wrote:
Awebb wrote:

It's often note even a case for recompiling. It's an out of sync mirror most of the time. Try -Syyu and if that does not work try another mirror. Don't forget that -Syyu instead of -Syu.

I did Syyu and some packages that had to be updated was not in mirror I sync from... So I guess you are right but I fixed this before tried your advice.

And now you've got a loose symlink floating around your root filesystem, just waiting to cause trouble in the future.

Offline

#13 2012-06-02 05:53:14

fritz
Member
Registered: 2011-06-17
Posts: 38

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

ANOKNUSA wrote:

And now you've got a loose symlink floating around your root filesystem, just waiting to cause trouble in the future.

I appreciate your (and Gusars) warning, but recompiling X while being stuck at the console is not everyones pair of shoes.

Last edited by fritz (2012-06-02 06:04:44)


Celeron 1610, Intel B75, 4GB Ram, Intel HD-Graphics

Offline

#14 2012-06-02 07:26:15

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

... and I got this error today and it's preventing my xbmc-eden-pvr-git from running. Recompiled xbmc from a fresh git pull, after -Syyu and reboot - still no dice.

Gonna have to sully my system with the above symlink fix.

[EDIT: Worked. Nice to have xbmc up and running again]

Last edited by sultanoswing (2012-06-02 08:32:52)


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#15 2012-06-02 08:27:30

dxxvi
Member
Registered: 2011-07-23
Posts: 122

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

I have google-chrome-beta from AUR and recompiling it didn't help. So I have to resort to that ln command.

Offline

#16 2012-06-02 11:16:05

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

Re: [SOLVED] Can't run X after upgrade: libudev.so is missing

ANOKNUSA wrote:

And now you've got a loose symlink floating around your root filesystem, just waiting to cause trouble in the future.

This is why I keep a text file tracking such things / "hacks". smile

dxxvi wrote:

I have google-chrome-beta from AUR and recompiling it didn't help. So I have to resort to that ln command.

Aye.

udev is spitting out rules.d errors to the system log, but meh...

Offline

Board footer

Powered by FluxBB