Not able to install nodejs on Solaris-10

Dip Sh
Dip Sh used Ask the Experts™
on
I am unable to install nodejs on Solaris-10 x86 server. It is complaining about some libraries . Can somebody guide on this ?
-bash-3.2# cat /etc/release
                    Oracle Solaris 10 1/13 s10x_u11wos_24a X86
  Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
                            Assembled 17 January 2013
-bash-3.2# pwd
/var/tmp/node-v8.11.2-sunos-x64/bin
-bash-3.2# ./node
ld.so.1: node: fatal: libsocket.so.1: version 'SUNW_1.7' not found (required by file node)
ld.so.1: node: fatal: libsocket.so.1: open failed: No such file or directory
Killed
-bash-3.2# ldd node
        libkstat.so.1 =>         /lib/64/libkstat.so.1
        libumem.so.1 =>  /lib/64/libumem.so.1
        libsocket.so.1 =>        /lib/64/libsocket.so.1
        libsocket.so.1 (SUNW_1.7) =>     (version not found)
        libnsl.so.1 =>   /lib/64/libnsl.so.1
        libsendfile.so.1 =>      /lib/64/libsendfile.so.1
        libstdc++.so.6 =>        (file not found)
        libm.so.2 =>     /lib/64/libm.so.2
        librt.so.1 =>    /lib/64/librt.so.1
        libgcc_s.so.1 =>         (file not found)
        libpthread.so.1 =>       /lib/64/libpthread.so.1
        libc.so.1 =>     /lib/64/libc.so.1
        libc.so.1 (ILLUMOS_0.17) =>      (version not found)
        libc.so.1 (ILLUMOS_0.8) =>       (version not found)
        libmp.so.2 =>    /lib/64/libmp.so.2
        libmd.so.1 =>    /lib/64/libmd.so.1
        libscf.so.1 =>   /lib/64/libscf.so.1
        libaio.so.1 =>   /lib/64/libaio.so.1
        libdoor.so.1 =>  /lib/64/libdoor.so.1
        libuutil.so.1 =>         /lib/64/libuutil.so.1
        libgen.so.1 =>   /lib/64/libgen.so.1
-bash-3.2# find / -name libsocket.so.1
/usr/lib/libsocket.so.1
/usr/lib/amd64/libsocket.so.1
/lib/amd64/libsocket.so.1
/lib/libsocket.so.1
-bash-3.2# find / -name "libstdc++.so.6"
/usr/sfw/lib/amd64/libstdc++.so.6
/usr/sfw/lib/libstdc++.so.6
/usr/local/lib/libstdc++.so.6
/usr/lib/vmware-tools/lib/amd64/libstdc++.so.6
/usr/lib/vmware-tools/lib/amd64/libstdc++.so.6/libstdc++.so.6
/usr/lib/vmware-tools/lib/libstdc++.so.6
/usr/lib/vmware-tools/lib/libstdc++.so.6/libstdc++.so.6
-bash-3.2# find / -name libgcc_s.so.1
/usr/sfw/lib/amd64/libgcc_s.so.1
/usr/sfw/lib/libgcc_s.so.1
/usr/local/lib/libgcc_s.so.1
/usr/lib/vmware-tools/lib/amd64/libgcc_s.so.1
/usr/lib/vmware-tools/lib/amd64/libgcc_s.so.1/libgcc_s.so.1
/usr/lib/vmware-tools/lib/libgcc_s.so.1
/usr/lib/vmware-tools/lib/libgcc_s.so.1/libgcc_s.so.1
-bash-3.2# find / -name libc.so.1
/usr/lib/libc.so.1
/usr/lib/amd64/libc.so.1
/lib/amd64/libc.so.1
/lib/libc.so.1
-bash-3.2#

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Prabhin MPDevOps Engineer
Distinguished Expert 2018

Commented:
Hi,
Can you please try these,
pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
/opt/csw/bin/pkgutil -y -i nodejs
/usr/sbin/pkgchk -L CSWnodejs # list files

Author

Commented:
Server is not open to internet, that is the reason, that package was downloaded and trying to install
But I am assuming that probably, this is also doing same thing and it would complain about those libraries.
Prabhin MPDevOps Engineer
Distinguished Expert 2018

Commented:
pkgadd -d http://get.opencsw.org/now


download the now in your local machine and do the above steps , Hope this will help you...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial