[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: AW: __eprintf




On Thu, 15 Aug 2002, Tarassov Vadim wrote:

> Hallo Igor,
>
> I build OpenLDAP with forte ... How should I rebuild it? Is there
> anything that I missed in configure arguments?
>

Hmm.  In this case you need to link openldap libraries with 'cc -G'.
However, I do not think that this will solve the problem.  Have you built
any of the openldap dependencies with gcc: sasl, openssl?  Can you give us
the exact linker error?

-Igor

> Thanx in advance, Vadim Tarassov.
>
> -----Ursprüngliche Nachricht-----
> Von: Igor Brezac [mailto:igor@ipass.net]
> Gesendet: Donnerstag, 15. August 2002 17:48
> An: Kervin L. Pierre
> Cc: Tarassov Vadim; openldap-software@OpenLDAP.org
> Betreff: Re: __eprintf
>
>
>
> You need to link openldap libs with 'gcc -shared' rather than 'ld'
> (libtool for solaris is broken).  Or, rebuild openldap with forte.
>
> -Igor
>
> On Thu, 15 Aug 2002, Kervin L. Pierre wrote:
>
> > I ran into this problem as well.
> >
> > from the configure script...
> >
> >    solaris*)
> >      # gcc --version < 3.0 without binutils cannot create self contained
> >      # shared libraries reliably, requiring libgcc.a to resolve some of
> >      # the object symbols generated in some cases.  Libraries that use
> >      # assert need libgcc.a to resolve __eprintf, for example.  Linking
> >      # a copy of libgcc.a into every shared library to guarantee resolving
> >      # such symbols causes other problems:  According to Tim Van Holder
> >      # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
> >      # (to the application) exception stack for one thing.
> >
> > Tarassov Vadim wrote:
> > > Hallo everybody,
> > >
> > > I am trying to build nss_ldap on solaris 2.6 using forte 6 update 1. nss_ldap configure fails because symbol __eprintf could not be found, libldap.so requires it.
> > > Oddly, slapd itself works fine ...
> > >
> > > Does anyone knows what is the problem?
> > >
> > > Regards, Vadim Tarassov.
> > >
> >
> >
> >
>
>

-- 
Igor