mrilu <mrilu / ale.cx> wrote:
> Then I want to use these from Ruby so I make wrappers (with SWIG) for 
> both libraries, and make new shared libs libfoo_wrap.so and libbar_wrap.so. 
> I really like to have them named _wrap because I have already programs
> which are using the libxxx.so versions. And I really like to have them 
> prefixed 'lib' because on the C side the 'ld -lname' looks for libname.so. 
> (I know I could cope with symlinks, but it feels clumsy for this one.)

I wonder why you need to use 'ld' with Ruby extension.
How do you use 'ld -lfoo_wrap' or 'ld -lbar_wrap'?


Masaki Fukushima