sysutils/tmux is broken?

Mars G. Miro spry at anarchy.in.the.ph
Sat Aug 9 15:47:15 UTC 2014


On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote:
> On Sat, 09 Aug 2014 17:57:52 +0800
> "Mars G. Miro" <spry at anarchy.in.the.ph> wrote:
> 
>> On 08/09/14 15:14, Mars G. Miro wrote:
>>> Installing tmux via ports gives
>>>
>>> root at 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 at turkb2:~# uname -a
>>> FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
>>> 17:45:13 PHT 2014     root at 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


More information about the freebsd-ports mailing list