Date: Mon, 28 May 2012 11:56:53 -0700 From: Eitan Adler <lists@eitanadler.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org, fake fake <four.troublesome.heads@gmail.com> Subject: Re: library search path Message-ID: <CAF6rxgmhmzdyhpyWE5YWFRntVrdbUJpxGJNgu40pPqyCyDxeZQ@mail.gmail.com> In-Reply-To: <20120528175445.bd882aa1.freebsd@edvax.de> References: <CA%2BrxiGDjer_UFvVFFY7JPq6eZgdoZ_aYeFHVsP6S%2B0UPtbZrNg@mail.gmail.com> <20120528175445.bd882aa1.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2012 08:54, Polytropon <freebsd@edvax.de> wrote: > On Mon, 28 May 2012 23:11:26 +0900, fake fake wrote: >> To install tmux under $HOME/bin, I have installed libevent library >> under $HOME/lib (I do not have root privilege). >> Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc. >> But "./configure --prefix=$HOME" in src/tmux returns "configure: >> error: "libevent not found"". >> What am I doing wrong? > > Note that you need to _add_ $HOME/lib to $LD_LIBRARY_PATH > (and check that it's expanded correctly). > > Do you have access to the ports tree (reading)? Then you > could simply redefine $WRKDIRPREFIX to where you can > compile, and $PREFIX to where you can install to. See > "man 7 ports" for details. You can also try -DINSTALL_AS_USER though it may not work as advertised. -- Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmhmzdyhpyWE5YWFRntVrdbUJpxGJNgu40pPqyCyDxeZQ>