./configure --prefix=${CONDA_PREFIX} make install
conda install zlib conda install -c anaconda bzip2 #conda install -c anaconda xz
conda install zlib bzip2 xz libcurl
git submodule update --init --recursive
CPPFLAGS="-ggdb -Wall -O2 -fvisibility=hidden -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib" ./configure --prefix=${CONDA_PREFIX} CPPFLAGS="-ggdb -Wall -O2 -fvisibility=hidden -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib" ./configure --prefix=${CONDA_PREFIX} --disable-lzma --enable-gcs
most recently run. I'm not sure if rpath and Pkg-config are doing anything. At higher level I was adding rpath-link, still works as of 07-27-24
#CFLAGS="-ggdb -Wall -O2 -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib" LDFLAGS="-Wl,-rpath,${CONDA_PREFIX}/lib" PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig/" ./configure --prefix=${CONDA_PREFIX} --disable-lzma --enable-gcs CFLAGS="-ggdb -Wall -O2 -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib" LDFLAGS="-Wl,-rpath,${CONDA_PREFIX}/lib" PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig/" ./configure --prefix=${CONDA_PREFIX} --enable-gcs
make && make install
https://stackoverflow.com/questions/6562403/i-dont-understand-wl-rpath-wl
g++ -I ../../envs/include/ -L../../envs/lib test.cpp -lhts
g++ -I ../../envs/include/ -L../../envs/lib test.cpp -Wl,-rpath,../../envs/lib -lhts
g++ -I ../../envs/include/ -L${CONDA_PREFIX}/lib -Wl,-rpath,${CONDA_PREFIX}/lib test.cpp -lhts
g++ -I ../../envs/include/ -L${CONDA_PREFIX}/lib -Wl,-rpath-link,${CONDA_PREFIX}/lib test.cpp -lhts