Rohit
Rohit

Reputation: 189

Not able to install Python3 on AIX server

I am trying to install Python 3 on a AIX server.

I got the Python 3 RPM file for AIX from here.

There were few dependencies that needed to be installed before installing Python, but I chose to install it without having installed any dependency through nodeps.

Now when I execute a Python3 command, I get the following errors:

enter image description here

It says cannot load module /opt/freeware/lib64/libpython3.5m.so but the file does exists in that directory.

enter image description here

Both LIBPATH & LD_LIBRARY_PATH are set to lib64.

enter image description here

Edit: Adding the output of lslpp -L rmp.rte command

enter image description here

Upvotes: 0

Views: 3366

Answers (2)

Rohit
Rohit

Reputation: 189

The issue has been resolved now :)

I downloaded and installed below 2 dependencies libgcc gettext

I need not had to downgrade RPM or install and use yum to download required dependencies.

Upvotes: 2

liam
liam

Reputation: 2014

Download 3.0.5.51 from here

After download execute the following command on the server as root:

# installp -acFXYd rpm.rte.3.0.5.51 all

This command should downgrade your RPM to 3.0.5.51 and make it usable.

Upvotes: 0

Related Questions