From: "ara.t.howard" Date: 2007-10-04T13:48:16+09:00 Subject: Re: problem with OpenMP in Ruby extension On Oct 3, 2007, at 3:53 PM, Rudi Cilibrasi wrote: > > I adjusted the extconf.rb to include this line: > > have_library('gomp', 'main') > > And rebuilding works but running a simple test program (just trying > to require > complearn) fails in a different way than before: > this sounds like it gets the link right (LD_LIBRARY_PATH) but fails at runtime. try setting LD_RUN_PATH to the location of the gomp lib *before* compiling for example export LD_RUN_PATH=/full/path/to/directory/with/gomp/lib ruby extconf.rb && make && sudo make install just a hunch... cheers. ps. long time time no hear! a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama