Originally posted by: strikr
Hi:
trying to setup NodeJS 10.7.0 on AIX 7.2
https://nodejs.org/dist/v10.7.0/node-v10.7.0-aix-ppc64.tar.gz
Since we are using Go lang on AIX, we have gcc 8.x and libstdc++ 8.x libraries
However with NodeJS 10.x, the requirement is libstdc++ 6.x
As a workaround, we are exploring the following approach
-
download libstdc++ 6.x ppc RPM
-
extract it in a directory co-located with the directory where NodeJS has been extracted
-
update LIBPATH to reflect the path which has 6.x shared libraries
-
if ldd ./node works then we are good to go
Fortunately, with a bit of exploration i found the following discussion thread
https://github.com/nodejs/build/issues/925
All seems good, until i execute the following command
rpm2cpio ibstdc++-6.3.0-1.aix7.2.ppc.rpm
| cpio -idmv
The output generated is
cpio: 0511-903 Out of phase!
cpio attempting to continue...
cpio: 0511-904 skipping 522454 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt!
cpio: 0511-027 The file name length does not match the expected value.
This is rather unusual as the RPM file is complete and not corrupt.
Any pointers as to what i could be missing here ?
warm regards
Saifi.
#AIX-Open-Source-Software#AIXOpenSource