Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 12th, 2002, 04:53 PM
Nebacudnezzar Nebacudnezzar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 1 Nebacudnezzar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Nebacudnezzar
Question Problems using LDAP/PHP/Apache together

Specifically,

our problems boil down to a compilation error for Openldap_2.0.21 on Solaris 8 ... we were able to smooth out our ./configure errors by correctly installing all of the prerequisite software, and now make also runs without error, but make install produces the following error set and we were wondering if anybody here could shed somelight for us on what we need to do.

We want to install openldap, so that we have the ldap libraries available so that the apache mod_auth_ldap module will actually compile correctly so that we could finally use the php ldap functions to authenticate to an external ldap server (we don't even really want to run ldap itself, but it seems there is no way to install the client libraries without doing the whole shebang, while at the same time the documentation for ldap is REALLY AWFUL).

so here is our error message below (there are two warnings and then a final blow up), and if anybody knows of a better place to ask this question I'd very much appreciate the criticism:
---------------------------------------------------------


/bin/sh /home/dls/openldap-2.0.21/libtool --mode=link cc -rpath /usr/local/lib -g -O2 -I../../include -I../../include -L/home/dls/openldap-2.0.21/libraries -version-info 2:14:0 -o libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo dn.lo os-local.lo dnssrv.lo utf-8.lo version.lo -lsasl -lssl -lcrypto
rm -fr .libs/libldap.la .libs/libldap.* .libs/libldap.*

*** Warning: This library needs some functionality provided by -lssl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/usr/ccs/bin/ld -G -h libldap.so.2 -o .libs/libldap.so.2.0.14 bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo dn.lo os-local.lo dnssrv.lo utf-8.lo version.lo -L/home/dls/openldap-2.0.21/libraries -lsasl -lc
ld: fatal: library -lsasl: not found
ld: fatal: File processing errors. No output written to .libs/libldap.so.2.0.14
make[2]: *** [libldap.la] Error 1
make[2]: Leaving directory `/home/dls/openldap-2.0.21/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/dls/openldap-2.0.21/libraries'
make: *** [all-common] Error 1

Last edited by Nebacudnezzar : February 12th, 2002 at 04:56 PM.

Reply With Quote
  #2  
Old February 12th, 2002, 05:08 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> ld: fatal: library -lsasl: not found

Recompile again with --without-cyrus-sasl and --without-tls

BTW, this is off-topic. You should have posted such message to UNIX forum.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Problems using LDAP/PHP/Apache together


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway