www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: How to create shared library on linux?

 don't forget that libraries need to be named libMyLibName.so for the
 linker to find them. (Note the "lib" in the beginning of the file name)

I try to write a ruby extension. In ruby, excute "require 'Test'", 'Test.so' will be loaded and function 'Init_Test' will be called.
Aug 15 2006