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

Amitava Dutta adutta at easylink.com
Wed Jan 11 22:33:37 CET 2012


Thanks for your prompt replies.

This is the new development machine that I'm starting to set up.
I'm downloading the x86 ISO image and will install the packages from there.

________________________________
From: Leslie H Wood [mailto:leslie.wood at oracle.com]
Sent: Wednesday, January 11, 2012 4:26 PM
To: Amitava Dutta
Cc: Questions and discussions
Subject: Re: [csw-users] How to run xterm on Solaris 11 on x86

The design philosophy changed for OpenSol/S11exp/S11 in that it does minimalist installs.  However for S11 they did bring package group options back.

For the ones following the naming convention:

moxie:/usr/X11/bin ->pkg list -a 'group/*'

NAME (PUBLISHER)                                  VERSION                    IFO

group/feature/amp                                 0.5.11-0.175.0.0.0.2.2576  ---

group/feature/developer-gnu                       0.5.11-0.175.0.0.0.2.2576  ---

group/feature/multi-user-desktop                  0.5.11-0.175.0.0.0.2.2576  ---

group/feature/storage-avs                         0.5.11-0.175.0.0.0.2.1     ---

group/feature/storage-nas                         0.5.11-0.175.0.0.0.2.1     ---

group/feature/storage-server                      0.5.11-0.175.0.0.0.2.1     ---

group/feature/trusted-desktop                     0.5.11-0.175.0.0.0.2.2576  ---

group/system/solaris-auto-install                 0.5.11-0.175.0.0.0.2.2576  ---

group/system/solaris-desktop                      0.5.11-0.175.0.0.0.2.2576  ---

group/system/solaris-large-server                 0.5.11-0.175.0.0.0.2.2576  ---

group/system/solaris-small-server                 0.5.11-0.175.0.0.0.2.2576  ---

Note that the "multi-user-desktop (solaris)" is specifically for Sunray.

Bottom line is that you need to add what you need from the repository you did your initial install from.

Amitava Dutta wrote, On 01/11/12 14:12:
thanks !

but there's no xterm on the machine ;-(

$ pkg list xterm
pkg list: no packages matching 'xterm' installed
$ ls /usr/bin/xterm
/usr/bin/xterm: No such file or directory
any other place I  should look?
________________________________
From: Leslie H Wood [mailto:leslie.wood at oracle.com]
Sent: Wednesday, January 11, 2012 4:01 PM
To: Questions and discussions
Cc: Amitava Dutta
Subject: Re: [csw-users] How to run xterm on Solaris 11 on x86

Not sure if you need a special xterm for some reason but there is the default xterm on Solaris 11.

moxie:/home/xxx ->more /etc/release
                           Oracle Solaris 11 11/11 X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 18 October 2011

moxie:/home/xxx ->which xterm
/usr/bin/xterm

moxie:/home/xxx ->pkg list xterm
NAME (PUBLISHER)                                  VERSION                    IFO
terminal/xterm

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.

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)

Complete outputs are below.
How do I run xterm on Solaris 11 on x86?

Thanks for your help.

$ cat /etc/release
                           Oracle Solaris 11 11/11 X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 18 October 2011

$ pwd; ls -l libXaw* libXext* libSM* libICE*
/opt/csw/X11/lib
lrwxrwxrwx   1 root     root          15 Jan 11 13:34 libICE.so -> libICE.so.6.3.0
lrwxrwxrwx   1 root     root          15 Jan 11 13:34 libICE.so.6 -> libICE.so.6.3.0
-rwxr-xr-x   1 root     bin       146564 Feb 18  2010 libICE.so.6.3.0
lrwxrwxrwx   1 root     root          14 Jan 11 13:34 libSM.so -> libSM.so.6.0.1
lrwxrwxrwx   1 root     root          14 Jan 11 13:34 libSM.so.6 -> libSM.so.6.0.1
-rwxr-xr-x   1 root     bin        46092 Feb 18  2010 libSM.so.6.0.1
lrwxrwxrwx   1 root     root          10 Jan 11 13:34 libXaw.so -> libXaw7.so
lrwxrwxrwx   1 root     root          12 Jan 11 13:34 libXaw.so.6 -> libXaw6.so.6
lrwxrwxrwx   1 root     root          12 Jan 11 13:34 libXaw.so.7 -> libXaw7.so.7
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXaw6.so -> libXaw6.so.6.0.1
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXaw6.so.6 -> libXaw6.so.6.0.1
-rwxr-xr-x   1 root     bin       356280 Feb 19  2010 libXaw6.so.6.0.1
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXaw7.so -> libXaw7.so.7.0.0
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXaw7.so.7 -> libXaw7.so.7.0.0
-rwxr-xr-x   1 root     bin       467364 Feb 19  2010 libXaw7.so.7.0.0
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXext.so -> libXext.so.0.0.0
lrwxrwxrwx   1 root     root          16 Jan 11 13:34 libXext.so.0 -> libXext.so.0.0.0
-rwxr-xr-x   1 root     bin        88804 Mar  8  2010 libXext.so.0.0.0


