Ah, fantastic.  That solved all my problems.

Nobuyoshi Nakada wrote:
> Hi,
> 
> At Thu, 6 Sep 2007 08:39:25 +0900,
> Conan Rubymanjaro wrote in [ruby-talk:267817]:
>> ./alignment.so: 127: The specified procedure could not be found.   -
>> Init_alignment.so
> 
>> g++ alignment.cpp -shared -o alignment.so
> 
> You use C++ compiler.  Symbols in C++ object files are mangled
> unless they are marked extern "C".
> 
> Try `nm --extern-only --defined-only alignment.so | grep 
> Init_alignment'.

-- 
Posted via http://www.ruby-forum.com/.