Closed goetzmoritz closed 2 years ago
Try double-checking that you have the libpython3.10
package installed along with libpython3.10-dev
. According to the Ubuntu packages page, the former contains the shared libraries. If you don't have that installed, that might explain why libpython3.10.so
is not present.
Also, you could try updating to a newer version of cmake. The warnings from the FindBoost module were fixed in v3.22.2 and there are possibly other CMake fixes that affect the discovery of Python 3.10.
$ cmake --version
cmake version 3.24.20220627-g80e4a15
$ sudo apt-get install libpython3.10-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython3.10-dev is already the newest version (3.10.4-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install libpython3.10
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython3.10 is already the newest version (3.10.4-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
However compilation of USD is still stuck.
edit: FYI, I had to apply that little hack with _Py_fopen in the boost-library in order to compile properly.
By only using prman as a flag it works.
I try to compile on Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1010-gcp x86_64) with python 3.10 with the prman-flag enabled.
This is how far I get
I assume that might be attached to the Python 3.10 issues, however I have no idea how to fix that. However, this file
/usr/lib/x86_64-linux-gnu/x86_64-linux-gnu/libpython3.10.so
is not present. libpython3.10 is present.