This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
Re: guile-gtk without dlopen (HP-UX)
- To: Marius Vollmer <mvo at zagadka dot ping dot de>
- Subject: Re: guile-gtk without dlopen (HP-UX)
- From: Stephen Tell <tell at cs dot unc dot edu>
- Date: Mon, 8 Nov 1999 22:07:50 -0500 (EST)
- cc: Guile-Gtk List <guile-gtk at sourceware dot cygnus dot com>
On 8 Nov 1999, Marius Vollmer wrote:
> However, in recent releases of Guile, dynamic-link uses RTLD_GLOBAL by
> default and thus libguiledlopenhelper is not needed at all (on dlopen
> platforms). You might have to check the HPUX support of Guile if it
> behaves correctly, tho. You could try to hack gtk/dynlink.scm so that
> it doesn't use the %sgtk-* functions at all. If this doesn't work, we
> can then see how you can get by without dynamic linking.
I got my program running by hacking a copy of gtk/dynlink.scm,
removing all of the dlopen stuff, and changing
merge-compiled-code to call the procedures try-using-libtool-name
and link-dynamic-module (found in boot-9.scm) instead of
dlopen-libtool-library and
> For the real fix, I think we need to have configure find out whether
> libguiledlopenhelper is needed or not because people might still be
> using old versions of Guile.
>
> > guile-1.3.4
>
> This is recent enough.
>
> - Marius
>
--
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill. W:919-962-1845