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

RE: solaris-8 and openldap-2.0.11



Title: RE: solaris-8 and openldap-2.0.11
I have installed exactly the same softwares as mentioned below.
Afterwards i still get the "called to undefined function".
I have no clue on what is wrong.
Only error i can find is actually with doing a ldd -R on libldap.so.
 
Is there any other thing that i might have forgot?
And yes i have put in the right tag in my configure file for PHP to OpelLdap base directory.
 
Thankfull for any help i can get.
 
//Johan
-----Original Message-----
From: Chapman, Kyle [mailto:Kyle_Chapman@G1.com]
Sent: den 29 augusti 2001 15:51
To: 'Jan Z.'; openldap-software@OpenLDAP.org
Subject: RE: solaris-8 and openldap-2.0.11

note that when you build shared libs on solaris at least that you create a library with not all of its symbols resolved...  if you do a ldd libldap.so and see file not found, then you would have your problem found.  aix will by default attempt to resolve every symbol before it can create an executable/shared object, but can be changed with some switches.
 
your php error...  do ldd libphp.so, and look for file not found.  do not use -r.
 
if you do the same on liblber.so, you may see __eprintf is missing (depending on -lgcc was included in your linked libs)
when using the ldap libs, you should have to use -lldap -llber for any program that needs ldap libs then you shouldnt have any problems (i hope)
 
i place my libs in /usr/local/lib and pass to gcc/ld -R, which tells the linker to search in the colon separated path for libraries.  i had to use GNU binutils to get openssl0.9.6b to build correctly, but removed it for all other apps.
 
does apache or php crash on calls to ldap functions?  we also have apache1.3.20+php4.0.6+mod_ssl+mod_perl+auth_ldap and its all working...
you configure options for php included the path to your openldap install base dir?
-----Original Message-----
From: Jan Z. [mailto:j.zeller@gpstechnik.ch]
Sent: Wednesday, August 29, 2001 2:07 AM
To: Chapman, Kyle; openldap-software@openldap.org
Subject: Re: solaris-8 and openldap-2.0.11

>----- Original Message -----
>Sent: Tuesday, August 28, 2001 3:23 PM
>Subject: RE: solaris-8 and openldap-2.0.11

>are you using gnu binutils to create the shared libraries?  i have solaris 8 with openldap 2.0.11 and no problems with >shared libraries...

hello Kyle,
 
yes I've tried to use the GNU-binutils from sunfreeware.com.
But the binutils were not so tolerant to symbol not found errors.
The executable wasn't an executable one.
Actually I am using gcc-2.95.3. The rest is all SunWare.
And therefore I am getting symbol not found errors with ldd -d / -r
It is software-indendent. Either apache-13.20 nor openldap-2.0.x has been built properly.
 
What can I do to solve this kind of problem ? Did you use the gnu-binutils ?
Is ldd -r libldap.so without any symbol not found errors ? How did you do ? Which enviroment flags did you set for gcc, ld etc. ?
 
 
thanks,
 
Jan