[Bug 1674201] Re: Mir fails to build on arm64 cross-compiled [cannot find -ludev]

Daniel van Vugt daniel.van.vugt at canonical.com
Mon Mar 20 04:02:41 UTC 2017


Looks like a udev bug. Mir is doing everything right to find libudev.so, but the pc file says the library path is:
   libdir=/usr/lib/aarch64-linux-gnu

while libudev-dev actually installs it to:
   /lib/<arch>/...

Both of these conflicting facts are from the same package `libudev-dev'.

Just you wouldn't notice the bug unless you were unlucky enough to be
building in an environment without searching /lib/<arch>/...

** Also affects: udev (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: udev (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1674201

Title:
  Mir fails to build on arm64 cross-compiled [cannot find -ludev]

Status in Mir:
  New
Status in udev package in Ubuntu:
  New

Bug description:
  Mir fails to build on arm64 cross-compiled:

  [ 11%] Linking CXX shared library ../../lib/libmirplatform.so
  /usr/lib/gcc-cross/aarch64-linux-gnu/6/../../../../aarch64-linux-gnu/bin/ld: cannot find -ludev
  /usr/lib/gcc-cross/aarch64-linux-gnu/6/../../../../aarch64-linux-gnu/bin/ld: cannot find -ludev
  collect2: error: ld returned 1 exit status

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1674201/+subscriptions



More information about the foundations-bugs mailing list