FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v8.x-backport] build: add loader path to rpath for cctest by BethGriggs · Pull Request #25681 · nodejs/node · GitHub

/ node Public

[v8.x-backport] build: add loader path to rpath for cctest - #25681

Closed
BethGriggs wants to merge 1 commit into
nodejs:v8.x-stagingfrom
BethGriggs:backport-23168-to-v8.x
Closed

[v8.x-backport] build: add loader path to rpath for cctest#25681
BethGriggs wants to merge 1 commit into
nodejs:v8.x-stagingfrom
BethGriggs:backport-23168-to-v8.x

Conversation

Copy link
Copy Markdown
Member

Currently Node 8 MacOS shared libraray builds fail test-ci with cctest without this PR.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added build Issues and PRs related to build files or the CI. v8.x labels Jan 24, 2019
richardlau added macos Issues and PRs related to the macOS platform / OSX. shared_lib Issues and PRs related to use of Node.js as a shared library. labels Jan 25, 2019
Building on Mac OS/X as follows:

```
./configure --shared
make -j4 test
```

Results in:

```
dyld: Library not loaded: @rpath/libnode.67.dylib
  Referenced from: /Users/rubys/git/node-shared/out/Release/cctest
  Reason: image not found
make: *** [cctest] Abort trap: 6
```

This change adds the loader path to the runtime path for the `cctest` executable.

PR-URL: nodejs#23168
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
BethGriggs force-pushed the backport-23168-to-v8.x branch from 1a19571 to d7b3f57 Compare March 20, 2019 13:05

Copy link
Copy Markdown
Member Author

BethGriggs commented Mar 20, 2019
edited
Loading

Copy link
Copy Markdown
Member Author

refack commented Mar 20, 2019

Copy link
Copy Markdown
Contributor

GitHub side reference to #23168

BethGriggs pushed a commit that referenced this pull request Mar 20, 2019
Building on Mac OS/X as follows:

```
./configure --shared
make -j4 test
```

Results in:

```
dyld: Library not loaded: @rpath/libnode.67.dylib
  Referenced from: /Users/rubys/git/node-shared/out/Release/cctest
  Reason: image not found
make: *** [cctest] Abort trap: 6
```

This change adds the loader path to the runtime path for the `cctest` executable.

Backport-PR-URL: #25681
PR-URL: #23168
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

Copy link
Copy Markdown
Member Author

Landed on v8.x-staging

BethGriggs closed this Mar 20, 2019
BethGriggs deleted the backport-23168-to-v8.x branch March 20, 2019 20:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. macos Issues and PRs related to the macOS platform / OSX. shared_lib Issues and PRs related to use of Node.js as a shared library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL