[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 18:09:28 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=696

--- Comment #22 from andrey at technepisteme.xyz ---
Didn't work again, same libMut error.

1. Created new environment using "mk-deb-chroot" (as root).
2. Copied the dev-env-scripts to new schroot using "cp-scripts-to-chroot.sh"
(as root).
3. Get into schroot and run "coriolis_install" script as normal user.
Script fails to execute "coriolisEnv.py" (always fails when run in the shell
for me, same error as in comment #13).
Also Alliance install (sudo make -j1 install) fails with:
/usr/bin/ld: cannot find -lMut
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:601: libAbl.la] Error 1
make[2]: Leaving directory '/home/rohdo/alliance/build/abl/src'
make[1]: *** [Makefile:524: install-recursive] Error 1
make[1]: Leaving directory '/home/rohdo/alliance/build/abl'
make: *** [Makefile:570: install-recursive] Error 1


4. Generate coriolisenv manually by running:
/home/$USER/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py >
/home/$USER/coriolisenv
5. Cleared "alliance" and "alliance-check-toolkit" build.
6. Modifying Makefile.am as you suggested in comment #3.
7. Re-run autostuff
9. Source coriolisenv
10. ../src/configure --prefix=/home/$USER/alliance/install --enable-alc-shared
11. Alliance install fails, now with the following:
/usr/bin/ld: cannot find -lAut
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:628: libBdd.la] Error 1
make[2]: Leaving directory '/home/rohdo/alliance/build/bdd/src'
make[1]: *** [Makefile:524: install-recursive] Error 1
make[1]: Leaving directory '/home/rohdo/alliance/build/bdd'
make: *** [Makefile:570: install-recursive] Error 1

Now it looks like the src/bdd/src/Makefile.am is complaining. That file has the
following lines at the end:
libBdd_la_LDFLAGS   = -version-info @BDD_DLL_VERSION@ -L../../abl/src
-L../../mbk/src
libBdd_la_LIBADD    = -lAbl -lAut
Might seem naive of me, but is "libBdd_la_LIBADD" wrong?
The LDFLAGS make me assume LIBADD should be -lAbl and -lMut. 


Is it worth re-installing my host Debian?
If you're able to run the same sequence of scripts, and alliance installs
without problem, then there must be either:
-difference in Debian versions (mine's 10.10)
-missing packages that you might have that I don't (no packages other than
what's in "mk-deb-chroot" and "coriolis_install" were installed.
-missing/misconfigured environment vars
-something else that I missed (I noticed nothing else in coriolis2 wiki or
libre-soc wiki)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list