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

Re: OpenLDAP 2.0.x and SASL on AIX

__eprintf is a gcc built-in that should be provided with gcc.  You can get
this error if you are compiling with gcc but using the native linker and libs
on the system.

The solution is to either use all native tools, or make sure that gcc
is completely installed.  If you are using gcc for your compiler, but
the native loader, make sure to include libgcc .  Note that if you use
gcc as your loader, it will automatically be included.

On my system, libgcc.a lives at
/usr/local/lib/gcc-lib/alpha-dec-osf4.0//, to give you
an idea where to look.


> On Tue, Oct 17, 2000 at 01:27:57PM +0200, Alberto Brosich wrote:
> > Anyone has compiled OpenLDAP 2.0.x with SASL on
> > AIX 4.3.3?
> Yes, and it works.
> > exec(): 0509-036 Cannot load program /usr/local/libexec/slapd because of
> > the fol
> > lowing errors:
> >         0509-130 Symbol resolution failed for /usr/local/lib/libsasl.a
> > because:
> >         0509-136   Symbol __eprintf (number 46) is not exported from
> >                    dependent module slapd.
> The libsasl.a library on my machine does not contain any references to
> __eprintf. What SASL version are you using? How did you build it?
> And be careful when building programs and shared libraries. I think the
> libtool distributed with OpenLDAP does not set the library paths correctly
> (at least not when I last tried; I'm using a newer libtool now). It did cause
> problems for me.
> Gabor
> -- 
> Gabor Gombas                                       Eotvos Lorand University
> E-mail: gombasg@inf.elte.hu                        Hungary