From owner-freebsd-questions@FreeBSD.ORG Mon May 28 15:54:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 688D51065670 for ; Mon, 28 May 2012 15:54:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 27D338FC0C for ; Mon, 28 May 2012 15:54:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 4F2E63CEC5; Mon, 28 May 2012 17:54:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4SFsjL1001976; Mon, 28 May 2012 17:54:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 May 2012 17:54:45 +0200 From: Polytropon To: fake fake Message-Id: <20120528175445.bd882aa1.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: library search path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 15:54:47 -0000 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, ...