Installing maya 2017 on ubuntu 19.04

Question

How would you go about installing maya 17 on ubuntu 19.04 trying to use the 18.04 but getting errors for libpng

solved 0
pringleprangle 5 months 18 Answers 645 views

Answers ( 18 )

  1. Hi pringleprangle,

    Please post the error message you’re getting. Then, I can help solve your problem.

    Thanks.

  2. ./setup: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

    I cannot install libpng12.so.o no matter what.

  3. Hi pringleprangle,

    First, install alien with the following command:

    $ sudo apt install -y alien elfutils

     

    Now, download libpng12 rpm library package with the following command:

    $ wget http://download-ib01.fedoraproject.org/pub/fedora/linux/releases/29/Everything/x86_64/os/Packages/l/libpng12-1.2.57-8.fc29.x86_64.rpm

     

    Now, convert the rpm package to deb package as follows:

    $ sudo alien -cv *.rpm

     

    Now, install the deb package as follows:

    $ sudo dpkg -i *.deb

     

    Finally, run the following command:

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

     

    The error should be gone.

     

    Thanks.

     

  4. Getting this error

    chmod 755 ‘-/./’
    chmod: invalid option — ‘/’
    Try ‘chmod –help’ for more information.
    mkdir -/debian
    mkdir: invalid option — ‘/’
    Try ‘mkdir –help’ for more information.
    mkdir -/debian failed: No such file or directory at /usr/share/perl5/Alien/Package/Deb.pm line 373.
    find – -type d -exec chmod 755 {} ;
    rm -rf –

  5. Heres the enire thing though

    sudo alien -cv *.rpm

    output was

    LANG=C rpm -qp –queryformat %{NAME} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{VERSION} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{RELEASE} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{ARCH} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{CHANGELOGTEXT} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{SUMMARY} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{DESCRIPTION} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{PREFIXES} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{PREIN} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{POSTUN} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{POSTIN} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{LICENSE} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qp –queryformat %{PREUN} ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qcp ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    rpm -qpi ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    LANG=C rpm -qpl ‘libpng12-1.2.57-8.fc29.x86_64.rpm’
    mkdir –
    chmod 755 –
    rpm2cpio ‘libpng12-1.2.57-8.fc29.x86_64.rpm’ | lzma -t -q > /dev/null 2>&1
    rpm2cpio ‘libpng12-1.2.57-8.fc29.x86_64.rpm’ | (cd -; cpio –extract –make-directories –no-absolute-filenames –preserve-modification-time) 2>&1
    chmod 755 ‘-/./’
    chmod: invalid option — ‘/’
    Try ‘chmod –help’ for more information.
    mkdir -/debian
    mkdir: invalid option — ‘/’
    Try ‘mkdir –help’ for more information.
    mkdir -/debian failed: No such file or directory at /usr/share/perl5/Alien/Package/Deb.pm line 373.
    find – -type d -exec chmod 755 {} ;
    rm -rf –

  6. You’ve renamed the original /usr/bin/rpm to something else. But, for the alien command to work, you have to restore the original /usr/bin/rpm binary file first.

  7. thats odd is this related to 19.04?  would I just reinstall rpm package?

  8. No, you always have to replace the original /usr/bin/rpm file with a dummy one in order to install Maya on ubuntu. Because Maya for Linux is developed to run on RHEL and CentOS systems, not on Ubuntu. So, the installer does not know how to successfully install rpm packages. the dummy rpm binary always returns 0 or SUCCESS. That’s why the installer works on Ubuntu. So, once you get Maya installed, you should rever back to the original /usr/bin/rpm binary. Otherwise alien won’t know how to handle the rpm file.

    You may reinstall rpm to solve this problem as well:

    $ sudo apt install –reinstall rpm

    Best answer
  9. Alright I got the installer to run but the license and the flex client doesnt install. any reason?

  10. Okay I fixed that. Getting this error.

    /usr/autodesk/maya2017/bin/maya.bin: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory

  11. Fixed that the libpng really screwed up the entire processes I got it to load the only error I got was the color management failed to initialize dont know what that is from.

  12. Error: The GPU adaptor of the transform to finalize is null
    Error: Failed to apply color management settings on file open: Failed to finalize the color transform..
    Error: The GPU adaptor of the transform to finalize is null
    Error: Failed to finalize the color transform.
    Failed to register registerFragments.Unable to execute igInitialize.mel.Unable to execute xgen.mel.
    API error detected in /local/S/Maya_2017_DI/src/Maya/src/Type/pluginMain.cpp at line 131
    : (kFailure): Unexpected Internal Failure
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 7655, resource id: 30010077, major code: 40 (TranslateCoords), minor code: 0
    00:00:00 732MB ERROR | [mtoa] Error loading extension library: libbifrostapi.so: cannot open shared object file: No such file or directory.
    00:00:00 733MB WARNING | [mtoa] [bifrost_shaders] [node bifrostFoamMaterial] Assigning temporary node id 1138176 to associated Maya type name bifrostFoamMaterial.
    00:00:00 733MB WARNING | [mtoa] [bifrost_shaders] [node bifrostAeroMaterial] Assigning temporary node id 1138177 to associated Maya type name bifrostAeroMaterial.

    API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 571
    : (kFailure): Unexpected Internal Failure
    00:00:00 738MB WARNING | [mtoa] Extension hairPhysicalShaderTranslator(/opt/solidangle/mtoa/2017/extensions/hairPhysicalShaderTranslator.so) requires Maya plugin hairPhysicalShader, registering will be deferred until plugin is loaded.
    master@pop-os:~/Downloads/maya2017Installer$ /usr/autodesk/maya2017/bin/maya.bin

    VP2 Error : Failed to initialize graphics device.
    Error: The GPU adaptor of the transform to finalize is null
    Error: Failed to apply color management settings on file open: Failed to finalize the color transform..
    Error: The GPU adaptor of the transform to finalize is null
    Error: Failed to finalize the color transform.
    Failed to register registerFragments.Unable to execute igInitialize.mel.Unable to execute xgen.mel.00:00:00 595MB ERROR | [mtoa] Error loading extension library: libbifrostapi.so: cannot open shared object file: No such file or directory.
    00:00:00 595MB WARNING | [mtoa] [bifrost_shaders] [node bifrostFoamMaterial] Assigning temporary node id 1138176 to associated Maya type name bifrostFoamMaterial.
    00:00:00 595MB WARNING | [mtoa] [bifrost_shaders] [node bifrostAeroMaterial] Assigning temporary node id 1138177 to associated Maya type name bifrostAeroMaterial.

    API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 571
    : (kFailure): Unexpected Internal Failure

  13. // Error: file: /usr/autodesk/maya2017/scripts/others/contextXGenToolsMM.mel line 36: Cannot find procedure “getGroomingToolIndex”.

     

     

    cant right click

  14. GPU acceleration won’t work unless you have a compatible GPU installed on your computer.

    To check whether your GPU is compatible, check the hardware certification results of Maya 2017 at https://knowledge.autodesk.com/sites/default/files/HardwareCertificationResults_Maya2017_Update3_v01.pdf

    Are you able to run Maya 2017?

    • Yes I have it running but its giving weird errors. yeah its on that list Im running a GeForce GTX 1080

       

      I had to turn off some plugins to get the right click to work again. Xgen plugin and the mtoa. Still getting the color management error as well.

  15. I see. I don’t really have a Maya compatible GPU. So, I can’t really try to get it to work at the moment.

    If you get it to work, let me know. Thanks.

  16. Hi!

    Check this:

    Maybe I’ve found a way to work around this issue… It worked for me here.
    I’m currently using Maya 2017 on a Ubuntu 18.04 LTS machine.. basically I opened the contentXGenToolsMM.mel file, which is located at : /usr/autodesk/maya2017/scripts/others/contextXGenToolsMM.mel and comment out few lines of code where the getGroomingToolIndex() is called and its return value is tested, inside the global function contextXGenToolsMM():

    global proc int contextXGenToolsMM(string $parent)
    {
    ….

    //int $index = getGroomingToolIndex();
    //if($index == -1)
    //{
    // return 0;
    //}

    ….

    }

    Save the file, and that’s it..”

     

    Source: https://forums.autodesk.com/t5/maya-forum/can-t-use-right-click-radial-menus/td-p/6839305

     

     

     

Leave an answer