[pypy-issue] [issue1641] FreeBSD and dlopen: not possible with statically linked binaries

Tobias Oberstein tracker at bugs.pypy.org
Sun Nov 17 23:48:37 CET 2013


New submission from Tobias Oberstein <tobias.oberstein at gmail.com>:

On FreeBSD (and I believe in general the *BSDs) a statically linked binary
cannot use dlopen() to dynamically link a lib.

This manifests as errors returned "Service unavailable" eg

http://buildbot.pypy.org/builders/pypy-c-jit-freebsd-9-x86-64/builds/8/steps/shell_2/logs/pytestLog

DLOpenError: 'Service unavailable'

I currently think this is the source of above buildslave errors.

Hence, the build configuration for the FreeBSD slaves should arrange things to
build PyPy dynamically linked.

How would I do that?

http://factor-language.blogspot.de/2009/02/note-about-libdl-functions-on-netbsd.html

----------
messages: 6354
nosy: oberstet, pypy-issue
priority: bug
status: unread
title: FreeBSD and dlopen: not possible with statically linked binaries

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1641>
________________________________________


More information about the pypy-issue mailing list