Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: xman Newsgroups: comp.lang.ruby Subject: Re: How to get ruby to find a native lib? Date: Thu, 16 Feb 2012 09:54:12 -0800 (PST) Organization: http://groups.google.com Lines: 6 Message-ID: <1398056.0.1329414852489.JavaMail.geo-discussion-forums@pbsn6> References: <235d5$4f393be1$84b70406$5935@news.eurofeeds.com> NNTP-Posting-Host: 219.74.52.18 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1329415273 14877 127.0.0.1 (16 Feb 2012 18:01:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Feb 2012 18:01:13 +0000 (UTC) In-Reply-To: <235d5$4f393be1$84b70406$5935@news.eurofeeds.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=219.74.52.18; posting-account=5I9-uwoAAACtMDgrP86yLj3_HnplQABn User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:6456 Try: export LIBRARY_PATH=/usr/local/lib That works for me in Linux + GCC The LD_LIBRARY_PATH is only effective when executing, not at compile time.