DevHeads.net

Postings by Karthick K

Unable to compile ruby 2.5.1 on Solaris 10 SPARC

Hi Folks,

Am trying to compile Ruby 2.5.1 on Solaris 10 SPARC where am ended with the
below error. Not sure why am getting Undefined symbol for socket.

generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
generating enc.mk
compiling enc/encinit.c
linking ruby
Undefined first referenced
symbol in file
parse_numeric_port ext/socket/socket.a(raddrinfo.o)
ld: fatal: Symbol referencing errors.

Unable to compile ruby 2.5.1 on Solaris 11

When I tried to compile ruby 2.5.1 getting the below error,

compiling parse.c
compiling string.c
compiling symbol.c
compiling vm.c
make[3]: Leaving directory '/usr/share/src/ruby-2.5.1'
processing probes in object files
linking miniruby
./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb unchanged
creating verconf.h
verconf.h updated
compiling loadpath.c
generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
generating enc.mk
compiling enc/encinit.c
linking ruby
Undefined first referenced
s