Ubuntu 24.04.2 undefined reference to `MD4'
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system
Research direction
Start by reproducing the rugged gem link failure on Ubuntu 24.04.2 with the reported OpenSSL 3.0.13 and Ruby 3.2.8 versions, using the generated lib/rugged/rugged.so as the entry point. Inspect how the native extension is linked and verify that the undefined MD4 reference is resolved and the gem loads successfully.
Written by the indexing model from the issue text.
Description
Hello,
I have successfully built and install rugged on Ubuntu 24.04.2 (in the OpenVox Puppet Ruby). However, there seems to be a linking issue with the OpenSSL MD4 function:
# ld /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rugged-1.9.0/lib/rugged/rugged.so
ld: warning: cannot find entry symbol _start; not setting start address
ld: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rugged-1.9.0/lib/rugged/rugged.so: undefined reference to `MD4'
This causes the gem not to work.
Versions:
# openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
# /opt/puppetlabs/puppet/bin/ruby --version
ruby 3.2.8 (2025-03-26 revision 13f495dc2c) [x86_64-linux]
# This is maybe not relevant since I am not using the system libgit2
# apt show libgit2-dev
Package: libgit2-dev
Version: 1.7.2+ds-1ubuntu3
...
- Dominant language
- C
- Stars
- 2.3k
- Forks
- 293
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libgit2/rugged
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
LFS support? Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·