Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Albert Chin" <china@my-the-written-word.com>
Subject: Re: Digital Unix 4 - runtime loader unable to find a .so library
Date: 1999/07/12	[thread overview]
Message-ID: <Qtgi3.616$7X2.101685@news.corecomm.net> (raw)
In-Reply-To: 7mc2m6$4roao$1@titan.xtra.co.nz

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)



      reply	other threads:[~1999-07-12  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
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