-
Notifications
You must be signed in to change notification settings - Fork 50
Description
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 daqresults 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 foundThis 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:
cd /home/QI/src/libdaq -
(If applicable) Run:
./bootstrap
-
Run the configuration script:
./configure
-
Compile and install:
make sudo make 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