From: Dick Davies Date: 2004-05-03T17:44:17+09:00 Subject: Re: ruby CVS can't use shared libs on NetBSD * Dick Davies [0515 00:15]: > * Dick Davies [0411 18:11]: > > * ts [0419 16:19]: > > > >>>>> "D" == Dick Davies writes: > > > > > > D> Reading symbols from /usr/lib/libpthread.so.0...done. > > > D> Loaded symbols for /usr/lib/libpthread.so.0 > > > > > > PostgreSQL was compiled with -lpthread ? > > > > > > In this case, you need to compile ruby with --enable-pthread > > > > Ah, that falls over when miniruby dumps core trying to build digest-md5... > > > > rasputin@lb:ruby$ make > > compiling digest/md5 > > [1] Illegal instruction (core dumped) ./miniruby ./ext... > > *** Error code 132 > > Ack. Scrub that, that box has a ropey pthread install. > Sorry for the noise, I'll try an --enable-pthread install of ruby again... Just for the record, this is all working great now - ruby was linking against gnu pthread instead of the system one. On NetBSD, you need to change all the '-lpthread' flags in configure to just '-pthread' - i.e. it's a compiler flag rather than a library. Thanks for all the pointers. -- If a 6600 used paper tape instead of core memory, it would use up tape at about 30 miles/second. -- Grishman, Assembly Language Programming Rasputin :: Jack of All Trades - Master of Nuns