Skip to content

Ubuntu 24.04.2 undefined reference to `MD4' #989

Description

@DaAwesomeP

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
...

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