You are not logged in.
Pages: 1
Topic closed
I am trying to build guvcview from the AUR on my eeepc, but the build fails with the message:
/usr/bin/ld: cannot find -ludev I have Googled this without success, and I have also searched for "ludev", also without success.
I would be grateful if someone could give me some ideas about how to resolve this.
Many thanks in advance
Last edited by myrlin (2011-09-30 09:19:32)
Offline
The file to search for would be "libudev". The "l" gets expanded to "lib" in linker flags (hence the name for one of GNU's libraries: "libiberty"). Do you really not have the udev package? The file "libudev.so" should be in /usr/lib which links to another "libudev.so" in /lib.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Many thanks for your quick reply, ConnorBehan.
Following your advice, I did some investigation, and things got more confusing:
1. /usr/bin/ld exists
2. /usr/lib/libudev.so exists
3. /lib contains a file called libudev.so.0, but not one called libudev.so.
So, I created a symlink "libudev.so" in /lib, linking to libudev.so.0, and everything worked!
Many thanks for your help, and for giving me the vital clue.
Last edited by myrlin (2011-09-30 09:19:05)
Offline
So, I created a symlink "libudev.so" in /lib, linking to libudev.so.0, and everything worked!
Bad idea, it may cause problems with any future updates.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
So what do you suggest, Rookie?
Offline
Fixing the build process (probably something in the makefile needs to be fixed), submit a bug upstream if there isn't one already.
Manually creating symlinks and/or adding/deleting/moving files from the filesystem is always a bad idea, later on it can result in a borked system or weird problems that no one else is experiencing and therefore can't be of much help in solving the problem.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Thanks Rookie. I'll do just that.
Offline
get ludev from http://packages.ubuntu.com/precise/i386 … 0/download download it, then install package with
sudo dpkg -i libudev0_175-0ubuntu9_i386.deb
you may have to do a
sudo apt-get install libudev-dev libudev0
for good measure now you can do the make , make run
Offline
Please do not "necrobump" old threads, especially solved ones. Also, you do realize that these are the archlinux forums, not ubuntu forums, right? None of those commands would do anything here.
Closed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1
Topic closed