Mar 29th, 2024, 9:24am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: libudev not found  (Read 3381 times)
meddi
FabulaTech Forum Newbie
*



View Profile         
Posts: 14
libudev not found
« on: Mar 7th, 2017, 11:50am »
Quote Quote  Modify Modify

Hello,
 
I have setup a linux client with ftusbrdpd and freerdp plugin
 
I got from ftusbrdpd the debug information:
 
D: 1488897400: conf_update_mode: Section [all] has got rule weight = 1
USB for Remote Desktop version: 5.2.3
 
This software uses the libusb 1.0 library.
The components of libusb are distributed under the GNU General
Public License and the GNU LGPL. You can obtain updated versions
of libusb and the source code from the libusb homepage at  
http://libusb.sourceforge.net.
 
Build time: Dec  2 2016 04:45:54
D: 1488897400: plugin_check: found FreeRDP version 2.0
D: 1488897400: plugin_check: unable to create directory: /usr/lib/i386-linux-gnu/freerdp
D: 1488897400: plugin_check: unable to create directory: /usr/local/lib/i386-linux-gnu/freerdp
D: 1488897400: plugin_check: FreeRDP plugin directory is found: /usr/lib/freerdp
D: 1488897400: plugin_check: link was created: /usr/lib/freerdp/libftrdpbr-client.so
D: 1488897400: plugin_check: FreeRDP plugin directory is found: /usr/local/lib/freerdp
D: 1488897400: plugin_check: link was created: /usr/local/lib/freerdp/libftrdpbr-client.so
D: 1488897400: plugin_check: unable to create directory: /usr/lib/i386-linux-gnu/freerdp2
D: 1488897400: plugin_check: unable to create directory: /usr/local/lib/x86_64-linux-gnu/freerdp2
D: 1488897400: run: using libudev for hotplug notifications
D: 1488897400: udev_open: libudev is not found
D: 1488897400: run: using usbfs for hotplug notifications
W: 1488897400: run: You have no mechanism for hotplug notification.
D: 1488897400: run: USB for Remote Desktop is running at port /tmp/ftnl/33000
 
if I started the process with "strace ftusbrdpd -v debug" I got:
...
open("/sys/bus/usb/devices/usb2/descriptors", O_RDONLY) = 7
read(7, "\22\1\0\3\t\0\3\tk\35\3\0\1\4\3\2\1\1\t\2\37\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 49
close(7)       = 0
getdents(6, /* 0 entries */, 3276Cool     = 0
close(6)       = 0
pipe([6, 7])        = 0
fcntl64(7, F_GETFL)      = 0x1 (flags O_WRONLY)
fcntl64(7, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
pipe([8, 9])        = 0
fcntl64(9, F_GETFL)      = 0x1 (flags O_WRONLY)
fcntl64(9, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
timerfd_create(CLOCK_MONOTONIC, 0x800 /* TFD_Huh */) = 10
time(NULL)     = 1488894127
write(2, "D: 1488894127: run: using libude"..., 60D: 1488894127: run: using libudev for hotplug notifications
) = 60
futex(0x8286cdc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 11
fstat64(11, {st_mode=S_IFREG|0644, st_size=16879, ...}) = 0
mmap2(NULL, 16879, PROT_READ, MAP_PRIVATE, 11, 0) = 0x76ffb000
close(11)      = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
munmap(0x76ffb000, 16879)     = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 11
fstat64(11, {st_mode=S_IFREG|0644, st_size=16879, ...}) = 0
mmap2(NULL, 16879, PROT_READ, MAP_PRIVATE, 11, 0) = 0x76ffb000
close(11)      = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
munmap(0x76ffb000, 16879)     = 0
time(NULL)     = 1488894127
write(2, "D: 1488894127: udev_open: libude"..., 47D: 1488894127: udev_open: libudev is not found
) = 47..
 
which means, it tries to open library cache to find libudev.so.1 and does not find it.
 
But ldconfig -p shows the libray:
...
libusb-1.0.so.0 (libc6) => /lib/libusb-1.0.so.0
libupower-glib.so.1 (libc6) => /lib/libupower-glib.so.1
libupower-glib.so (libc6) => /lib/libupower-glib.so
libudev.so.1 (libc6) => /lib/libudev.so.1
libthunarx-2.so.0 (libc6) => /lib/libthunarx-2.so.0
libtheoraenc.so.1 (libc6) => /lib/libtheoraenc.so.1
libtheoradec.so.1 (libc6) => /lib/libtheoradec.so.1
libtdb.so.1 (libc6) => /lib/libtdb.so.1
...
 
any Ideas?
 
IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: libudev not found
« Reply #1 on: Mar 9th, 2017, 4:50am »
Quote Quote  Modify Modify

Hi
What version (standard or static) of USB for Remote Desktop (5.2.3 Linux workstation) you are using?
Please execute the following command "uname -a", make the screenshot of the output and post it here.
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: libudev not found
« Reply #2 on: Mar 10th, 2017, 3:45am »
Quote Quote  Modify Modify

Hi again
Ok, you are using a static build of our SW. I would advise you to use a standard version of USB for Remote Desktop (5.2.3 Linux workstation).
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« Previous topic | Next topic »
Online Talk to our
support team or
sales department.