Hi Ben, You may have already, but there are a couple of other places to move libgmp that might be worth trying:
(From this issue: https://github.com/casper-astro/mlib_devel/issues/190) cd /opt/Xilinx/Model_Composer/2021.1/lib/lnx64.o/Ubuntu mkdir exclude mv libgmp.so* exclude/ cd /opt/Xilinx/Vivado/2021.1/lib/lnx64.o mkdir exclude mv libgmp.so* exclude/ I've heard of a couple of other people with this issue - it seems something updated in Ubuntu 20.04.5 since we did our guide - we'll try and track it down. - In the meantime, another solution is to use an existing VM. - Andrew Martens kindly put this one together with the tools installed which should work - you just have to add licenses (you may have to request permission for the download): https://drive.google.com/file/d/1FfsZddV5_tRMd3ZBibDvolPTPPSjBfRk/view?usp=sharing Best, Jonathon On Fri, 9 Jun 2023 at 13:01, benjamin.fischer via [email protected] <[email protected]> wrote: > Hi all, > > I have been trying to set up the Toolflow quite closely following the > setup guide (using the recommended versions: a completely fresh Ubuntu > 20.04 install, Vivado 2021.1, mlib_devel m2021a). I get to the point under > "Running the toolflow" but when I run the startsg script while Matlab does > open it presents me with the error "Caught "std::exception" Exception > message is: > Error loading > /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/sl_main/mwlibmwsimulink_builtinimpl.so. > /lib/x86_64-linux-gnu/libhogweed.so.5: undefined symbol: __gmpn_cnd_sub_n: > Success: Success". > This looked similar to what Craig Ramsay solved ( > https://strath-sdr.github.io/tools/matlab/sysgen/vivado/linux/2021/01/28/sysgen-on-20-04.html) > which is also linked in the installation guide, so I followed that as well. > This however didn't fix the issue. I get into Matlab and can start Simulink > but it is quite slow and the toolbar in the Simulink window is missing. > Additionally, when opening a Simulink window Matlab spits out copious > amounts of errors and warnings in the background. Running the > "jasper_frontend" command when following the tutorial further also results > in an error. If I start Matlab manually, though, everything seems to > behave. > > Perhaps someone has encountered similar issues or has an idea how to fix > this. > > Many thanks and best wishes, > Ben > > ------------------------------ > FreeMail powered by mail.co.uk > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/fbed96c94668f0ac9242c8b731210714640ac920%40mail.de > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/fbed96c94668f0ac9242c8b731210714640ac920%40mail.de?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P8yyUVUgM2%3DFNvRW7jgGB_vjJJUzL1r%3Dy55gVZyU167qQ%40mail.gmail.com.

