From: "Dave Maclaurin" <dave.maclaurin@stonebow.otago.ac.nz>
Subject: Re: C compile-runtime problem
Date: 1999/08/11 [thread overview]
Message-ID: <934319388.927548@parmaite.otago.ac.nz> (raw)
In-Reply-To: 37AB5201.B2A7BC92@zk3.dec.com
Thanks very much - that fixed the problem !!
Cheers Dave.
Joe Mario <mario@zk3.dec.com> wrote in message
news:37AB5201.B2A7BC92@zk3.dec.com...
> 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
>
prev parent reply other threads:[~1999-08-11 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
1999-08-11 4:00 ` Dave Maclaurin [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