From: Luis Lavena Date: 2010-06-09T22:55:10+09:00 Subject: Re: ssleay32.dll, postgresql, extension problem On Jun 8, 12:58 pm, Krystyna Wisnaskas wrote: > Sethupathi Asokan wrote: > > Daniel Berger wrote: > >> Nobuyoshi Nakada wrote: > >>>> library SSLEAY32.DLL". > > >>> Maybe, INCLUDE and LIB environment variables are set for > >>> PostgreSQL? > > >> I tried setting both LIB and LIBDIR to C:\ruby\bin, both in the shell > >> itself and via ENV, but it didn't work. > > >> Have you been able to build and load ruby-pg against PostgreSQL 8.3 with > >> the one click installer? If so, how did you do it? > > >> Regards, > > >> Dan > > > I have done a work-around by renaming the libeay32.dll and ssleay32.dll > > in {RUBY_PATH}/bin directory and copy these to dll files from > > {POSTGRES_PATH}/bin directory and paste it under {RUBY_PATH}/bin. > > > It worked for me. > > My work-around worked in just the opposite way. Having boy files > libeay32.dll and ssleay32.dll in {POSTGRES_PATH}/bin directory and > nothing in {RUBY_PATH}/bin directory, finally did the trick, but I > noticed they had to have the same date. Please try RubyInstaller: http://rubyinstaller.org/ It includes OpenSSL in "compatibility mode" so it doesn't conflict with PostgreSQL. -- Luis Lavena