pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
racket-minimal-8.15 drracket install won't run
Hello,
What's the way to run drracket?
I have installed racket-minimal-8.15 then installed drracket as follows
$ raco pkg install --auto drracket
on running drracket, I see
$ drracket
ffi-lib: could not load foreign library
path: libX11.so.6
system error: /usr/pkg/lib/racket/gracket: Shared object "libX11.so.6" not found
context...:
/usr/pkg/share/racket/collects/ffi/unsafe.rkt:134:0: get-ffi-lib
body of "/u/van/.local/share/racket/8.15/pkgs/gui-lib/mred/private/wx/gtk/x11.rkt"
body of "/u/van/.local/share/racket/8.15/pkgs/gui-lib/mred/private/wx/platform.rkt"
looking for libX11.so.6, I see
/usr/pkg/emul/linux/usr/lib64/libX11.so.6
if I put the one line "/usr/pkg/emul/linux/usr/lib64" in "/etc/ld.so.conf"(*) or do as follows, I see
$ env LD_LIBRARY_PATH=/usr/pkg/emul/linux/usr/lib64 drracket
ffi-lib: could not load foreign library
path: libcairo.so.2
system error: /usr/pkg/emul/linux/usr/lib64/libxcb-render.so.0: Shared object "libc.so.6" not found
context...:
/usr/pkg/share/racket/collects/ffi/unsafe.rkt:134:0: get-ffi-lib
body of "/u/van/.local/share/racket/8.15/pkgs/draw-lib/racket/draw/unsafe/cairo-lib.rkt"
looking for libcairo.so.2 then libc.so.6, I see
/usr/pkg/lib/libcairo.so.2
/usr/pkg/emul/linux/lib64/libc.so.6
then do
$ env LD_LIBRARY_PATH=/usr/pkg/emul/linux/lib64:/usr/pkg/emul/linux/usr/lib64:/usr/pkg/lib drracket
[1] Segmentation fault (core dumped) env LD_LIBRARY_PATH=/usr/pkg/emul/linux/lib64:/usr/pkg/emul/linux/usr/lib64:/usr/pkg/lib drracket
^
* the one line entry to ld.so.conf broke doas and su commands, and single user boot
--
vl
Home |
Main Index |
Thread Index |
Old Index