From owner-freebsd-ports@FreeBSD.ORG Sat Aug 9 15:47:15 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2196752E for ; Sat, 9 Aug 2014 15:47:15 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E957A28DA for ; Sat, 9 Aug 2014 15:47:14 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id y13so2604976pdi.31 for ; Sat, 09 Aug 2014 08:47:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=roIqF9NWSyByivFP9X4ODWY5jQqHKUAGnjooJclSYMI=; b=Ri1dP7kFVnhMlicWz0aYviBsmSMKuJOBiklf8P94wK6ZHVK/7DKdJhzT/wlcR1yseb eeazxuXOKKJ9ZX8cOS0zrWQ63ck39r9M9ptFkQPsQ0NsiOFNR58opMAneWRNJJT8VSVZ vHWvGwdoYzi3aQD4joHW1VgyFhJSBgq+PV1f3DePCOM4vltcyIUi3hI9cnaiRPo9T6Vt 75BAzGmSPI8g7J8opnIfqreT4/Db9v8upuX64/rvwdz4HLQb4rgSd35UtCJSsZCHM+WN IAiKCumjOEjM27hxcb5BLFu8d/uQcXMIMWuUKmLXTijsY+68cCYSfLPDc75sEG1guYMM mthQ== X-Gm-Message-State: ALoCoQnr1pq1nCz9+L0B5AjPPHsRA41U6N49Eet4a7b700Z7eixaRm/ZQr/y6c/VqREiv6GgL9ox X-Received: by 10.66.219.104 with SMTP id pn8mr2092137pac.133.1407599227997; Sat, 09 Aug 2014 08:47:07 -0700 (PDT) Received: from blackbox.krakensys.lokal ([120.28.234.79]) by mx.google.com with ESMTPSA id pl10sm6297147pbb.56.2014.08.09.08.47.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Aug 2014 08:47:07 -0700 (PDT) Message-ID: <53E64278.4000302@anarchy.in.the.ph> Date: Sat, 09 Aug 2014 23:47:04 +0800 From: "Mars G. Miro" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Carlos Jacobo Puga Medina Subject: Re: sysutils/tmux is broken? References: <53E5CA6D.1020603@anarchy.in.the.ph> <53E5F0A0.2030007@anarchy.in.the.ph> <20140809135548.d61f01d6d0b4dc1bdc81eaab@fbsd.es> In-Reply-To: <20140809135548.d61f01d6d0b4dc1bdc81eaab@fbsd.es> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2014 15:47:15 -0000 On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote: > On Sat, 09 Aug 2014 17:57:52 +0800 > "Mars G. Miro" wrote: > >> On 08/09/14 15:14, Mars G. Miro wrote: >>> Installing tmux via ports gives >>> >>> root@turkb2:~# tmux >>> Shared object "libevent-2.0.so.5" not found, required by "tmux" >>> >>> Because it looks for libevent in the wrong places >>> >>> 46173 tmux RET close 0 >>> 46173 tmux CALL access(0x800679800,0) >>> 46173 tmux NAMI "/lib/libevent-2.0.so.5" >>> 46173 tmux RET access -1 errno 2 No such file or directory >>> 46173 tmux CALL access(0x800679800,0) >>> 46173 tmux NAMI "/usr/lib/libevent-2.0.so.5" >>> 46173 tmux RET access -1 errno 2 No such file or directory >>> 46173 tmux CALL access(0x800679800,0) >>> 46173 tmux NAMI "/usr/lib/compat/libevent-2.0.so.5" >>> 46173 tmux RET access -1 errno 2 No such file or directory >>> 46173 tmux CALL access(0x800679800,0) >>> 46173 tmux NAMI "/lib/libevent-2.0.so.5" >>> 46173 tmux RET access -1 errno 2 No such file or directory >>> 46173 tmux CALL access(0x800679800,0) >>> 46173 tmux NAMI "/usr/lib/libevent-2.0.so.5" >>> 46173 tmux RET access -1 errno 2 No such file or directory >>> 46173 tmux CALL write(0x2,0x800874b20,0x3f) >>> 46173 tmux GIO fd 2 wrote 63 bytes >>> "Shared object "libevent-2.0.so.5" not found, required by "tmux"" >>> 46173 tmux RET write 63/0x3f >>> 46173 tmux CALL write(0x2,0x7fffffffe2f7,0x1) >>> 46173 tmux GIO fd 2 wrote 1 byte >>> " >>> " >>> 46173 tmux RET write 1 >>> 46173 tmux CALL exit(0x1) >>> >>> It should be looking for it in /usr/local/lib. >>> >>> >>> This is on >>> >>> root@turkb2:~# uname -a >>> FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug 6 >>> 17:45:13 PHT 2014 root@turk.XXX:/usr/obj/usr/src/sys/TURK amd64 >>> >>> >>> Thanks. >>> >>> >> >>>> See date entry 20140723 in /usr/ports/UPDATING. >> >> >> It's a fresh jail. There are no previous libevent versions installed. > > You would need the library required by tmux available in the jail too. > > # mkdir $JAIL/usr/local/lib > # cp -p /usr/local/lib/libevent-2.0.so.5 $JAIL/usr/local/lib/ > It was built on the jail not the host. The port should take care of that. But it doesn't. Hence it's broken. -- Our informal mission is to improve the love life of operators worldwide. -- Peter Behrendt, president of Exabyte