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:


Hi!

It seems like dynlink.scm get the libname from ../gtk-1.2/gdk.scm and
../gtk-1.2/gtk.scm. Then there is a dynlink-old.scm that is looking for
different libname extensions but it doesnt seem to be used.

It seems to me that the only lib dynlink.scm is looking for is libguilegtk-1.2.
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?

This line in gtk.scm and gdk.scm
(merge-compiled-code "sgtk_init_gtk_gdk_glue" "libguilegtk-1.2.so")

and commenting out :use-module(gtk dynlink-old) works for me.

(define-module (gtk dynlink)
  :use-module (gtk config)
  ;;  :use-module (gtk dynlink-old)
  )

Would it be possible to put in an appropriate libname extension during make, in
for example config.scm.

Bo


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