$ ldd /opt/csw/bin/xterm
        libXft.so.2 =>   /opt/csw/lib/libXft.so.2
        libfontconfig.so.1 =>    /opt/csw/lib/libfontconfig.so.1
        libXaw.so.5 =>   (file not found)
        libXmu.so.4 =>   /usr/lib/libXmu.so.4
        libXt.so.4 =>    /usr/lib/libXt.so.4
        libICE.so.6 =>   /opt/csw/X11/lib/libICE.so.6
        libICE.so.6 (SUNW_1.1) =>        (version not found)
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libcurses.so.1 =>        /lib/libcurses.so.1
        libc.so.1 =>     /lib/libc.so.1
        libfreetype.so.6 =>      /opt/csw/lib/libfreetype.so.6
        libXrender.so.1 =>       /opt/csw/lib/libXrender.so.1
        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
        libz.so =>       /lib/libz.so
        libexpat.so.1 =>         /opt/csw/lib/libexpat.so.1
        libXext.so.0 =>  /opt/csw/X11/lib/libXext.so.0
        libXext.so.0 (SUNW_1.1) =>       (version not found)
        libm.so.2 =>     /usr/lib/libm.so.2
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libSM.so.6 =>    /opt/csw/X11/lib/libSM.so.6
        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)
        libsocket.so.1 =>        /lib/libsocket.so.1
        libxcb.so.1 =>   /opt/csw/X11/lib/libxcb.so.1
        libz.so.1 =>     /opt/csw/lib/libz.so.1
        libbz2.so.1.0 =>         /opt/csw/lib/libbz2.so.1.0
        libX11.so.6 =>   /opt/csw/X11/lib/libX11.so.6
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libXau.so.6 =>   /opt/csw/X11/lib/libXau.so.6
        libXdmcp.so.6 =>         /opt/csw/X11/lib/libXdmcp.so.6
        libdl.so.1 =>    /lib/libdl.so.1
        libXmuu.so.1 =>  /opt/csw/X11/lib/libXmuu.so.1



$ /opt/csw/bin/pkgutil -y -i xterm
Solving needed dependencies ...
Solving dependency order ...
17 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
        CSWexpat-2.0.1,REV=2011.07.15
        CSWfconfig-2.6.0,REV=2009.04.24
        CSWftype2-2.4.8,REV=2012.01.05
        CSWiconv-1.14,REV=2011.08.08
        CSWisaexec-0.2,REV=2009.03.26
        CSWlibbz2-1-0-1.0.6,REV=2011.08.18
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibexpat0-1.95.8,REV=2011.07.15
        CSWlibexpat1-2.0.1,REV=2011.07.15
        CSWlibfreetype6-2.4.8,REV=2012.01.05
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWlibxft2-2.1.14,REV=2010.06.07
        CSWlibxrender-0.9.5,REV=2010.05.20
        CSWlibz1-1.2.5,REV=2011.08.19
        CSWxterm-267,REV=2010.12.09
        CSWzlib-1.2.5,REV=2011.08.19

Nothing to do.





_______________________________________________
users mailing list
users at lists.opencsw.org<mailto:users at lists.opencsw.org>
https://lists.opencsw.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20120111/54c3a5d6/attachment-0001.html>


More information about the users mailing list