[sudo-users] 1.7.0rc1 interesting tests

Patrick Spinler spinler.patrick at mayo.edu
Mon Jun 9 10:26:19 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd C. Miller wrote:
| In message <484C8BC7.2030101 at mayo.edu>
| 	so spake Patrick Spinler (spinler.patrick):
|
|> (3) solaris 10 sparc failure
|>
|> ap00375 at kwanyin sudo-1.7.0rc1 $ ./sudo -l
|> ld.so.1: sudo: fatal: libldap-2.3.so.0: open failed: No such file or
|> directory
|> Killed
|
| Are you using the OpenLDAP libraries on Solaris?  I don't have any
| issues when building against the system libldap.  What are the
| LDFLAGS and SUDO_LDFLAGS lines in the Makefile set to?  It sounds
| like a missing -R flag but configure should add a matching -R flag
| for each -L it adds.  Can you send the output of "ldd sudo"?
|
| Also, what arguments are you passing to configure?

Same configure arguments for all platforms, so far.  On reflection, this
is the root of the problem.  I'll have to grok what the proper set of
configure options for this platform would be.

I see I do have openldap installed in /opt/csw.  Indeed, it looks like
it tries to link against this revision, but fails.  It's interesting
that it apparently looks for openldap before the system ldap.
Something in my .profile, I assume.

Anyway, I changed my configure command from this:

CFLAGS="-g" LDFLAGS="-g" ./configure --with-logging=syslog
- -with-logfac=authpriv --with-pam --with-env-editor --with-editor=/bin/vi
- --with-ignore-dot --with-tty-tickets --with-ldap


To this:

CFLAGS="-g" LDFLAGS="-g" ./configure --with-logging=syslog
- -with-logfac=authpriv --with-pam --with-env-editor --with-editor=/bin/vi
- --with-ignore-dot --with-tty-tickets --with-ldap=/usr


Now, it finds libldap.  However, it's failing on liblber.  Isn't liblber
openldap specific?

- -- Pat

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFITT2LNObCqA8uBswRAvjkAJ0Tz2oxVxSb5+8F94IDxyBHrNdjvACggMOO
G8c7/Q+Ra66c9+3M8HD9bSQ=
=ToMA
-----END PGP SIGNATURE-----



More information about the sudo-users mailing list