Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

dyld[4780]: missing symbol called when importing lisk-client in node project #8530

Closed
Tracked by #7226
endro42 opened this issue Jun 2, 2023 · 2 comments
Closed
Tracked by #7226
Assignees
Milestone

Comments

@endro42
Copy link

endro42 commented Jun 2, 2023

Expected behavior

The following script for initiating a websocket client should resolve without errors.

import { createWSClient } from "@liskhq/lisk-client";

const RPC_ENDPOINT = 'xyz';
let clientCache;

export const getClient = async () => {
  if (!clientCache) {
    clientCache = await createWSClient(RPC_ENDPOINT);
  }
  return clientCache;
};

Actual behavior

The script for initiating a websocket client fails on execution with error dyld[5585]: missing symbol called. przemer found that this error could be related to M1 Macs that do not have the proper binary dependencies: https://gist.github.com/adrienjoly/e29a6e73fb7e701eefd80ff9bde9abeb

Steps to reproduce

  • Write a script that imports the lisk client in a node environment on a M1 Max

Which version(s) does this affect? (Environment, OS, etc...)

MacOS Venture 13.4 - M1 Max

@Madhulearn Madhulearn added this to the Sprint 97 milestone Jun 5, 2023
@Madhulearn Madhulearn modified the milestones: Sprint 97, Sprint 98 Jun 20, 2023
@Madhulearn Madhulearn modified the milestones: Sprint 98, Sprint 99 Jul 4, 2023
@mosmartin mosmartin assigned mosmartin and unassigned mosmartin Jul 7, 2023
@mosmartin
Copy link
Contributor

Hi @tomploem, I trust you are well. I am currently looking into this and I see you are experiencing this issue on an M1 Max. I am currently on an M1 Pro and the same version of macOS as you. However, I am not able to replicate the issue (unsure if pro vs max is the reason). I also think that this is not an SDK issue per se but an issue nonetheless.

I'd like to check if you are still experiencing this as there has been a few updates since you posted the issue.

Thank you and will be glad to assist further.

@Madhulearn Madhulearn modified the milestones: Sprint 99, Sprint 100 Jul 18, 2023
@Madhulearn Madhulearn modified the milestones: Sprint 100, Sprint 101 Aug 1, 2023
@shuse2
Copy link
Collaborator

shuse2 commented Aug 3, 2023

Closing since we could not reproduce. Feel free to re-open with steps to reproduce the issue

@shuse2 shuse2 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
@shuse2 shuse2 removed this from the Sprint 101 milestone Aug 3, 2023
@Madhulearn Madhulearn added this to the Sprint 101 milestone Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants