尝试在 Ubuntu 21.10 上安装和运行 Maya 2019 时出现分段错误

尝试在 Ubuntu 21.10 上安装和运行 Maya 2019 时出现分段错误

我正在尝试在 Ubuntu 21.10 上安装 Maya 2019。我认为我已经正确配置了所有内容,并且我接近让 Maya 正常工作,但不幸的是,最后我得到了一个分段错误,我不知道如何修复它。有人可以给我一些提示吗?下面您可以看到我发出的所有命令:

apt-get install alien dpkg-dev debhelper build-essential zlib1g-dev

add-apt-repository ppa:zeehio/libxp

nano /etc/apt/sources.list.d

deb http://ppa.launchpad.net/zeehio/libxp/ubuntu/ focal main

apt update / apt upgrade

cd /home/john/Downloads/Maya-Linux/Autodesk_Maya_2019_1_Update_Linux_64bit/rpm/

alien -vc adlmapps14-14.0.23-0.x86_64.rpm

alien -vc adlmflexnetclient-14.0.23-0.x86_64.rpm

alien -vc adlmflexnetserver-14.0.23-0.x86_64.rpm

alien -vc Maya2019_64-2019.0-8580.x86_64.rpm

apt install lsb-core

apt-get install ./adlmapps14_14.0.23-1_amd64.deb

apt-get install ./adlmflexnetserver_14.0.23-1_amd64.deb

apt-get install ./adlmflexnetclient_14.0.23-1_amd64.deb

apt-get install ./maya2019-64_2019.0-8581_amd64.deb

alien -vc pcre-utf16-8.42-6.el8.x86_64.rpm

apt install ./pcre-utf16_8.42-7_amd64.deb

cd /home/john/Downloads/Maya-Linux/Autodesk_Maya_2019_1_Update_Linux_64bit/debs/pcre-utf16_8.42-7_amd64/usr/lib64/

cp libpcre16.so.0 /usr/lib

cp libpcre16.so.0 /usr/lib32

cp libpcre16.so.0 /usr/lib64

alien -vc libpng-1.5.13-8.el7.x86_64.rpm

apt install ./libpng_1.5.13-9_amd64.deb

cd /home/john/Downloads/Maya-Linux/Autodesk_Maya_2019_1_Update_Linux_64bit/debs/libpng_1.5.13-9_amd64/usr/lib64/

cp libpng15.so.15 /usr/lib

cp libpng15.so.15 /usr/lib32

cp libpng15.so.15 /usr/lib64

alien -vc compat-openssl10-1.0.2o-3.el8.x86_64.rpm

apt install ./compat-openssl10_1.0.2o-4_amd64.deb

cd /home/john/Downloads/Maya-Linux/Autodesk_Maya_2019_1_Update_Linux_64bit/debs/compat-openssl10_1.0.2o-4_amd64/data/usr/lib64/

cp libcrypto.so.1.0.2o /usr/lib

cp libcrypto.so.1.0.2o /usr/lib32

cp libcrypto.so.1.0.2o /usr/lib64

cp libcrypto.so.10 /usr/lib

cp libcrypto.so.10 /usr/lib32

cp libcrypto.so.10 /usr/lib64

cp libssl.so.1.0.2o /usr/lib

cp libssl.so.1.0.2o /usr/lib32

cp libssl.so.1.0.2o /usr/lib64

cp libssl.so.10 /usr/lib

cp libssl.so.10 /usr/lib32

cp libssl.so.10 /usr/lib64

/usr/autodesk/maya2019/bin# sudo systemctl status adsklicensing
● adsklicensing.service - Autodesk Licensing Service
     Loaded: loaded (/lib/systemd/system/adsklicensing.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-03-26 23:07:45 CET; 18h ago
   Main PID: 881 (AdskLicensingSe)
      Tasks: 8 (limit: 4615)
     Memory: 5.0M
        CPU: 22.389s
     CGroup: /system.slice/adsklicensing.service
             └─881 /usr/bin/AdskLicensingService --run

ln -s /usr/lib/x86_64-linux-gnu/libtbb.so /usr/lib/x86_64-linux-gnu/libtbb_preview.so.2

ln -s /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/libtiff.so.3

ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.10

ln -s /usr/lib/x86_64-linux-gnu/libpcre16.so.3 /usr/lib/x86_64-linux-gnu/libpcre16.so.0

ln -s /usr/lib64/libpng15.so.15 /usr/lib/x86_64-linux-gnu/libpng15.so.15

ln -s /usr/lib64/libpng12.so.0 /usr/lib/x86_64-linux-gnu/libpng12.so.0

export TMPDIR=/home/john/tmp

/usr/autodesk/maya2019/bin# maya

Stack trace:
  pthread_kill
  raise
  abort
  /lib/x86_64-linux-gnu/libffi.so.8(+0x2488) [0x7f93712f8488]
  /usr/autodesk/maya2019/lib/python2.7/lib-dynload/_ctypes.so(+0xfe4f) [0x7f9338952e4f]
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x8ebfb) [0x7f9388596bfb]
  /usr/autodesk/maya2019/lib/python2.7/lib-dynload/_ctypes.so(+0xec47) [0x7f9338951c47]
  /usr/autodesk/maya2019/lib/python2.7/lib-dynload/_ctypes.so(+0xecc9) [0x7f9338951cc9]
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0xae395) [0x7f93885b6395]
  PyEval_EvalFrameEx
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x14b30e) [0x7f938865330e]
  PyObject_Call
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x49d61) [0x7f9388551d61]
  PyObject_CallMethod
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x112dc1) [0x7f938861adc1]
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x113034) [0x7f938861b034]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0xf30af) [0x7f93885fb0af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x14b30e) [0x7f938865330e]
  PyObject_Call
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x49d61) [0x7f9388551d61]
  PyObject_CallMethod
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x112dc1) [0x7f938861adc1]
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0x113075) [0x7f938861b075]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2019/lib/libpython2.7.so.1.0(+0xf30af) [0x7f93885fb0af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx

sudo /usr/local/bin/maya: line 188: 142424 Segmentation Error /usr/autodesk/maya2019/bin/maya.bin

Fatal error. Attempting to save in /home/john/tmp/john.20220327.2324.ma

tmp文件夹的权限是:

所有者 = root(root)

访问:读写

组:根

访问:读写

其他访问:读写

答案1

不幸的是,我无法让 Maya 2020 以下的任何版本在 Ubuntu 中运行。即使是 CentOS8(它应该在其上运行)也无法正常工作。我可以授权并运行命令,但它只是挂起并且永远不会进展。但是,Maya 2020 至少可以在 Ubuntu 20.04LTS 上运行。我试图在 PopOS 21.1 上安装,但我记得一开始我尝试在 Ubuntu 21.10 上安装 Maya 2020,但它不断崩溃。我读过关于降级一些库以使其工作的信息,但我至少有一条运行 Maya 和 Motionbuilder 2020 及更高版本的 20.04 路径。如果您能让 2019 工作,请分享,因为很难找出问题所在!

相关内容