Open gicmo opened 6 years ago
if nix is installed from source, the library will be installed in /usr/local/lib
, the headers go to /usr/local/include
and the pkgconfig file is in /usr/local/lib/pkgconfig
. In order for pkgconfig to find it I need to add /usr/local/lib/pkgconfig
to the PKG_CONFIG_PATH
environment variable. For dynamic linking I need to fix ldconfig as well by adding the library path to /etc/ld.so.conf
and refresh the cache.
Will these issues be solved if the library is installed via dnf or do we need to take care about it?
Will these issues be solved if the library is installed via dnf or do we need to take care about it?
Yes it will be, because local is really for locally installed packages. Even the copr build should already fix that issue. I think we should adjust the spec file that comes with nix so we can use it to create rpms from the source tree directly so we can install pre-release stuff locally via dnf too.
Missing: