Skip to content

libdaq 3.0.18 does not generate/install the pkg-config file (daq.pc), causing pkg-config detection failure #34

@qizhi125

Description

@qizhi125

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:

  1. Use an SSH shallow clone to obtain libdaq version 3.0.18 and navigate to the source directory:

    cd /home/QI/src/libdaq
  2. (If applicable) Run:

    ./bootstrap
  3. Run the configuration script:

    ./configure
  4. Compile and install:

    make
    sudo make install
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions