Project

General

Profile

Actions

Bug #1428

open
EB

Configuration doesn't catch missing -lnuma dependency

Bug #1428: Configuration doesn't catch missing -lnuma dependency

Added by Erica Bugden 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
07/02/2025
Due date:
% Done:

0%

Estimated time:

Description

When compiling lttng-tools the build fails because of a missing dependency (-lnuma):

Making all in lttng-consumerd
make[3]: Entering directory '/home/erica/lttng-tools/src/bin/lttng-consumerd'
  CXXLD    lttng-consumerd
/usr/bin/ld: cannot find -lnuma: No such file or directory
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:657: lttng-consumerd] Error 1
make[3]: Leaving directory '/home/erica/lttng-tools/src/bin/lttng-consumerd'
make[2]: *** [Makefile:587: all-recursive] Error 1
make[2]: Leaving directory '/home/erica/lttng-tools/src/bin'
make[1]: *** [Makefile:580: all-recursive] Error 1
make[1]: Leaving directory '/home/erica/lttng-tools/src'
make: *** [Makefile:695: all-recursive] Error 1

This is unexpected since the configuration step was successful (which, based on my understanding, should have caught any missing dependencies).

Tools version

lttng-tools master branch from this commit:

7d5802d16 tests: Add path check to prevent incorrect redirection

plus these changes (patchset 52). So not an official release.

System information

Ubuntu 24.04.2 LTS

Linux 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:25:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Other context bits

Additional context that may or may not be useful.

  • lttng-ust and userspace-rcu are installed from source in `~/install-dir`
  • The `libnuma1` package is installed, but the missing dependency `libnuma-dev` is not. It is apparently unusual that configuration would succeed with `libnuma-dev` missing.

Files

config.log (198 KB) config.log From the completed configuration step Erica Bugden, 07/02/2025 10:58 AM
Actions

Also available in: PDF Atom