From r_takaishi at eiliant.com Mon Sep 13 22:34:49 2010 From: r_takaishi at eiliant.com (Ryo Takaishi) Date: Tue, 14 Sep 2010 02:34:49 +0000 Subject: [Rev-talk] openssl-nonblock: install error Message-ID: Hi, I tried to install openssl-nonblock, but error occured at make. How can I resolve? The following are the messages. # gem install openssl-nonblock Building native extensions. This could take a while... ERROR: Error installing openssl-nonblock: ERROR: Failed to build gem native extension. /usr/bin/ruby18 extconf.rb checking for main() in -lc... yes checking for openssl/ssl.h... yes checking for rb_str_set_len()... yes creating Makefile make i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_OPENSSL_SSL_H -DHAVE_RB_STR_SET_LEN -DHAVE_RB_STR_SET_LEN -DRUBY_VERSION_CODE=187 -D_FILE_OFFSET_BITS=64 -fPIC -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -c openssl_nonblock.c i686-pc-linux-gnu-gcc -shared -o openssl_nonblock.so openssl_nonblock.o -L. -L/usr/lib -Wl,-R/usr/lib -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby18 -lc -lpthread -lrt -ldl -lcrypt -lm -lc -lssl -lcrypto openssl_nonblock.o: In function `ossl_nonblock_ssl_setup': openssl_nonblock.c:(.text+0x601): undefined reference to `ossl_ssl_ex_ptr_idx' openssl_nonblock.c:(.text+0x632): undefined reference to `ossl_ssl_ex_vcb_idx' openssl_nonblock.c:(.text+0x65f): undefined reference to `ossl_ssl_ex_client_cert_cb_idx' openssl_nonblock.c:(.text+0x68c): undefined reference to `ossl_ssl_ex_tmp_dh_callback_idx' openssl_nonblock.c:(.text+0x6b7): undefined reference to `ossl_raise' collect2: ld returned 1 exit status make: *** [openssl_nonblock.so] Error 1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/openssl-nonblock-0.2.1 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/openssl-nonblock-0.2.1/ext/gem_make.out -- Ryo -------------- next part -------------- An HTML attachment was scrubbed... URL: From r_takaishi at eiliant.com Tue Sep 14 00:09:14 2010 From: r_takaishi at eiliant.com (Ryo Takaishi) Date: Tue, 14 Sep 2010 04:09:14 +0000 Subject: [Rev-talk] openssl-nonblock: install error In-Reply-To: References: Message-ID: Sorry, I forgot cc to ML. -- Thank you for your response. Oh whoops, misread your post there... apparently this is with a newer > version of 1.8? > > If so, ruby-core may have broken the hooks into the Ruby OpenSSL extension. > > Can you send me a ruby --version? > > My ruby version is following. # ruby --version ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] -- Ryo -------------- next part -------------- An HTML attachment was scrubbed... URL: