How to find all possible locations for libraries and header files on any distro?
0
votes
1
answer
4442
views
I found that the location of libraries and header files are very different on different distributions. For Example on Fedora you have
/usr/lib64/libbfd.a
while on Ubuntu you have /usr/lib/x86_64-linux-gnu/libbfd.a
.
Or on Fedora you have /usr/lib/gcc/x86_64-redhat-linux/10/include/stdatomic.h
while on Ubuntu you have /usr/lib/gcc/x86_64-linux-gnu/10/include/stdatomic.h
Is there a way to know in which locations you have to look without maintaining a list of locations for every distribution?
Asked by Forivin
(1193 rep)
Sep 13, 2021, 03:13 PM
Last activity: Sep 13, 2021, 03:20 PM
Last activity: Sep 13, 2021, 03:20 PM