From owner-freebsd-ports@FreeBSD.ORG Sat Aug 9 11:56:40 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 4CCF1A73 for ; Sat, 9 Aug 2014 11:56:40 +0000 (UTC) Received: from erelay3.ox.registrar-servers.com (erelay3.ox.registrar-servers.com [192.64.117.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2152221A7 for ; Sat, 9 Aug 2014 11:56:39 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id DECC22204D5B; Sat, 9 Aug 2014 11:56:38 +0000 (UTC) Received: from erelay1.ox.registrar-servers.com ([127.0.0.1]) by localhost (erelay.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w1lG1pf8aDGn; Sat, 9 Aug 2014 07:56:37 -0400 (EDT) Received: from imap11.ox.privateemail.com (imap11.ox.privateemail.com [192.64.116.222]) by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id C485B2204D55; Sat, 9 Aug 2014 07:56:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 75A218800D5; Sat, 9 Aug 2014 07:56:37 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6A6Stb4xBtyp; Sat, 9 Aug 2014 07:56:37 -0400 (EDT) Received: from localhost (120.Red-88-3-112.dynamicIP.rima-tde.net [88.3.112.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 73F4D8800CB; Sat, 9 Aug 2014 07:56:36 -0400 (EDT) Date: Sat, 9 Aug 2014 13:55:48 +0200 From: Carlos Jacobo Puga Medina To: "Mars G. Miro" Subject: Re: sysutils/tmux is broken? Message-Id: <20140809135548.d61f01d6d0b4dc1bdc81eaab@fbsd.es> In-Reply-To: <53E5F0A0.2030007@anarchy.in.the.ph> References: <53E5CA6D.1020603@anarchy.in.the.ph> <53E5F0A0.2030007@anarchy.in.the.ph> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; i386-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 11:56:40 -0000 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/ -- Carlos Jacobo Puga Medina