This is my first time here, I have had EOS for about 6 months now and I really like it, I came from Ubuntu (6 months too) and previously Windows for many years and I am very happy with it!
So far I have been able to run everything I have tried and it all works nicely!
Maya is bundled with a python interpreter called “mayapy”, which has certain libraries built in to it that allows you to run a Maya session from the terminal. In order to do so you have to import the python library called maya.standalone as a first step, but when I do so I get this error:
Python 3.9.7 (heads/adsk-contrib-maya-v3.9.7-dirty:e6c0a2c880f, Sep 7 2021, 11:04:36)
[GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from maya import standalone
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: libjbig.so.2.1: cannot open shared object file: No such file or directory
It seems to be this library missing, which I tried to install from rpm and other sources, but failed to do so, do you guys have a suggestion?
It did not work as in I still get the same error when attempting to import maya.standalone within the python session, even if I add the AUR lib to the $PATH.
I just read the comments on the AUR package, but I don’t know how are they helping as the maintainer already added the changes they are talking about.
It also say that it provides libjbig.so.0 but the error is asking for libjbig.so.2.1.
Apparently that library existed all along in the Maya lib folder, so I can imagine it was not about it being missing, but not being found.
$ ls /usr/autodesk//maya2023/lib | grep libj
And simply doing this did the trick:
Now, should I do this for every session? or should I make this variable permanent? I have read that it is not great to make it permanent so maybe I can make a sh script where I export this variable before launching mayapy?