From: "Ara.T.Howard" Date: 2004-08-21T00:15:56+09:00 Subject: Re: compiling bdb On Fri, 20 Aug 2004, ts wrote: >>>>>> "A" == Ara T Howard writes: > > A> "gcc -o conftest -I/dmsp/reference/ruby-1.8.1/lib/ruby/1.8/i686-linux -I/dmsp/reference/ruby-1.8.1/lib/ruby/1.8/i686-linux -I/usr/include -g -O2 conftest.c -L"/dmsp/reference/ruby-1.8.1/lib" -L"/dmsp/reference/lib/" -lruby-static -ldb-4.2 -ldl -lcrypt -lm -lc" > A> /dmsp/reference/lib//libdb-4.2.so: undefined reference to `pthread_condattr_setpshared' > > > A> "gcc -o conftest -I/dmsp/reference/ruby-1.8.1/lib/ruby/1.8/i686-linux -I/dmsp/reference/ruby-1.8.1/lib/ruby/1.8/i686-linux -I/usr/include -g -O2 conftest.c -L"/dmsp/reference/ruby-1.8.1/lib" -L"/dmsp/reference/lib/" -lruby-static -ldb-4.1 -ldl -lcrypt -lm -lc" > > If I'm right this mean that db-4.2 was compiled with pthread and not > db-4.1. > > In this case, ruby must be compiled with pthread > > > Guy Decoux i don't like the sound of that - i think i should compile bdb without pthread (i compiled 4.2). hopefully that isn't too hard to figure out... regards. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================