When libkqueue is installed in a location such as /usr/local/lib it may exist alongside a system version installed in /usr/lib.
Absent -L${libdir} in Libs: in libkqueue.pc, the linker will often pick-up and link against the library in /usr/lib even though the system integrator desired and configured his/her package, using pkg-config, for the libkqueue installed in /usr/local/lib.
To address this, the following diff is required in libkqueue.pc:
When libkqueue is installed in a location such as /usr/local/lib it may exist alongside a system version installed in /usr/lib.
Absent
-L${libdir}
inLibs:
in libkqueue.pc, the linker will often pick-up and link against the library in /usr/lib even though the system integrator desired and configured his/her package, usingpkg-config
, for the libkqueue installed in /usr/local/lib.To address this, the following diff is required in libkqueue.pc: