Hello,
When I use an environment like
LC_ALL=C guix environment --ad-hoc \
gcc-toolchain libtool grep which coreutils
I get
gcc --version | head -n1
# gcc (GCC) 9.2.0
but libtool looks for gcc-7.4.0 libraries:
grep 'gcc-.*\ ' `which libtool` | sed 's/ /\n /g'
# sys_lib_search_path_spec="[...]
# /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]"
# compiler_lib_search_dirs=" [...]
# /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]"
# postdep_objects=\
# "/gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]
# compiler_lib_search_path="[...]
# -L/gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/
# [...]"
How can I get a libtool that uses the libraries of gcc-9.2.0?
Best,
Moritz