Forum Stats

  • 3,740,546 Users
  • 2,248,272 Discussions
  • 7,861,322 Comments

Discussions

Python error during installation of Solaris Studio

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:

[email protected]:~# 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!

2815301

Answers

  • Steve.Clamage-Oracle
    Steve.Clamage-Oracle Member Posts: 775
    edited Feb 9, 2015 12:12PM

    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.

    28153012815301
This discussion has been closed.