-
-
August 7, 2022 at 2:16 pm
zvika
SubscriberHi,
I installed ansys 2022 R1 on ubuntu 22.04. ansys starts ok in terminal mode and in gui. However, starting the workbench results in the following err msgs:
--------------------------------------------------------------------------------------------------------------
Unhandled exception caught :
System.DllNotFoundException: Ans.QT.dll assembly:
type: member:(null)
 at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.Application.ans_qt_Application_setPluginDirectory(intptr,string)
 at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000d1] in <701198258ccf4adb9c6cb0531c98bb21>:0Â
 at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <701198258ccf4adb9c6cb0531c98bb21>:0Â
 at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <701198258ccf4adb9c6cb0531c98bb21>:0Â
 at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <745bd9ee46e441b6ab6561e05dc08741>:0Â
 at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <745bd9ee46e441b6ab6561e05dc08741>:0Â
 at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <745bd9ee46e441b6ab6561e05dc08741>:0Â
--- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
 at Ansys.UI.UIManager..ctor () [0x00055] in <9a0016ab49d04232b9f29ccde31d32fb>:0Â
 at Ansys.UI.UIManager.get_Instance () [0x00023] in <9a0016ab49d04232b9f29ccde31d32fb>:0Â
 at Ans.Program.Runtime.InitializeSplashScreen () [0x00057] in <5e4e5db2c4894acebf2cdafe840531f6>:0Â
 at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x0021a] in <5e4e5db2c4894acebf2cdafe840531f6>:0Â
 at Ans.Program.ExecutableBase.Run (Ans.Program.CommandLineParse parser) [0x0000d] in <004cd37a8c154aa3917bc73159ecd89b>:0Â
 at Ans.Program.ExecutableBase.DoMain (System.String[] args) [0x000be] in <004cd37a8c154aa3917bc73159ecd89b>:0Â--------------------------------------------------------------------------------------------------------------
I'd appreciate any assistance.
Thanks,
/Zvika
Â
Â
Â
-
August 8, 2022 at 12:41 pm
randyk
Forum ModeratorANSYS 2022R2 is the first release to support Ubuntu.
Please see our Platform pages:  https://www.ansys.com/it-solutions/platform-supportÂDid you install the required packages: - see the online help pages regarding Linux prerequisites: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/installation/unix_platform_libraries.htmlÂsudo apt install -y libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libavahi-client3 libavahi-common3 libblkid1 libbsd0 libc6 libcairo-gobject2 libcairo2 libcom-err2 libcups2 libdatrie1 libdbus-1-3 libdrm2 libepoxy0 libexpat1 libffi7 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgcc-s1 libgcrypt20 libgdk-pixbuf2.0-0 libglib2.0-0 libgmp10 libgnutls30 libgpg-error0 libgraphite2-3 libgssapi-krb5-2 libgtk-3-0  libharfbuzz0b libhogweed5 libice6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblz4-1 liblzma5 libmount1 libnettle7 libnspr4 libnss3 libp11-kit0 libpango-1.0-0 libpangocairo-1.0-0  libpangoft2-1.0-0 libpcre2-8-0 libpcre3 libpixman-1-0 libpng16-16 libselinux1 libsm6 libsqlite3-0  libsystemd0 libtasn1-6  libthai0 libunistring2 libuuid1 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libx11-6 libx11-xcb1 libxau6 libxcb-dri3-0 libxcb-render0 libxcb-shm0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxss1 libxtst6 lsb-core libc6:i386 libxm4 xsltproc -
August 9, 2022 at 11:10 am
zvika
SubscriberThanks, Randy, for your reply.
I have tried to install as you have mentioned, but got the following errors:
E: Unable to locate package libhogweed5
E: Unable to locate package libnettle7The pakages are installed in a more recent version, the one that is part of the 22.04 (jammy) repository, namely:
libhogweed6 & libnettle8.
I tried to overcome the problem by installing also the missing versions, to no avail.
I am aware that ubuntu 22.04 will be supported as of ansys 2023R2. However, is there any unofficial/unsupported method to get ansys 2022R1 to run on ubuntu 22.04? Is the problem limited to using the ansys-workbench or are the terminal and gui versions also affected, although they seem to start normally?
Thanks,
/Zvika
Â
Â
-
August 10, 2022 at 11:53 am
randyk
Forum ModeratorHi Zvika,
Unfortuantely, the first ANSYS release tested on Ubuntu was 2022R2.
I was able to start 2022R1 after installing the additional packages:
  sudo apt-get install alien
  sudo apt-get install lsbDisclaimer: Â
This response does not infer ANSYS official support for versions prior to 2022R2
Please see http://www.ansys.com/Support/Platform+Support for officially supported operating systems.Â
thanks
Randy -
August 17, 2022 at 4:42 pm
zvika
SubscriberThanks Randy. With your suggestion I managed to get ansys221 WB going. Had some mesa-swrast isssues. Updating the Nvidia 515 drivers to the propriety ones didn't solve the problem, and WB started but with err msgs and wasn't fully functional, according to the user (I admin the machine, don't use ansys). What did the trick, but probably with a performance penalty, was to set the following env var: export LIBGL_ALWAYS_INDIRECT=1 Thanks again, /Zvika
-
- The topic ‘ansys 2022 R1 workbench fails to start on ubuntu 22.04’ is closed to new replies.
-
5834
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.