Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol not found #24

Open
iangetz opened this issue Jul 20, 2021 · 1 comment
Open

Symbol not found #24

iangetz opened this issue Jul 20, 2021 · 1 comment

Comments

@iangetz
Copy link

iangetz commented Jul 20, 2021

Hello. Thanks for providing this CLI tool to manage NetStorage. I'm using akamai/shell:latest (image uploaded July 19, 2021 @ 6:05pm ET) on Debian Linux and attempting to install this NetStorage CLI package.

Start the Akamai CLI tool.
docker run -it --rm -v $HOME/.edgerc:/root/.edgerc:ro akamai/shell

Run 'akamai install netstorage'

# akamai install netstorage
Attempting to fetch command from https://github.com/akamai/cli-netstorage.git... ... [OK]
Installing... ... [WARN]
unable to locate package manager in PATH: npm
? Binary command(s) found, would you like to download and install it? (Y/n) 

Should I install NPM on the akamai/shell container or am I installing the cli-netstorage package incorrectly?

Responding 'Y' downloads the binary and shows 'netstorage' is installed.

But any command using 'akamai netstorage…' fails with these errors.

Error relocating /cli/.akamai-cli/src/cli-netstorage/bin/akamai-netstorage: __isinf: symbol not found
Error relocating /cli/.akamai-cli/src/cli-netstorage/bin/akamai-netstorage: __register_atfork: symbol not found
Error relocating /cli/.akamai-cli/src/cli-netstorage/bin/akamai-netstorage: __isnan: symbol not found
Error relocating /cli/.akamai-cli/src/cli-netstorage/bin/akamai-netstorage: __strdup: symbol not found
Error relocating /cli/.akamai-cli/src/cli-netstorage/bin/akamai-netstorage: backtrace: symbol not found

Thank you.
Ian

@securitylevelup
Copy link
Member

Hi Ian,

Thanks for raising this. It seems that cli-netstorage is not yet included in our Akamai Docker image including the main akamai/shell. I assume it was left out due to the npm dependencies being used only for this CLI package.

I haven't tried this myself yet, I had the Akamai CLI installed locally, added the cli-netstorage package thorugh the same command akamai install netstorage and ensure that I had the npm installed locally to get this to work. However that was outside of the scope of the akamai/shell.

Let me check with our Akamai Docker team if you could add npm to the akamai/shell or if we recommend to install this locally for now for cli-netstorage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants