From: "phasis68 (Heesob Park)" Date: 2013-12-31T12:31:15+09:00 Subject: [ruby-core:59431] [ruby-trunk - Bug #9329] ./configure --enable-shared --enable-relocatable && make fails Issue #9329 has been updated by phasis68 (Heesob Park). I can reproduce this with Ubuntu 9.04 also. Here is a patch: diff --git a/enc/Makefile.in b/enc/Makefile.in index a64785d..378f4a5 100644 --- a/enc/Makefile.in +++ b/enc/Makefile.in @@ -28,6 +28,7 @@ BUILTIN_ENCS = ascii.c us_ascii.c\ BUILTIN_TRANSES = newline.trans RUBY_SO_NAME = @RUBY_SO_NAME@ +RUBY_BASE_NAME = @RUBY_BASE_NAME@ LIBRUBY = @LIBRUBY@ LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@ LIBRUBYARG_STATIC = $(LIBRUBYARG_SHARED) ---------------------------------------- Bug #9329: ./configure --enable-shared --enable-relocatable && make fails https://bugs.ruby-lang.org/issues/9329#change-43989 Author: postmodern (Hal Brodigan) Status: Feedback Priority: High Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: ruby -v: trunk Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN Steps to Reproduce: $ ./configure --enable-shared --enable-relocatable $ make Actual Result: compiling ./enc/encdb.c linking encoding encdb.so /usr/bin/ld: cannot find -l-lpthread collect2: error: ld returned 1 exit status -- http://bugs.ruby-lang.org/