[Libre-soc-bugs] [Bug 696] [Coroliosis 2] Library libMut Not Found During Alliance Install
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Sep 28 19:02:51 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=696
--- Comment #23 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
this is what coriolisEnv.py should be creating:
it is obviously including LD_LIBRARY_PATH pointing to the correct
location - the libraries.
until you have LD_LIBRARY_PATH pointing to the correct location
you are *not* going to get past this error.
the fix *is* to have coriolisenv extend LD_LIBRARY_PATH whereupon
autoconf will find it and add the correct instructions into Makefiles
investigating alliance and coriolis2 source code is unnecessary:
there is nothing wrong.
the problem *is* in the output of coriolisEnv.py - which is also
correct and has nothing wrong with it - the problem *is* in
the environment variables passed to the script and with ~/.bashrc
and so on.
you will find a missing entry in ~/.bashrc that looks like:
PATH=/home//xxxxx
or other entry where the ${USER} formerly ${SUDO_USER} did not expand
out correctly.
source /tmp/coriolisenv
echo "Using user-selected Coriolis 2 (/home/lkcl/coriolis-2.x)";echo "Switching
to Coriolis 2.x
(Release.Shared)";PATH="/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games";BOOTSTRAP_TOP="/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install";CORIOLIS_TOP="/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install";export
PATH BOOTSTRAP_TOP CORIOLIS_TOP
STRATUS_MAPPING_NAME;PYTHONPATH="/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/etc/coriolis2:/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/python2.7/dist-packages/stratus:/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/python2.7/dist-packages/cumulus/plugins:/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/python2.7/dist-packages/cumulus:/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/python2.7/dist-packages/crlcore:/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/python2.7/dist-packages:";export
PYTHONPATH;LD_LIBRARY_PATH="/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib:/home/lkcl/alliance/install/lib:";export
LD_LIBRARY_PATH;hash -r;
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list