[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1116323: libllama-dev: pkgconf file in hidden location



Package: libllama-dev
Version: 5882+dfsg-3; reported 2025-09-25
Severity: normal

Thank you so so much for packaging llama.cpp and ggml. I look forward to
working a bit more with it and seeing about possible R-based
frontends. Discussing this with someone else I mentioned pkgconf / pkg-config
and tried to check only to see that a) yes of course it ships a .pc file in
the -dev package but b) it appears to be in a non-standard location:

  root@3eaed7568463:/# pkgconf --list-all | grep llama
  root@3eaed7568463:/# 

yet once I 'make it known' it all works:

  root@3eaed7568463:/# pkgconf --with-path=/usr/lib/x86_64-linux-gnu/llama/pkgconfig/ --cflags llama
  -I/usr/include/llama 
  root@3eaed7568463:/# pkgconf --with-path=/usr/lib/x86_64-linux-gnu/llama/pkgconfig/ --libs llama
  -L/usr/lib/x86_64-linux-gnu/llama -lggml -lggml-base -lllama 
  root@3eaed7568463:/# 

I have relied for a few projects on the fact that pkgconf would automagically
find the .pc file so I think we want this in one of

  /usr/lib/x86_64-linux-gnu/pkgconfig/
  /usr/lib/pkgconfig/
  /usr/share/pkgconfig/

and 'TIL there are several' so here it is probably the first one as the
library is likely the best. Oddly I also see

  /usr/share/ggml/pkgconfig/ggml.pc

which is similarly 'tucked away' so `pkgconf --list-all` does not see it, but
hides in 'share'.

It would be lovely if you could move the .pc files.

Cheers, Dirk


-- System Information
Debian Release: trixie/sid
Kernel Version: Linux paul 6.14.0-29-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug  7 18:32:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: