Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2014 13:55:48 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        "Mars G. Miro" <spry@anarchy.in.the.ph>
Cc:        freebsd-ports@freebsd.org
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 09 Aug 2014 17:57:52 +0800
"Mars G. Miro" <spry@anarchy.in.the.ph> 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<F_OK>)
> >  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<F_OK>)
> >  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<F_OK>)
> >  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<F_OK>)
> >  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<F_OK>)
> >  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 <cpm@fbsd.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140809135548.d61f01d6d0b4dc1bdc81eaab>