From: noreply@... Date: 2004-12-06T22:41:32+09:00 Subject: [ ruby-Bugs-1165 ] The latest cvs HEAD does not link on solaris Bugs item #1165, was opened at 2004-12-06 15:40 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1165&group_id=426 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ville Mattila (mulperi) Assigned to: Nobody (None) Summary: The latest cvs HEAD does not link on solaris Initial Comment: uname -a SunOS new-beat 5.8 Generic_117350-08 sun4u sparc SUNW,Ultra-60 does not have shutdown and socketpair in libc, gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g -O2 Undefined first referenced symbol in file socketpair libruby-static.a(io.o) shutdown libruby-static.a(io.o) ld: fatal: Symbol referencing errors. No output written to miniruby collect2: ld returned 1 exit status they implemented instead in libsocket here is a patch that fixes linking... cvs diff -up configure.in Index: configure.in =================================================================== RCS file: /src/ruby/configure.in,v retrieving revision 1.255 diff -u -p -r1.255 configure.in --- configure.in 25 Nov 2004 09:09:26 -0000 1.255 +++ configure.in 6 Dec 2004 13:31:57 -0000 @@ -364,6 +364,7 @@ esac AC_CHECK_LIB(crypt, crypt) AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX +AC_CHECK_LIB(socket, socketpair)# SunOS/Solaris ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1165&group_id=426