[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
Fri Oct 1 09:15:41 BST 2021


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

--- Comment #37 from andrey at technepisteme.xyz ---
(In reply to Luke Kenneth Casson Leighton from comment #36)
> so, now, what happens if you *manually* blow away the build directory
> and *manually* run the alliance build commands?
> 
> (starting at ./autostuff, after deleting ~/alliance/build)
Here's the run:
1. Get into schroot environment
2. Source coriolisenv loads the following:
(libresoc)rohdo at firedragon:~$ echo $LD_LIBRARY_PATH
/home/rohdo/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib64:/home/rohdo/alliance/install/lib:
3. Source .bash_profile extends the variable:
(libresoc)rohdo at firedragon:~$ echo $LD_LIBRARY_PATH
/home/rohdo/alliance/install/lib64:/home/rohdo/alliance/install/lib:/home/rohdo/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib64:/home/rohdo/alliance/install/lib:
4. Delete the alliance build folder
5. Go through the build sequence starting from ./autostuff.
After runninng "sudo make -j1 install", end up with an error:
/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

The alliance building sequence in "coriolis_install":
cd alliance/src
./autostuff
cd /home/$USER/alliance/build
../src/configure --prefix=/home/$USER/alliance/install --enable-alc-shared
cd /home/$USER/alliance/build
source /home/$USER/coriolisenv
sudo make -j1 install

Sourcing coriolisenv just before "make -j1 install" would clear the additional
LD_LIBRARY_PATH entries introduced by .bash_profile (looks like this might be
an artefact of experimentation when writing the script?).

So I did two runs (deleting build folder each time): first one I DIDN'T source
coriolisenv before "make -j1 install" (thus preserving the additional entries);
second one in which I DID source coriolisenv.
In both cases I got the same error (shown above).

> https://libre-soc.org/HDL_workflow/coriolis2/
> 
> 
> remember add *BOTH* export LD_LIBRARY_PATH=.... /lib and /lib64, just like
> it says in those build
> instructions.
Checked the wiki instructions, not missing anything else.

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


More information about the libre-soc-bugs mailing list