From: "Mr. Sunblade" Date: 2002-05-31T00:02:26+09:00 Subject: Re: ld errors attempting to install FXRuby on Solaris 8 -----Original Message----- From: Lyle Johnson > >OK, "cerr" should have been found in the C++ library (-lstdc++). You might >want to go back and watch the link step for fox.so (the Ruby extension, not >the basic FOX library) and make sure that -lstdc++ shows up somewhere in the >list of libraries linked into fox.so. You could also do a dependency check: > > ldd /usr/local/lib/ruby/site_ruby/1.6/sparc-solaris2.8/fox.so > >and see if libstdc++.so is in there somewhere. > >HTH, > >Lyle I rebuilt fox just to see if that would help. Nope. Complete text of ldd and ruby setup included. libstdc++.so does appear in a dependency check. Any ideas? Thanks. Dan ----------------- /export/home/djberge/Programming/Ruby-610>ldd /usr/local/lib/ruby/site_ruby/1.6/sparc-solaris2.8/fox.so libFOX-1.0.so.0 => /usr/local/lib/libFOX-1.0.so.0 libX11.so.4 => /usr/lib/libX11.so.4 libXext.so.0 => /usr/lib/libXext.so.0 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libz.so => /usr/lib/libz.so libpng.so.2 => /usr/local/lib/libpng.so.2 libstdc++.so.3 => /usr/local/lib/libstdc++.so.3 libc.so.1 => /usr/lib/libc.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libm.so.1 => /usr/lib/libm.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libdga.so.1 => /usr/openwin/lib/libdga.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 # ruby install.rb config install.rb: entering config phase... ---> lib ---> lib/fox <--- lib/fox <--- lib ---> ext ---> ext/fox /usr/local/bin/ruby /export/home/djberge/local/modules/ruby/FXRuby-1.0.10/ext/fox/extconf.rb checking for sys/time.h... yes checking for signal.h... yes checking for png_create_read_struct() in -lpng... yes checking for deflate() in -lz... yes checking for jpeg_mem_init() in -ljpeg... yes checking for TIFFSetErrorHandler() in -ltiff... no checking for XShmQueryVersion() in -lXext... yes checking for XFindContext() in -lX11... yes checking for glXCreateContext() in -lGL... no checking for gluNewQuadric() in -lGLU... no creating Makefile ---> ext/fox/include <--- ext/fox/include <--- ext/fox <--- ext install.rb: config done. # ruby install.rb setup install.rb: entering setup phase... ---> lib ---> lib/fox <--- lib/fox <--- lib ---> ext ---> ext/fox make make: Nothing to be done for `all'. ---> ext/fox/include <--- ext/fox/include <--- ext/fox <--- ext install.rb: setup done. # ruby install.rb install install.rb: entering install phase... ---> lib mkdir -p /usr/local/lib/ruby/site_ruby/1.6/ ---> lib/fox mkdir -p /usr/local/lib/ruby/site_ruby/1.6/fox install aliases.rb /usr/local/lib/ruby/site_ruby/1.6/fox install colors.rb /usr/local/lib/ruby/site_ruby/1.6/fox install core.rb /usr/local/lib/ruby/site_ruby/1.6/fox install glshapes.rb /usr/local/lib/ruby/site_ruby/1.6/fox install iterators.rb /usr/local/lib/ruby/site_ruby/1.6/fox install keys.rb /usr/local/lib/ruby/site_ruby/1.6/fox install overloads.rb /usr/local/lib/ruby/site_ruby/1.6/fox install responder2.rb /usr/local/lib/ruby/site_ruby/1.6/fox install responder.rb /usr/local/lib/ruby/site_ruby/1.6/fox install undolist.rb /usr/local/lib/ruby/site_ruby/1.6/fox <--- lib/fox <--- lib ---> ext ---> ext/fox mkdir -p /usr/local/lib/ruby/site_ruby/1.6/sparc-solaris2.8/. install fox.so /usr/local/lib/ruby/site_ruby/1.6/sparc-solaris2.8/. ---> ext/fox/include <--- ext/fox/include <--- ext/fox <--- ext install.rb: install done.