Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Digital Unix 4 - runtime loader unable to find a .so library
@ 1999-07-12  4:00 Dave and Sonya Maclaurin
  1999-07-12  4:00 ` Albert Chin
  0 siblings, 1 reply; 2+ messages in thread
From: Dave and Sonya Maclaurin @ 1999-07-12  4:00 UTC (permalink / raw)


Hi,
   I wonder if any Unix prgrammers can help me - I have written a small c
program that makes calls to Netscape's Directory SDK for C API - basically
I'm doing some simple LDAP stuff. Netscape provide a ldap.h file and a
libldapssl30.so file to link to. Now I can compile my c program as a shared
library and can link with no great problems -

Once I have my shared library ( that itself contains calls to Netscapes
library ) I need to link this into a Forte executable - I can do the link OK
but at runtime I get an error saying that my shared library has unresolved
references - How oh How do I tell Unix loader where the Netscape shared
library is ?

Any help - advice appreciated

Cheers Dave.







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Digital Unix 4 - runtime loader unable to find a .so library
  1999-07-12  4:00 Digital Unix 4 - runtime loader unable to find a .so library Dave and Sonya Maclaurin
@ 1999-07-12  4:00 ` Albert Chin
  0 siblings, 0 replies; 2+ messages in thread
From: Albert Chin @ 1999-07-12  4:00 UTC (permalink / raw)


Dave and Sonya Maclaurin <maclaurin@xtra.co.nz> wrote:
>    I wonder if any Unix prgrammers can help me - I have written a small c
> program that makes calls to Netscape's Directory SDK for C API - basically
> I'm doing some simple LDAP stuff. Netscape provide a ldap.h file and a
> libldapssl30.so file to link to. Now I can compile my c program as a shared
> library and can link with no great problems -

> Once I have my shared library ( that itself contains calls to Netscapes
> library ) I need to link this into a Forte executable - I can do the link OK
> but at runtime I get an error saying that my shared library has unresolved
> references - How oh How do I tell Unix loader where the Netscape shared
> library is ?

Please post the complete error message. You need to link with
"-Wl,-rpath,<path to library>" for any shared library you have on the
system that is not in the default location.

> Cheers Dave.

-- 
albert chin (china (at) thewrittenword (dot) com)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-12  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-12  4:00 Digital Unix 4 - runtime loader unable to find a .so library Dave and Sonya Maclaurin
1999-07-12  4:00 ` Albert Chin

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