Request 286 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/286
      Ticket: [OpenPKG #286]
     Subject: New problem and solution for building pine with LDAP
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: new
 Transaction: Ticket created by [EMAIL PROTECTED]
        Time: Mon Oct 27 15:03:27 2003
_________________________________________________________________________

I submitted a change to the pine package about 3 weeks ago to support
building pine with LDAP on Solaris 9. That was for building with LDAP
without sasl. Now that I've built LDAP *with* sasl, pine will no longer
build with LDAP on either RedHat 9 or Solaris 9, since it does not know
where to find the required sasl libraries.

One solution, which I've uploaded to your contrib area (see
pine-4.58L-20031024.src.rpm), is to add:

    ldflags="$ldflags -lsasl2 -ldl"

conditionally if "with_ldap == yes". It would be better, I suppose, to only
add the libraries if the LDAP in question was built with sasl, but I don't
know any way to detect that.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
327 87 Prospect
609-258-4612


______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            [EMAIL PROTECTED]

Reply via email to