From owner-freebsd-questions@FreeBSD.ORG Mon May 28 18:57:27 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 DFB651065672 for ; Mon, 28 May 2012 18:57:27 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 619148FC0A for ; Mon, 28 May 2012 18:57:26 +0000 (UTC) Received: by werg1 with SMTP id g1so2740493wer.13 for ; Mon, 28 May 2012 11:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8jXCAeCp7ZE/qwGnnVESpWp8shxrcCiZkhOiIub3GeQ=; b=SCNQdKGQYJARnJji2w4yLqaFgctc2ux00GKdYE3D/kyKGXHfErQ38bwjJdAAnbZfTO QaL2tAyA891Ell1uquaGZoofDzwSN38TsGzGd117CNJpLE2yGgJsbEVguFwMD8mSV9jh l2MwrmplkMOXLmfJrFdRU0jKOK8GQTiidpPTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=8jXCAeCp7ZE/qwGnnVESpWp8shxrcCiZkhOiIub3GeQ=; b=nlizAKqzppTXEHIwWnKZgC5Xqx06TbWLjWaEe/AlTfXN90c5FvLUcbgp5sF1TAfcjQ ya/4bAQhLy1b93aFyHRM3TMRbsJPdlQ2v3DBdK0yRAI43zQIz2seawn54QbKMchs3cdx 1njIXLSwSo+lOF4g1ZL0UVqq7UGS1y3hvmrTDPOMrCwh/ST2yPethUF1QDpmDxZ1447e DlqEduKlhFywaOTbmbr2DNRJRGaVDF6Bp+1rF8KI75xzQPA38hFrdEWGdqQeYLwviDg4 HjcSdh5ZL78bPAg1ocfL+9/F17xOGAXgOBbXfD3Jlke84P/viwxhPh+nRQfbR8zKEqnl 6pmQ== Received: by 10.216.131.150 with SMTP id m22mr4979270wei.111.1338231446071; Mon, 28 May 2012 11:57:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.85.202 with HTTP; Mon, 28 May 2012 11:56:53 -0700 (PDT) In-Reply-To: <20120528175445.bd882aa1.freebsd@edvax.de> References: <20120528175445.bd882aa1.freebsd@edvax.de> From: Eitan Adler Date: Mon, 28 May 2012 11:56:53 -0700 Message-ID: To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQks0oA/TG5dI1biKs+sfEIejAWnWuSBHtpNiLPIMqOq+4wyUaxElXlTt9LhSWKiiGmHY+Iv Cc: freebsd-questions@freebsd.org, fake fake Subject: Re: library search path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 18:57:28 -0000 On 28 May 2012 08:54, Polytropon 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