This is the mail archive of the guile-gtk@sources.redhat.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]
Other format: [Raw text]

Re: ERROR: In procedure dynamic-link:


Bo Forslund <bo.forslund@abc.se> writes:

> Is it a bad idea to make some mechanism that decide what OS is
> running it and pass the correct libname to
> /usr/share/guile/gtk-1.2/gdk.scm and
> /usr/share/guile/gtk-1.2/gtk.scm?

Yes.  The OS specifica should be taken care of by `dynamic-link'
itself, via libltdl.  That's why you shouldn't specify a file name
extension to dynamic-link, it will provide the correct one on its own.

The setup in guile-gtk should work as it is.  When it doesn't work, we
need to find the reason.  Shared libraries are somewhat wicked, and so
the reason can be quite subtle.

More on this later...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]