On Sat, 09 Aug 2014 23:47:04 +0800
"Mars G. Miro" <s...@anarchy.in.the.ph> wrote:

> On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote:
> > On Sat, 09 Aug 2014 17:57:52 +0800
> > "Mars G. Miro" <s...@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     r...@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.

Please, try to be verbose with this couple of questions:

How do you start the jail? Only this port fails to build or there are others 
too?

-- 
Carlos Jacobo Puga Medina <c...@fbsd.es>
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to