BUILD_RPATH
and INSTALL_RPATH
target property in CMake, but it looks like the LDFLAGS
setting is putting the conda environment before it in the produced library.
BUILD_RPATH
to first point to the directory where my library is being built instead of the $CONDA_PREFIX/lib
. Right now seems like my choices are use $LD_LIBRARY_PATH
, or don't install the compilers
package but just manually install gcc
/ gxx
2022-04-25T15:23:58.2451571Z /home/conda/feedstock_root/build_artifacts/nvcc_1650900156699/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/x86_64-conda-linux-gnu-c++: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/conda/feedstock_root/build_artifacts/nvcc_1650900156699/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/x86_64-conda-linux-gnu-c++)
How should we be handling this ( https://github.com/conda-forge/xgboost-feedstock/pull/88#issuecomment-1119533913 )?
cc @xhochy (for vis)
libgcc-ng
and libstdcxx-ng
where if someone gets 12.x
in their host environment they'd need >=12.x
in their run environment? It looks like right now only the compilers themselves have run_exports and they export greater than or equal to the compiler version. Wouldn't the linker potentially find newer GLIBC
/ GLIBCXX
versioned symbols effectively breaking the compatibility with anything less then >=12.x
?