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

Re: How do I build OpenLdap for Solaris 2.9

Assuming you're using the Forte compilers, -xarch=v9 is correct. You
probably need to clue it into using /usr/local/lib/sparcv9 or wherever you
put your 64-bit supporting libraries (you did compile Heimdal, SASL, etc.
with -xarch=v9 too, right? Everything needs to be 64-bit; you'll get
"ELFCLASS32" or similar errors if not.)

Try setting something like:
LDFLAGS="-L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9"

before running configure with your favorite flags.

It's been my experience (broader than, but including, OpenLDAP) that
libtool is more likely to get confused under sparcv9 builds for some
reason. If you run into strangeness with ".lo" files or similar
libtoolisms, there are a number of workarounds--take it up with the
libtool people.

On Wed, 2 Jun 2004, Vamsi K. Kambhampati wrote:

> There is some good documentation on this, take a look at:
> http://www.bolthole.com/solaris/LDAP.html
> Although I have never tried it before these instructions should be pretty
> helpful.
> -- Vamsi
> On Wed, 2 Jun 2004, Ardhanareeswaran, M P (Mp) wrote:
> > All:
> >
> > I will appreciate any pointers on building openldap 2.1.25 (slapd) for
> > solaris 2.9, 64-bit.  I tried -xarch=v9 but failed while linking.  I
> > have seen some other software system (ACE/TAO) use buildbits=64.
> > Neither worked.
> >
> > mp
> >