Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  install node and npm on AIX

    Posted Fri January 11, 2019 04:07 AM

    Originally posted by: yzhangcd@cn.ibm.com


    Hi, team

    As I installed node package on AIX server, and it gave me message that node was installed completely.

    But, when I give command "node -version", it shows me below message. Could you please help me on it? Thanks!


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: install node and npm on AIX

    Posted Fri January 11, 2019 04:27 AM

    Originally posted by: AyappanP


    Seems to be a compatibility issue in libstdc++ library. This symbol is not there in the libstdc++ 6.3.0-1 version

    May be the node has to be rebuilt with this version of libstdc++.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: install node and npm on AIX

    Posted Fri January 11, 2019 04:37 AM

    Originally posted by: yzhangcd@cn.ibm.com


    Thank for your reply so quickly.

    And may I know how to rebuild the node?

    As after I install libstdc++ , I reinstalled node, and it was completed smoothly without any warning and error message.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: install node and npm on AIX

    Posted Fri January 11, 2019 05:31 AM

    Originally posted by: AyappanP


    You can find the working binaries from here --> https://nodejs.org/en/download/


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: install node and npm on AIX

    Posted Mon January 14, 2019 02:37 AM

    Originally posted by: yzhangcd@cn.ibm.com


    Thanks,

    But it(https://nodejs.org/en/download/) seems to be Official website, do you know it could be used in IBM Internal use. or  there is other installation package resource?

    And our sever is AIX7.1-64bit, could you please help which version node is the right choice?Thanks in advance!


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 6.  Re: install node and npm on AIX

    Posted Tue January 15, 2019 01:18 AM

    Originally posted by: AyappanP


    You can very well use the one from the official site. 

    Take LTS version of AIX 64bit node --> ( https://nodejs.org/dist/v10.15.0/node-v10.15.0-aix-ppc64.tar.gz )

    I see a build issue with this package. But you can workaround it by setting LIBPATH="/opt/freeware/lib:/usr/lib:/lib". 

    A defect has been raised for this and fixed in the current branch --> https://github.com/nodejs/node/issues/25444 

    From next release onwards we don't see this issue.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 7.  Re: install node and npm on AIX

    Posted Tue January 15, 2019 03:36 AM

    Originally posted by: yzhangcd@cn.ibm.com


    Thanks,

    I have installed node successfully, the problem is caused by the version libgcc and libstdc++, it should be 4.8.1 version both of libgcc and lbstdc++.


    #AIXOpenSource
    #AIX-Open-Source-Software