Re: Expect extensions

From: Date: Wed, 02 Nov 2005 15:16:39 +0000
Subject: Re: Expect extensions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-224961@lists.php.net to get a copy of this message
Hi, It's a couple of functions that wrap around the unix expect program. http://uk.php.net/manual/en/ref.expect.php I've re-read the instructions and found that I hadn't added it to the php.ini which I have now done but I get this error now: php: relocation error: /usr/local/lib/php/extensions/expect.so: undefined symbol: OnUpdateLong Any offers? Cheers Matthew On Wed, November 2, 2005 15:31, Jochem Maas wrote: > Matthew Robinson wrote: >> Hi all, >> I'm sure that this is down to me not reading/following/understanding >> the >> instructions. >> >> I'm trying to add the expect extensions into php. I've run: >> >> pear install expect-beta > > I couldn't find an 'Expect' packAge on pear.php.net. > what is it? > >> >> and this reports success and a >> >> pear list >> >> shows the package installed. However when I try to use the function I'm >> told it doesn't exist. Now do I need to re-compile php? > > I would imagine you merely have to load the extension either via php.ini > line or using dl() > >> >> Kind regards >> >> Matthew >> >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Matthew Robinson - http://amberinth.org.uk +44-(0)705060-MATTHEW (6288)

« previous php.general (#224961) next »