library search path

Polytropon freebsd at edvax.de
Mon May 28 15:54:47 UTC 2012


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.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list