From: OliverMarchand Date: 2006-08-29T17:22:09+09:00 Subject: Re: error compiling with rubyinline Dominik Bathon schrieb: > Which platform are you on? > > RubyInline (and also my Ruby2CExtension) assumes that > Config::CONFIG["LDSHARED"] is set to something like "gcc -shared", e.g. on > my system: > > >> Config::CONFIG["LDSHARED"] > => "i686-pc-linux-gnu-gcc -shared" > > If that is the case, then compilation in one step works. But as you show, > this doesn't seem to always be the case. That value was set to ld -shared in my case, which does not compile. I didn't know that gcc can produce shared libraries. I simply changed "ld" to "gcc" and volia, it works. Thanks! ciao, Oliver