From: "Iñaki Baz Castillo" Date: 2011-02-06T06:38:26+09:00 Subject: Re: C extension: R_X86_64_32 problem when inlcuding a xxxxx.a library (64 bits SO) 2011/2/5 Iñaki Baz Castillo : > Hi, I must include a header (udns.h) and library (libudns.a) in a Ruby > C extension (Linux 64 bits). > > In extconf.rb I set: > >  have_library("udns") I must add that if I install the Debian/Ubuntu package libudns-dev (which install both a dynamic libudns.so and a static libudns.a) then my Ruby C extension compiles correctly. -- Iñaki Baz Castillo