You are not logged in.

#1 2011-09-29 19:03:14

myrlin
Member
Registered: 2010-06-11
Posts: 300

[SOLVED] Building Guvcview

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

#2 2011-09-30 00:48:32

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] Building Guvcview

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

#3 2011-09-30 09:13:01

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Building Guvcview

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

#4 2011-09-30 10:30:39

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Building Guvcview

myrlin wrote:

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

#5 2011-09-30 16:40:30

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Building Guvcview

So what do you suggest, Rookie?

Offline

#6 2011-09-30 16:56:31

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Building Guvcview

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

#7 2011-10-01 08:55:16

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Building Guvcview

Thanks Rookie. I'll do just that.

Offline

#8 2015-03-19 06:10:52

jeremyrutman
Member
Registered: 2015-03-19
Posts: 1

Re: [SOLVED] Building Guvcview

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

#9 2015-03-19 11:38:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Building Guvcview

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

Board footer

Powered by FluxBB