> > > > > From: Jason Gunthorpe <jgg@xxxxxxxx> > > > Sent: Friday, May 18, 2018 10:36 AM > > > To: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> > > > Cc: 'Doug Ledford' <dledford@xxxxxxxxxx>; linux-rdma@xxxxxxxxxxxxxxx > > > Subject: Re: rdma-core and Ubuntu 16.04.4 LTS > > > > > > On Fri, May 18, 2018 at 08:51:32AM -0500, Steve Wise wrote: > > > > Hey Jason & Doug, I'm trying to build rdma-core on Ubuntu 16.04.04, > and > > > > Cmake is failing with: > > > > > > > > CMake Error at CMakeLists.txt:374 (message): > > > > Cannot find libnl-3.0 or libnl-1 > > > > > > > > Yet libnl-3 and libnl-route-3 are installed: > > > > > > > > # ldconfig -p|grep libnl-3 > > > > libnl-3.so.200 (libc6,x86-64) => > > > > /lib/x86_64-linux-gnu/libnl-3.so.200 > > > > libnl-3.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libnl-3.so > > > > # ldconfig -p|grep libnl-route-3 > > > > libnl-route-3.so.200 (libc6,x86-64) => > > > > /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200 > > > > libnl-route-3.so (libc6,x86-64) => > > > > /usr/lib/x86_64-linux-gnu/libnl-route-3.so > > > > > > > > Any ideas? > > > > > > You need the dev packages, check debian/control > > > > > > Build-Depends: cmake (>= 2.8.11), > > > debhelper (>= 9), > > > debhelper (>= 9.20160709) | dh-systemd, > > > dpkg-dev (>= 1.17), > > > libnl-3-dev, > > > libnl-route-3-dev, > > > libsystemd-dev, > > > libudev-dev, > > > ninja-build, > > > pandoc, > > > pkg-config, > > > python, > > > valgrind [amd64 arm64 armhf i386 mips mips64el mipsel > > powerpc > > > ppc64 ppc64el s390x] > > > > > > > > > Jason > > > > Hey Jason, > > > > I have all of these installed. What command is being used by the rdma- > core > > bldenv to verify these are installed? I see that pkg_check_modules is used, > > but I cannot find that command in rdma-core anywhere. > > There are log files after cmake runs.. ah build/CMakeFiles/CMakeError.log > I think has the compile run that failed. > > It does build on 16.04 I believe you. There is probably something missing on this system, or something removed under the covers, etc. I worked around the problem by adding -DENABLE_RESOLVE_NEIGH=0, which was fine for my needs. With RESOLVE_NEIGH disabled, it built fine. If I find something that needs to change in rdma-core, I'll let everyone know. Thanks, Steve. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html