From: Lars Olsson Date: 2005-11-12T05:27:14+09:00 Subject: Re: sqlite3-ruby: Unable to find libsqlite3.so at runtime Ara.T.Howard skrev: > On Fri, 11 Nov 2005, Lars Olsson wrote: > > > > all you need to do is > > export LD_RUN_PATH=/home/username/custom/lib > > __before__ compiling and you'll not need to use LD_LIBRARY_PATH. > > in general, if installing into a non-standard place like that, follow these > instructions for __everything__ that you compile > > export LD_RUN_PATH=/home/username/custom/lib:$LD_RUN_PATH > export LD_LIBRARY_PATH=/home/username/custom/lib:$LD_LIBRARY_PATH > ./configure --prefix=/home/username/custom && make && make install > > anyone who does this for ruby, extensions, and other libraries will by > suprised to find that everything just works - no matter what platform > you are > on or what package manager might exist. > > regards. > > -a *whoa* black ld magic...but it works :) thanks for helping out! /Lasso