Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Python error during installation of Solaris Studio

User_7ZJ07Feb 8 2015 — edited Feb 9 2015

I am trying to follow the steps from https://pkg-register.oracle.com/register/product_info/6/ to install Solaris Studio 12.3 on a virtualbox installation of Solaris 11_2-42.

At this step:

> Use the following commands to set up your publisher configuration for the Oracle Solaris Studio repository:

     $ sudo pkg set-publisher \ -k ~/Desktop/pkg.oracle.com.key.pem \ -c ~/Desktop/pkg.oracle.com.certificate.pem \ -G "*" -g https://pkg.oracle.com/solarisstudio/release solarisstudio 

I get the following error:

root@computer:~# pkg set-publisher -k /export/home/raphael/Desktop/pkg.oracle.com.key.pem -c /export/home/raphael/Desktop/pkg.oracle.com.certificate.pem -G "*" -g https://pkg.oracle.com/solarisstudio/release solarisstudio

Traceback (most recent call last):

  File "/usr/bin/pkg", line 46, in <module>

    import calendar

  File "/usr/lib/python2.6/calendar.py", line 10, in <module>

    import locale as _locale

  File "/usr/lib/python2.6/locale.py", line 202, in <module>

    import re, operator

ImportError: ld.so.1: isapython2.6: fatal: relocation error: file /usr/lib/python2.6/lib-dynload/operator.so: symbol _PyUnicodeUCS2_AsDefaultEncodedString: referenced symbol not found

Any input is greatly appreciated!

Comments

Over the weekend I installed Studio 12.4 on a Solaris 11.2 guest OS in VirtualBox on Windows. I did not have your exact problem, but I did have other problems due to out-of-date Solaris system libraries. I followed the instructions in the Studio installation guide for updating the system, after which Studio installed without a problem.

There might be other issues with Studio 12.3 - - I haven't tried to install it. Unless there is a specific reason why you need 12.3, I suggest installing 12.4, the current studio release.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 9 2015
Added on Feb 8 2015
1 comment
1,499 views