Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Gerald Feldman <gaf@zk3.dec.com>
Subject: Re: Dynamic linking shared objects
Date: 1996/01/31	[thread overview]
Message-ID: <310FE500.794B@zk3.dec.com> (raw)
In-Reply-To: 3107BAFE.AE7@ukh.pontis.com

wilkinan wrote:
> On Solaris (for example), I can create a shared object, and then
> from an application (which hasn't been compile-time linked with
> that shared object), do something like:
> handle = dlopen("mylib.so");
> pfunc  = dlsym(handle);
> 
> i = (*pfunc)();
> 
> dlclose(handle);
> 
> Is there a similar mechanism on DEC UNIX (OSF/1)? Or is there
> any software around capable of achieving the same end as this.

Digital Unix supports the dlopen(), dlclose(), and dlsym() funcitons. 
These are supported in Digital Unix V3.2. 
I am not sure which prior releases did support those functions. There
are some differences between the Sun and Digital implementations. In the
future, there will be a standard version of these accross platforms.

-- 
Jerry Feldman              Unix Systems Group
Digital Equipment Corp.    Mailstop: ZKO3-3/Y25 
110 Spitbrook Rd.          gaf@zk3.dec.com
Nashua, NH 03062-9987      (603)881-2970



  reply	other threads:[~1996-01-31  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-25  5:00 Dynamic linking shared objects wilkinan
1996-01-31  5:00 ` Gerald Feldman [this message]
1996-02-02  5:00   ` Anthony Wilkinson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox