Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Aug 2014 23:47:04 +0800
From:      "Mars G. Miro" <spry@anarchy.in.the.ph>
To:        Carlos Jacobo Puga Medina <cpm@fbsd.es>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: sysutils/tmux is broken?
Message-ID:  <53E64278.4000302@anarchy.in.the.ph>
In-Reply-To: <20140809135548.d61f01d6d0b4dc1bdc81eaab@fbsd.es>
References:  <53E5CA6D.1020603@anarchy.in.the.ph>	<53E5F0A0.2030007@anarchy.in.the.ph> <20140809135548.d61f01d6d0b4dc1bdc81eaab@fbsd.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote:
> 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/
> 

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



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