public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Problem building a version update of rng-tools
@ 2023-05-03 12:02 Adolf Belka
  2023-05-03 12:07 ` Michael Tremer
  0 siblings, 1 reply; 9+ messages in thread
From: Adolf Belka @ 2023-05-03 12:02 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

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 packages that rng-tools looks for have their libs. (openssl, libxml2, curl, jansson)

The new version has a flag for the ./configure called libcap_LIBS which can be used to override pkg-config.

I tried that in various ways such as libcap_LIBS="/lib" or libcap_LIBS="/lib/libcap.so.2.67" and others, but none of them worked. The ./configure still 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 packages being searched for are in /usr/lib/pkgconfig/

I then manually did a copy of libcap.pc to /usr/lib/pkgconfig/ and then re ran just the rng-tools build and it then successfully found libcap and completed the build. So the problem is definitely to do withy the unusual location for 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-03 17:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 12:02 Problem building a version update of rng-tools Adolf Belka
2023-05-03 12:07 ` Michael Tremer
2023-05-03 12:35   ` Adolf Belka
2023-05-03 12:58     ` Adolf Belka
2023-05-03 13:23       ` Adolf Belka
2023-05-03 15:39         ` Michael Tremer
2023-05-03 15:57           ` Adolf Belka
2023-05-03 16:09             ` Adolf Belka
2023-05-03 17:16               ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox