From: Tim Hunter Date: 2002-07-12T06:31:27+09:00 Subject: Re: Mandrake 8.2 and FXRuby build issue... I've been getting a similar message ever since I re-installed Mandrake 8.2 after my hard disk got toasted. I just now ran it down to the setting of my LD_LIBRARY_PATH environment variable. Before, I simply set it to /usr/local/lib, but I've determined that it actually must include /usr/lib as well. That is: export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib I had previously interpreted ld.so(8) to say that ld.so would always search /usr/lib, but I now assume that the LD_LIBRARY_PATH must include ALL the directories to be searched, not just the libraries in addition to /usr/lib. Since I don't remember having this problem before, I'm inclined to believe that something changed in 8.2 recently. Perhaps a Linux guru will explain... HTH! On Tue, 09 Jul 2002 13:27:20 -0400, Rich Kilmer wrote: (snip) > Here is the problem: > > irb(main):001:0> require 'fox' > LoadError: /usr/lib/libcrypto.so.0: shared object not open - > /usr/local/lib/ruby/site_ruby/1.7/i686-linux/fox.so > from (irb):1:in 'require' > from (irb):1 > > I also performed an ldd on fox.so, and checked to make sure all those > files were present...and they are (also checked libcrypto.so.0). > > -rich