error: command '/opt/freeware/lib/python2.7/config/ld_so_aix' failed with exit status 8


I have this error occurred when installing Python2.7 on AIX 6 OS :

 error: command '/opt/freeware/lib/python2.7/config/ld_so_aix' failed with exit status 8

Can I install separately ld_so_aix ? How ? Where can I get the library ?

Thanks for your reply
Seydina FallIT ingineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Try install the rpm. Python 2.7.12 and all its dependencies are available on AIX toolbox.

Seydina FallIT ingineerAuthor Commented:

Thanks for your reply, it seems to be better but I face another issue :

The command rpm -Uvh python-2.7.12-2.aix6.1.ppc.rpm send :
error: failed dependencies:
        libncurses.a( is needed by python-2.7.12-2
        libpanel.a( is needed by python-2.7.12-2

Do you know where I can get that library.


Since AIX isn't open source finding the right dependencies can be a real pain.

OSS4AIX might be your best shot: 

If you cannot find suitable dependencies  then you can try to compile the source code yourself using the XLC compiler. The compiler isn't free software but you can use it for a 60 day trial period:

Else you can try to force the installation with no dependencies:

rpm -Uvh --force --nodeps python-2.7.12-2.aix6.1.ppc.rpm

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Basically since AIX is ac closed source unix system this comment is his best chance of solving his problem.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.