Skip to content

On SunOS fatal relocation error shows up between Node version 6.7.0 and 6.8.0 #11444

@mehayden

Description

@mehayden
  • Version: 6.8.0+
  • Platform: SunOS XXX.local 5.11 joyent_XXX i86pc i386 i86pc Solaris
  • Subsystem: node (from npm version command)

On SunOS I made some mods to the asdf-nodejs plugin (see issue asdf-vm/asdf-nodejs#26) so I can easily install different version of Node. I discovered that npm version seems to work on all Node versions <= 6.7.0 but fails on versions >= 6.8.0. For example:

$ asdf global nodejs 6.7.0
$ node -v
v6.7.0
$ npm version
{ npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.7.0',
  openssl: '1.0.2j',
  uv: '1.9.1',
  v8: '5.1.281.83',
  zlib: '1.2.8' }
$ asdf global nodejs 6.8.0
$ node -v
v6.8.0
$ npm version
ld.so.1: node: fatal: relocation error: file /home/mhayden/.asdf/installs/nodejs/6.8.0/         bin/node: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not fo         und
Killed

I've run npm version tests on the following node versions, with results:

4.4.6 => ok
5.0.0 => ok
5.12.0 => ok
6.0.0 => ok
6.6.0 => ok
6.7.0 => ok
6.8.0 => fail
6.9.5 => fail
7.5.0 => fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    smartosIssues and PRs related to the SmartOS platform.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions