Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Mario <mario@zk3.dec.com>
Subject: Re: C compile-runtime problem
Date: 1999/08/06	[thread overview]
Message-ID: <37AB5201.B2A7BC92@zk3.dec.com> (raw)
In-Reply-To: 933914694.747913@parmaite.otago.ac.nz

Dave Maclaurin wrote:

> Hi,
>    I'm trying to compile and run one of the examples from the Netscape C SDK
> LDAP installation under Digital Unix 4.
> I'm relatively new to unix and don't know why the code compiles, links then
> dies at run time. I am obviously not linking
> in all the required shared libraries - how can I work backwards from a
> runtime error for an unresolved symbol
> to a library that needs to be loaded at runtime.
> ...
>  Then Link it
>
> >ld -taso -v -call_shared asearch.o lib/libldapssl30.so /usr/shlib/libc.so

Dave:
    Please do your link using the cc driver.  The link line above is missing
crt0.o and maybe more.

    cc -taso asearch.o -Llib -lldapss130

    Then run  your   ./a.out.

Joe Mario




  reply	other threads:[~1999-08-06  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-06  4:00 C compile-runtime problem Dave Maclaurin
1999-08-06  4:00 ` Joe Mario [this message]
1999-08-11  4:00   ` Dave Maclaurin
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