* Dynamic linking shared objects
@ 1996-01-25 5:00 wilkinan
1996-01-31 5:00 ` Gerald Feldman
0 siblings, 1 reply; 3+ messages in thread
From: wilkinan @ 1996-01-25 5:00 UTC (permalink / raw)
Hi,
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.
Thanks,
Anthony (wilkinan@ukh.pontis.com)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dynamic linking shared objects
1996-01-25 5:00 Dynamic linking shared objects wilkinan
@ 1996-01-31 5:00 ` Gerald Feldman
1996-02-02 5:00 ` Anthony Wilkinson
0 siblings, 1 reply; 3+ messages in thread
From: Gerald Feldman @ 1996-01-31 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dynamic linking shared objects
1996-01-31 5:00 ` Gerald Feldman
@ 1996-02-02 5:00 ` Anthony Wilkinson
0 siblings, 0 replies; 3+ messages in thread
From: Anthony Wilkinson @ 1996-02-02 5:00 UTC (permalink / raw)
Gerald Feldman wrote:
>
> 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-2970Thanks,
Anthony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-02-02 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-25 5:00 Dynamic linking shared objects wilkinan
1996-01-31 5:00 ` Gerald Feldman
1996-02-02 5:00 ` Anthony Wilkinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox