Skip to content

Linux + Mac aarch64/arm64 support #37

Open
@juancferrer

Description

@juancferrer

Looks like browserstack-local binary is only compiled for x86_64 and ia32.

I'm on an an M1 mac successfully running multiple docker containers with selenium and browserstack, etc..., but I'm running into issues when trying to run browserstack-local.

$ uname -a
Linux 3d7e5f8f8bfb 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 aarch64 GNU/Linux

And when I try to run browserstack-local I get the following:

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

and

Error
Traceback (most recent call last):
  File "/prefix/prefix/app/tests/test_web.py", line 41, in setUpClass
    cls.bs_local.start(**cls.bs_local_args)
  File "/usr/local/lib/python3.9/site-packages/browserstack/local.py", line 43, in start
    self.binary_path = LocalBinary().get_binary()
  File "/usr/local/lib/python3.9/site-packages/browserstack/local_binary.py", line 112, in get_binary
    raise BrowserStackLocalError('BrowserStack Local binary is corrupt')
browserstack.bserrors.BrowserStackLocalError: BrowserStack Local binary is corrupt

Obviously because all my docker containers are running an ARM linux kernel, and there's only browserstack-local binaries for x86_64 and ia32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions