Ask Your Question

Resolving dependencies while compiling FreeRDP for USB-redirection

asked 2016-05-17 15:37:05 -0600

Akroot gravatar image

updated 2016-05-18 08:47:25 -0600


I am using Fedora 23 64-bit and trying to build FreeRDP version 2.0.0-dev (git 4e66df7) to enable USB-device redirection support. The compilation/installation works but the required library is missing due to unresolved dependencies



-- Adding dynamic channel client "urbdrc": USB Devices Virtual Channel Extension
-- libudev stable: 1
-- Found UDev: /usr/lib64/
--  include: /usr/include
-- Could NOT find dbus-glib (missing:  DBUS_GLIB_LIBRARY DBUS_GLIB_INCLUDE_DIR) 
-- URBDRC dependencie not found: UUID
-- URBDRC dependencie not found: DBUS_GLIB
-- URBDRC dependencie not found: LIBUSB_1

Could NOT find dbus-glib (missing: DBUS_GLIB_LIBRARY DBUS_GLIB_INCLUDE_DIR)

verified that

Package systemd-devel-222-14.fc23.x86_64 is already installed, skipping.
Package libuuid-2.28-1.fc23.x86_64 is already installed, skipping.
Package libusb-1:0.1.5-6.fc23.x86_64 is already installed, skipping.
Package dbus-glib-0.106-1.fc23.x86_64 is already installed, skipping.

[@ ~]$ dnf list installed dbus-glib 
Last metadata expiration check: 19:15:02 ago on Tue May 17 14:13:21 2016.
Installed Packages
dbus-glib.x86_64                      0.106-1.fc23                      @updates

So can you please advise what else is missing?

Much appreciated

edit retag flag offensive close merge delete


Welcome to ask.fedora. You ask an interesting question, and I hope that I can be of some help. Please run dnf list installed dbus-glib and edit your question to add the results.

sideburns gravatar imagesideburns ( 2016-05-17 19:38:18 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-05-18 14:06:52 -0600

ssieb gravatar image

You need to install the dbus-glib-devel package.

edit flag offensive delete link more


Thanks, I had also to install libuuid-devel and libusb-devel

Akroot gravatar imageAkroot ( 2016-05-18 15:28:47 -0600 )edit

answered 2016-05-18 14:40:52 -0600

updated 2016-05-18 14:42:04 -0600

Use the dnf builddep plugin, like this:

dnf buiddep freerdp

If your modifications require extra build dependencies, you'll have to figure that out.

For best results, I recommend you recompile using the fedora package, something like this:

   sudo dnf install @fedora-pacakger
   sudo usermod -a -G mock $(id -u)
   fedpkg clone -a freerdp
   cd freerdp; vim freerdp.spec
   #edit file to change build sequence to your preference
   rpmdev-bumpspec freerdp.spec
   spectool -g freerdp.spec
   mock -r fedora-23-x86_64 --buildsrpm --spec freerdp.spec --sources . --resultsdir ./MOCK/
   mock -r fedora-23-x86_64 ./MOCK/*src.rpm --resultsdir MOCK/
   sudo dnf install MOCK/freerdp*rpm

This way, you have a cleanly built package that's easy to install, update, and remove, and you don't need to install the build dependencies on your system because mock will do it in a clean chroot environment.

edit flag offensive delete link more


Thanks, I'll give it a try

Akroot gravatar imageAkroot ( 2016-05-18 15:29:28 -0600 )edit

Question Tools

1 follower


Asked: 2016-05-17 15:31:38 -0600

Seen: 610 times

Last updated: May 18 '16