Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 11:55:27 +0900
From:      fake fake <four.troublesome.heads@gmail.com>
To:        Martin Laabs <info@martinlaabs.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: library search path
Message-ID:  <CA%2BrxiGBE5B4AosgJabdkDU_u38YxLQ_Us_vtm0TOcwo57gFCHg@mail.gmail.com>
In-Reply-To: <4FC3A05A.5040800@martinlaabs.de>
References:  <CA%2BrxiGDjer_UFvVFFY7JPq6eZgdoZ_aYeFHVsP6S%2B0UPtbZrNg@mail.gmail.com> <4FC3A05A.5040800@martinlaabs.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you.
"./configure --prefix=3D$HOME CFLAGS=3D"-L $HOME/lib" " worked perfectly.

further info:
I should have set LD_LIBRARY_PATH to absolute path.
tmux didn't work with libevent 2.* but did with libevent 1.4.*

On 29 May 2012 00:57, Martin Laabs <info@martinlaabs.de> wrote:
> Hello,
>
> just a guess:
>
>
> On 28.05.2012 16:11, 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.
>
>
> LD_LIBRARY_PATH only affects the dynamic linker and its search path
> when executing a program. You will need this when you execude tmux
> afterwards.
>
>
>> But "./configure --prefix=3D$HOME" in src/tmux returns "configure:
>
>
> With --prefix=3D... you tell the configure script where you wanna install=
 the
> files. Now you have to tell the gcc where to search for the
> library/includes. So try to set CFLAGS=3D"-I $HOME/include -L $HOME/lib"
>
> Best regards,
> =A0Martin Laabs
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BrxiGBE5B4AosgJabdkDU_u38YxLQ_Us_vtm0TOcwo57gFCHg>