Project

General

Profile

Actions

Backport #3850

closed

RUBY_SO_NAME inconsistency if ./configure --program-suffix is used on OpenBSD

Added by jeremyevans0 (Jeremy Evans) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
[ruby-core:32474]

Description

=begin
If you use --program-suffix=19 when configuring ruby on OpenBSD, but don't specify --with-soname=ruby19, ruby will create an so file named ruby19.so.1.92 but leave RUBY_SO_NAME as ruby, leading to problems when linking when building extensions with extconf/mkmf, since it will use -lruby instead of -lruby19.

It looks like the change to separate the soname from the program name was intentional (r23368), but it was not done for OpenBSD, since the actual created soname uses RUBY_INSTALL_NAME instead of RUBY_SO_NAME. The official ruby 1.9 port for OpenBSD is going to use --with-soname=ruby19, but this is a better default for people installing from source on OpenBSD.
=end


Files

ruby-soname-base-name.patch (360 Bytes) ruby-soname-base-name.patch jeremyevans0 (Jeremy Evans), 09/19/2010 12:09 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0