问题 该信息是因为没有安装64位的libXp.so.6动态链接库,解决办法是到http://rpmfind.net/linux/rpm2html/search.PHP?query=libXp.so.6%28%29%2864bit%29上下载
libXp-1.0.2-6.fc24.x86_64.rpm文件,然后双击打开,把里面的libXp.so.6和libXp.so.6.2.0拷贝出来,直接放到目录/usr/local/exelis/idl82/bin/bin.linux.x86_64/下面
问题 启动的时候输入sudo maya 找不到
则需要从这里启动
sudo /usr/autodesk/maya2012-x64/bin/maya2012
It took some trial and error to successfully install and license Maya 2016 in Ubuntu 14.04,and here’s how I did it.
First off,let’s install some libraries. It’s possible that not all these libraries are needed as the list of libraries stem from installation instructions from an earlier version of Maya.
sudo apt-get install csh tcsh libaudiofile-dev libglw1-mesa elfutils gamin libglw1-mesa-dev mesa-utils xfstt ttf-liberation ttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi alien
Maya needs write access to a temp folder,which does not exist by default in Ubuntu 14.04. Let’s create it and make it writeable.
sudo mkdir /usr/tmp
sudo chmod 777 /usr/tmp
Since Ubuntu cannot deal with RPM packages,we need to convert these to .deb packages using alien. This is a fairly simple process.
sudo alien -cv *.rpm
Then we need to install the .deb packages.
sudo dpkg -i *.deb
Now you will have both Maya installed and its Adlm (licensing) software installed. In order to proceed from here we need to make sure Maya is going to find some libraries which it will be needing. This entails creating symlinks to existing files in Ubuntu and have them placed where Maya is looking for them. We might also have to install libssl,as shown below.
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.0 /usr/autodesk/maya2016/lib/libtiff.so.3
sudo apt-get install libssl1.0.0 libssl-dev
sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/autodesk/maya2016/lib/libcrypto.so.10
sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/autodesk/maya2016/lib/libssl.so.10
Setting up the licensing
Now it’s time to make sure the licensing works. This one took a while to figure out,and it turns out the easiest route is to use the bundled setup script which comes with the installation files.
But first,set an environment variable,which will make and Adlm library available temporarily:
export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R11/lib64/
Go into the unpacked installation folder which contained the RPM files and look for a file called “setup”. Now it’s important that you stand inside this folder when executing the following (some libraries required might not be found if you don’t):
chmod +x setup
sudo ./setup
Now enter your licensing information. When you proceed in the setup wizard,you’ll notice that the installation will fail. This just means it is unable to install the RPMs (which we already converted to deb packages and installed prevIoUsly). However,it should have been successful with setting up the licensing for you:
# /var/opt/Autodesk/Adlm/Maya2016/MayaConfig.pit
(binary file)
# cat /var/opt/Autodesk/Adlm/Maya2016/install.env
ADLMLICENSETYPE=<network|standalone>
ADLMPRODUCTKEY=<PRODUCT_NUMBER>
ADLMPRODUCTVERSION=2016.0.0.F
ADLMSERIALNUMBER=<SERIAL_NUMBER>
# cat /usr/autodesk/maya2016/bin/License.env
MAYA_LICENSE=<PRODUCT_NUMBER>
MAYA_LICENSE_METHOD=<network|standalone>
# cat /var/flexlm/maya.lic
SERVER <SERVER_NAME_OR_IP> 0
USE_SERVER
We’re all done. Start Maya:
sudo /usr/autodesk/maya2016/bin/maya
For some reason,not sure why,I can’t start Maya without root privileges. Let me know if you know why – or any other way I can improve this guide by commenting below!
Happy rendering!
附参考文章
http://blog.sina.com.cn/s/blog_c3c7bc4e0102v14w.html//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
经过上面的各种折腾之后
1.首先我们准备安装maya的库环境。按ctrl+alt+t打开终端,输入以下命令:
sudoapt-get install csh tcsh libaudiofile-dev libglw1-mesa elfutilsgamin libglw1-mesa-dev mesa-utils xfs xfstt ttf-liberationttf-mscorefonts-installer xfonts-100dpi xfonts-75dpi alien
PS:在终端输入以上命令时,提示xfs已经不存在或被替代了,所以我删掉了xfs。另外ttf-mscorefonts-installer会下载失败,所以我也删掉它。最终我在终端输入的只有:
sudo apt-getinstall csh tcsh libaudiofile-dev libglw1-mesa elfutils gaminlibglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpixfonts-75dpi alien
然后输入密码,等待它下载安装完成。
2.解压我们下载的maya2012的压缩包。我解压在home目录下,而且文件夹重命名为maya。我的用户名是spacingx,所以在终端下进入maya目录的命令是:
cd /home/spacingx/maya
下一步就是将rpm转变为deb,命令是:
for i in *.rpm; do sudo alien -cv $i;done
这是一个漫长的过程,我的电脑差不多10分钟,慢慢等吧。
回车,继续等。。。。(这个用不了多久的)。
4.好了,安装也完成了,现在就来捣鼓后续设置吧。
5.然后加入许可证类型:
6.再然后加入seril number:
/usr/autodesk/maya2012-x64/bin/adlmreg -i S657D1 657D1 2012.0.0.F 666-68686868/var/opt/Autodesk/Adlm/Maya2012/MayaConfig.pit
PS:终端运行上面那句command的时候会提示libadlmPIT.so.4和libadlmutil.so.4不存在,没关系,先执行以下两个命令,再重新执行上面的步骤6:
sudo cp libadlmPIT.so.4/usr/lib
sudo cp libadlmutil.so.4 /usr/lib
再导出maya的库文件地址:
exportLD_LIBRARY_PATH=/opt/Autodesk/Adlm/R1/lib64/
7.后续也设置完成了,现在就该破解了吧,下载破解文件,解压文件到文件夹。我将破解文件解压在home目录下的crack文件夹下,所以我在终端进入破解文件夹的命令是:
cd
由于安装破解文件要root用户的权限,所以先输入以下命令取得root权限:
su -
按示输入root用户密码后取得root权限。看提示符前的用户名为root。(我的是root@Aspire-5750G:~#)
接着安装破解文件:
./crack2012.2
这时已经完成破解。
8.安装也安装完成了,破解也破解完成了,有点小激动吧?迫不及待的想看到熟悉的maya loading界面吧?终端输入 maya , ,又是那个可恶的lib什么什么的缺失提示。不激动,不激动。我们一个一个来解决:
sudo maya
PS:确认上述路径有没有libjpeg.so.62,如果没有那就: