Description:
On Fedora Linux (WSL2 environment), after obtaining libdaq version 3.0.18 via an SSH shallow clone into the directory /home/QI/src/libdaq and following the standard steps to compile and install (including running ./bootstrap, ./configure, make, and sudo make install), running the command:
pkg-config --modversion daq
results in the following error:
[QI@QIZHIWINDOWS libdaq]$ pkg-config --modversion daq
Package daq was not found in the pkg-config search path.
Perhaps you should add the directory containing `daq.pc'
to the PKG_CONFIG_PATH environment variable
Package 'daq' not found
This indicates that the pkg-config file daq.pc was not generated or installed in the default pkg-config search path, which in turn affects downstream applications (such as Snort) that depend on libdaq for proper compilation and configuration.
Reproduction Steps:
-
Use an SSH shallow clone to obtain libdaq version 3.0.18 and navigate to the source directory:
-
(If applicable) Run:
-
Run the configuration script:
-
Compile and install:
-
Verify the installation:
pkg-config --modversion daq
Expected Result:
pkg-config should locate the daq.pc file and output the libdaq version (e.g., “3.0.18”).
Actual Result:
The terminal outputs the error message indicating that the daq.pc file is not found.
Environment Information:
- Operating System: Fedora Linux (WSL2 environment)
- libdaq Version: 3.0.18
- Installation Method: SSH shallow clone of the source into
/home/QI/src/libdaq, then manual compile and install
Description:
On Fedora Linux (WSL2 environment), after obtaining libdaq version 3.0.18 via an SSH shallow clone into the directory
/home/QI/src/libdaqand following the standard steps to compile and install (including running./bootstrap,./configure,make, andsudo make install), running the command:results in the following error:
This indicates that the pkg-config file
daq.pcwas not generated or installed in the default pkg-config search path, which in turn affects downstream applications (such as Snort) that depend on libdaq for proper compilation and configuration.Reproduction Steps:
Use an SSH shallow clone to obtain libdaq version 3.0.18 and navigate to the source directory:
cd /home/QI/src/libdaq(If applicable) Run:
Run the configuration script:
Compile and install:
Verify the installation:
Expected Result:
pkg-config should locate the
daq.pcfile and output the libdaq version (e.g., “3.0.18”).Actual Result:
The terminal outputs the error message indicating that the
daq.pcfile is not found.Environment Information:
/home/QI/src/libdaq, then manual compile and install