From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Problem building a version update of rng-tools Date: Wed, 03 May 2023 14:02:58 +0200 Message-ID: <00ee5141-f5ec-cefe-79a0-2f4e6d1f2851@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7319613174683684699==" List-Id: --===============7319613174683684699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi All, There is a new version for rng-tools so I thought I would do an update but it= kept stopping saying that it required libcap and could not find it. I noted that the libcap libs are in /lib and not in /usr/lib as the other pac= kages that rng-tools looks for have their libs. (openssl, libxml2, curl, jans= son) The new version has a flag for the ./configure called libcap_LIBS which can b= e used to override pkg-config. I tried that in various ways such as libcap_LIBS=3D"/lib" or libcap_LIBS=3D"/= lib/libcap.so.2.67" and others, but none of them worked. The ./configure stil= l ended up with the message checking for libcap... no configure: error: libcap is required I then noticed that libcap.pc is in /lib/pkgconfig/ while all the other packa= ges being searched for are in /usr/lib/pkgconfig/ I then manually did a copy of libcap.pc to /usr/lib/pkgconfig/ and then re ra= n just the rng-tools build and it then successfully found libcap and complete= d the build. So the problem is definitely to do withy the unusual location fo= r the library files of libcap. So the question I have is what is the best way to deal with this. Should I add into the libcap lfs a line that copies the libcap.pc to /usr/lib= /pkgconfig/ or is can someone tell me what I am doing wrong with the libcap_LIBS flag for ./= configure Regards, Adolf. --===============7319613174683684699==--