This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Jens-Ulrik Petersen <petersen@kurims.kyoto-u.ac.jp> writes:
> Hmmm, I get:
>
> petersen[boron]~% guile
> guile> (define d (dynamic-link "libX11.so"))
> guile> d
> #<dynamic-object "libX11.so">
> guile> (dynamic-func "XOpendisplay" d)
^
It's "XOpenDisplay" with an uppercase "D".
> VM> This is analogous to your problem, right?
>
> Probably. I have:
>
> guile> (define d (dynamic-link "libgtk.so"))
>
> Backtrace:
> 0* (define d (dynamic-link "libgtk.so"))
> 1* [define (define d (#@dynamic-link "libgtk.so")) (#<procedure (symbol define?)>)]
> 2* [dynamic-link "libgtk.so"]
>
> ERROR: In procedure dynamic-link in expression (dynamic-link "libgtk.so"):
> ERROR: ld.so.1: guile: fatal: relocation error: file /proj2/lang/mule-unsupported/solaris/lib/libgtk.so: symbol gdk_font_equal: referenced symbol not found
> ABORT: (misc-error)
Yes, this should be the same symptom, but with libgdk.so instead of
libglib.so. libgtk.so needs both (and a couple of X11 libs).
> Ok. Thanks, Marius.
Please tell if you can get it to work.