TheochemUI / eOn

eOn v3 and beyond
https://theochemui.github.io/eOn/
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

BLD: Installation with `conda-compilers` #132

Closed HaoZeke closed 2 months ago

HaoZeke commented 2 months ago

Reported during the CECAM school.

Occasionally, the library is installed to the wrong path[^1], in which case the output of the above command should be checked for the location and then that should be added to $PATH.

meson install -C bbdir | grep libeon
Installing client/libeoncbase.so to /micromamba/envs/eongit/lib
Installing client/libeonclib.so to /micromamba/envs/eongit/lib

@MSallermann suggested a simple fix, adding the library path:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/micromamba/envs/eongit/lib

Basically conda-compilers may try to install to $CONDA_PREFIX/lib/x86_64-linux-gnu

[^1]: Due to the post-fix labeling of conda-compilers

HaoZeke commented 2 months ago

Closed by https://github.com/TheochemUI/EONgit/commit/37114b1fc23ec7c387e1bc747d6916063b16e1dd