This is the mail archive of the guile-gtk@sourceware.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]

Re: guile-gtk without dlopen (HP-UX)


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


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