[csw-users] How to run xterm on Solaris 11 on x86

Dagobert Michelsen dam at opencsw.org
Wed Jan 11 22:52:59 CET 2012


Hi Amitava,

Am 11.01.2012 um 22:12 schrieb Amitava Dutta:
> Amitava Dutta wrote, On 01/11/12 13:55:
>> Hello List,
>>  
>> I installed xterm on Solaris 11 on x86 but it can not find correct libraries.

Some of the X11 libraries are not installed on Solaris 11 by default.

>>  I installed the packages with /opt/csw/bin/pkgutil -y -i xterm then
>> added /opt/csw/lib and /opt/csw/X11/lib to LD_LIBRARY_PATH, but still has these errors:
>>  
>>         libXaw.so.5 =>   (file not found)
>>         libICE.so.6 (SUNW_1.1) =>        (version not found)
>>         libXext.so.0 (SUNW_1.1) =>       (version not found)
>>         libSM.so.6 (SUNW_1.1) =>         (version not found)
>>         libSM.so.6 (SUNWprivate) =>      (version not found)
>>         libICE.so.6 (SUNW_1.1) =>        (version not found)

The libraries in /opt/csw/X11/lib are from an experimental X11 project and should not
be used. You can find the respective Solaris 11 IPS packages with "pkg search":

> root at unstable11s [unstable11s]:/root > pkg search libXaw.so.5     
> INDEX           ACTION VALUE                                                                                                                       PACKAGE
> basename        file   usr/lib/sparcv9/libXaw.so.5                                                                                                 pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> basename        file   usr/lib/libXaw.so.5                                                                                                         pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> basename        file   usr/lib/amd64/libXaw.so.5                                                                                                   pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> basename        link   usr/X11/lib/libXaw.so.5                                                                                                     pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> basename        link   usr/X11/lib/sparcv9/libXaw.so.5                                                                                             pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> basename        link   usr/X11/lib/amd64/libXaw.so.5                                                                                               pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215
> pkg.description set    This package provides a libXaw.so.5 binary for backwards compatibility with programs compiled on older releases of Solaris. pkg:/x11/library/toolkit/libxaw5 at 0.5.11-0.175.0.0.0.0.1215

Install them with
  pkg install libxaw5
If there are more libs missing you can add them similarly.

> but there's no xterm on the machine ;-(
>  
> $ pkg list xterm
> pkg list: no packages matching 'xterm' installed

Try
  pkg search xterm
and
  pkg install xterm


I just verified that both the OpenCSW xterm and /usr/bin/xterm work on
Solaris 11 11/11 after installation of the respective CSW and IPS packages.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the users mailing list