Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#990359: python3-websockify: rebind.so not found (when used in program wrapper mode)

133 views
Skip to first unread message

Mike Gabriel

unread,
Jun 27, 2021, 1:20:03 AM6/27/21
to
Package: python3-websockify
Severity: important
Version: 0.9.0+dfsg1-2+b1

Hi,

I played with websockify and NoVNC recently and discovered that
websockify's program wrapper mode is currently broken in Debian 11:

```
[sunweaver@sunobo ~]$ websockify 127.0.0.1:9898 -- x11vnc -noipv6 -display :0
Traceback (most recent call last):
File "/usr/bin/websockify", line 33, in <module>
sys.exit(load_entry_point('websockify==0.9.0', 'console_scripts',
'websockify')())
File "/usr/lib/python3/dist-packages/websockify/websocketproxy.py",
line 725, in websockify_init
server = WebSocketProxy(**opts.__dict__)
File "/usr/lib/python3/dist-packages/websockify/websocketproxy.py",
line 306, in __init__
raise Exception("rebind.so not found, perhaps you need to run make")
Exception: rebind.so not found, perhaps you need to run make

```

The directory /usr/lib/websockify has this content here:

```
root@sunobo:/usr/lib/websockify# LANG=C ls -al
total 44
drwxr-xr-x 2 root root 4096 Jun 27 07:01 .
drwxr-xr-x 182 root root 12288 Jun 24 15:44 ..
-rw-r--r-- 1 root root 14304 Nov 19 2020
rebind.cpython-39-x86_64-linux-gnu.so
-rw-r--r-- 1 root root 11776 Nov 19 2020 rebind.o
```

My work-around for the above error is putting a symlink into this
directory, like this:

```
root@sunobo:/usr/lib/websockify# LANG=C ls -al
total 44
drwxr-xr-x 2 root root 4096 Jun 27 07:05 .
drwxr-xr-x 182 root root 12288 Jun 24 15:44 ..
-rw-r--r-- 1 root root 14304 Nov 19 2020
rebind.cpython-39-x86_64-linux-gnu.so
-rw-r--r-- 1 root root 11776 Nov 19 2020 rebind.o
lrwxrwxrwx 1 root root 37 Jun 27 07:05 rebind.so ->
rebind.cpython-39-x86_64-linux-gnu.so

```

Please, possibly fix this for Debian 11. If more help is needed,
please let me know.

Greets,
Mike

--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.g...@das-netzwerkteam.de, http://das-netzwerkteam.de

Thomas Goirand

unread,
Jul 12, 2021, 3:50:04 AM7/12/21
to
On 7/12/21 8:11 AM, Jochen Sprickerhof wrote:
> Control: -1 patch
>
> Hi Thomas,
>
> the attached patch fixes this for me, can you take care of uploading or
> should I?
>
> Cheers Jochen

Hi Jochen,

Thanks for the patch, I uploaded version -3 of websockify including it.

I'm not sure how this will behave with multiarch, however, obviously we
already have the issue with the rebind.o file, so I don't think its more
harmful than previously.

Cheers,

Thomas Goirand (zigo)

Mike Gabriel

unread,
Jul 12, 2021, 10:00:03 AM7/12/21
to
Hi Thomas, hi Jochen,
thanks for fixing this so promptly.
0 new messages