Actions
Backport #3850
closedRUBY_SO_NAME inconsistency if ./configure --program-suffix is used on OpenBSD
Status:
Closed
Assignee:
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
Actions
Like0
Like0Like0Like0