I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap: 

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones 
ANPAC

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, October 09, 2008 10:03 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Add LDAP support to PHP

>>> On 10/9/2008 at 10:26 AM, in message
<[EMAIL PROTECTED]>
,
"Jones, Russell" <[EMAIL PROTECTED]> wrote: 
> I did find apxs on my system and the path in the script is correct, so
I
> don't think that is the problem. I also see the following in my
output:
> 
> ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
> such file or directory
> configure: error: Aborting
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> make: *** No rule to make target `distclean'.  Stop.
> chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
> directory
> 
> I wonder if the perl path is wrong. Perl on my system in at
> /usr/bin/perl, but I don't see anywhere in the build script to set the
> perl path. 

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to