Skip to content

GitBox fails to start on Ubuntu 24.04 due to OpenSSL 3 incompatibility (undefined symbol: EVP_des_ede3_cbc) #1

Description

@HermesSantos

Environment

  • OS: Ubuntu 24.04.4 LTS
  • OpenSSL: OpenSSL 3.0.13
  • GitBox version: <coloque a versão>
  • Architecture: x86_64

Problem

After updating to Ubuntu 24.04, GitBox fails to start.

Error:
A JavaScript error occurred in the main process

Error: .../gitbox_addon.node: undefined symbol: EVP_des_ede3_cbc

The native addon appears to require the OpenSSL 1.1 symbol EVP_des_ede3_cbc, which is no longer available by default in OpenSSL 3.

Investigation

The symbol is required by the native addon:

nm -D gitbox_addon.node | grep EVP_des_ede3_cbc

U EVP_des_ede3_cbc

The binary does not declare a dependency on libcrypto:
readelf -d gitbox_addon.node | grep NEEDED
Output only contains:
libstdc++.so.6
libgcc_s.so.1
libc.so.6

Workaround

The application starts when forcing OpenSSL 1.1:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 gitbox

Expected behavior

GitBox should run on modern Linux distributions without requiring OpenSSL 1.1 compatibility libraries.

Possible fix

Rebuild gitbox-addon against OpenSSL 3 / update native dependencies.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions