<div dir="ltr"><div dir="ltr"><div dir="ltr">Sure thing. The same issue happens with 2.6.0 and 2.5.1 installations. The latest output on that file is:</div><div dir="ltr"><div><br></div><div><br></div><div><div>----------</div><div>configuring Ruby module ...</div><div>ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]</div><div>----------------------------------------</div><div>checking for Ruby library</div><div>/usr/bin/ld: cannot find -lruby</div><div>collect2: error: ld returned 1 exit status</div><div>----------</div><div><br></div><div> #include <ruby.h></div><div><br></div><div> int main() {</div><div> ruby_init();</div><div> return ruby_cleanup(0);</div><div> }</div><div>----------</div><div>cc -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0 -o build/autotest build/autotest.c -lruby -lpthread -ldl -lcrypt -lm</div><div>----------</div><div><br></div><div><br></div><div>----------------------------------------</div><div>checking for Ruby library in /home/megatux/.asdf/installs/ruby/2.5.1/lib</div><div>/usr/bin/ld: cannot find -lruby</div><div>collect2: error: ld returned 1 exit status</div><div>----------</div><div><br></div><div> #include <ruby.h></div><div><br></div><div> int main() {</div><div> ruby_init();</div><div> return ruby_cleanup(0);</div><div> }</div><div>----------</div><div>cc -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0 -o build/autotest build/autotest.c -L/home/megatux/.asdf/installs/ruby/2.5.1/lib -Wl,-rpath,/home/megatux/.asdf/installs/ruby/2.5.1/lib -lruby -lpthread -ldl -lcrypt -lm</div><div>----------</div></div><div><br></div><div><br></div><div><br></div><div>-----------EOF-------------------</div><div>Also, checking in the auto/modules/ruby file I see ruby calls to "rbconfig". This is the output I see:<br></div><div><div><br></div><div><div>~ $ ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG["libdir"])'</div><div>/home/megatux/.asdf/installs/ruby/2.5.1/lib</div><div><br></div><div>~ $ ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG["rubyhdrdir"])'</div><div>/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0</div><div><br></div><div>~ $ ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG["rubyarchhdrdir"])'<br></div><div>/home/megatux/.asdf/installs/ruby/2.5.1/include/ruby-2.5.0/x86_64-linux</div><div><br></div><div>~ $ ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG["RUBY_SO_NAME"])'</div><div>ruby</div><div><br></div><div>~ $ ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG["LIBS"])'</div><div>-lpthread -ldl -lcrypt -lm</div></div><div><br></div><div><br></div><div>Thanks a lot</div></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 30 de ene. de 2019 a la(s) 08:54, Valentin V. Bartenev (<a href="mailto:vbart@nginx.com">vbart@nginx.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tuesday 29 January 2019 17:37:25 <a href="mailto:megatux@gmail.com" target="_blank">megatux@gmail.com</a> wrote:<br>
> Ah, cool. That makes total sense.<br>
> <br>
> Now I'm having issues trying to configure the ruby module with using my<br>
> Ruby installation inside my local directory (using the "asdf" ruby plugin),<br>
> but I will create a GitHub issue for this. (autoconf's ruby rbconfig looks<br>
> ok to me) :<br>
> <br>
> $ ./configure ruby --module=ruby-2.6.0<br>
> --ruby=/home/megatux/.asdf/installs/ruby/2.6.0/bin/ruby<br>
> configuring Ruby module<br>
> checking for Ruby library ... not found<br>
> checking for Ruby library in /home/megatux/.asdf/installs/ruby/2.6.0/lib<br>
> ... not found<br>
> <br>
> ./configure: error: no Ruby found.<br>
> <br>
<br>
Could you provide "build/autoconf.err" with configure test results?<br>
<br>
wbr, Valentin V. Bartenev<br>
<br>
_______________________________________________<br>
unit mailing list<br>
<a href="mailto:unit@nginx.org" target="_blank">unit@nginx.org</a><br>
<a href="https://mailman.nginx.org/mailman/listinfo/unit" rel="noreferrer" target="_blank">https://mailman.nginx.org/mailman/listinfo/unit</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>-----------------------------------------------------<br> .^. In an open world, who needs windows or gates?<br> /V\ <a href="http://www.megatux.me/" target="_blank">Cristian Molina</a><br> // \\ GNU/Linux User #73047, Ubuntu User # 14733<br> /( _ )\ Merlo, San Luis - Argentina <br> ^^ ^^ ---------------------------------------------</div></div></div></div></div>