From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,815f42cce3f869d1 X-Google-Attributes: gidfee84,public From: Anthony Wilkinson Subject: Re: Dynamic linking shared objects Date: 1996/02/02 Message-ID: <31123E52.7CF8@ukh.pontis.com>#1/1 X-Deja-AN: 137705578 x-nntp-posting-host: netgate.ukh.pontis.com references: <3107BAFE.AE7@ukh.pontis.com> <310FE500.794B@zk3.dec.com> content-type: text/plain; charset=us-ascii organization: pontis.com mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0b5 (WinNT; I) 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