[Bug 1674201] Re: cross-compile-chroot.sh (to zesty) fails to build [cannot find -ludev] due to libudev.so being in a different directory to where libudev.pc searches for it
Dimitri John Ledkov
launchpad at surgut.co.uk
Mon Mar 27 13:46:51 UTC 2017
Is there anything to fix in src:systemd? as far as I can see everything
is correct:
$ dpkg -L libudev-dev | grep -e '\.pc' -e '\.so'
/usr/lib/x86_64-linux-gnu/pkgconfig/libudev.pc
/usr/lib/x86_64-linux-gnu/libudev.so
And yes the .so is symlink to a file in /lib location:
$ ls -latr /usr/lib/x86_64-linux-gnu/libudev.so
lrwxrwxrwx 1 root root 38 Feb 15 15:10 /usr/lib/x86_64-linux-gnu/libudev.so -> /lib/x86_64-linux-gnu/libudev.so.1.6.4
Which is all correct and the path mentioned in .pc matches the location
of the .so file.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1674201
Title:
cross-compile-chroot.sh (to zesty) fails to build [cannot find -ludev]
due to libudev.so being in a different directory to where libudev.pc
searches for it
Status in Mir:
Fix Committed
Status in systemd 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