I have googled a lot and tried many answers but I was not able to find the solution for my issue.
I was trying to install the ruby-ibmdb gem and when I require it, I got an error that .so file is not found but that file was there in that location.
Why ruby is lying to me?
I have placed the .so file in ruby/bin and /lib and many places but it is working.
I have installed devkit and built the .so file my self(I thought Issue maybe because of diff build versions) and Installed the extension. No issues while installing the gem. But when I require it in the sample program it says .so file cannot be found. (But that file is present in the same location)
From the dependency walker, I came to know that my .so file is trying to load 64-bit dependent DLL’s.
Why it is loading 64bit DLL’s(Kernal32.dll and msvcrt.dll) has I have installed 32-bit ruby and devkit.