#1092462 pkg-config files are broken in epics-dev package

Package:
epics-dev
Source:
epics-dev
Description:
EPICS header files
Submitter:
Grunewald, Soeren
Date:
2025-01-08 08:54:02 UTC
Severity:
normal
#1092462#5
Date:
2025-01-08 08:50:37 UTC
From:
To:
The libdir specified in the pkg-config files:

  /usr/share/pkgconfig/epics-base.pc
  /usr/share/pkgconfig/epics-base-linux-x86_64.pc

is set as following:

  prefix=/usr
  libdir=${prefix}/lib/linux-x86_64

but the library files are actually installed into:

  /usr/lib/x86_64-linux-gnu

This means linking will fail, if pkg-config is used to determine
the dependencies.

  $ pkg-config --libs-only-L epics-base-linux-x86_64
  -L/usr/lib/linux-x86_64

There is already a patch to fix the path for the headers, but the
library paths where left untouched.
--
Kind regards,
Soeren