Subject: Re: dlopen()
To: Gary D. Duzan <firstname.lastname@example.org>
From: Alistair G. Crooks <email@example.com>
Date: 04/23/1996 01:07:00
> Pardon me if this seems a silly question, but does dlopen() work
> in -current? I've not used it before, and the man pages are a bit
> sketchy when it comes to the exact compiler and linker flags
> required, so I may be doing something wrong. In particular, I'm
> trying to get dynamic loading to work in Gambit-C Scheme.
Works fine for me, and for the postgres95 users out there, too. Take
a look at /usr/share/mk/bsd.lib.mk for the way to construct a .so, or
take a look at the pg95 stuff for the way to use dlopen(3) and friends
to link in your .so of choice. (There used to be a problem with
leading underscores, but that was about a year ago, and things have
changed since then).