[Xapian-discuss] php bindings

R. Mattes rm at seid-online.de
Sat Mar 18 16:11:43 GMT 2006


On Sat, 2006-03-18 at 21:35 +0530, durga bidaye wrote:
> hey
> 
> this is my reply( in bold). anyway tell me where have i gone wrng, i f
> u can.

There's no bold im Email ;-)


>         XAPIAN_CONFIG expects the path to the xapian-config script,
>         _not_
>         a directory path!
> 
> i passed the correct path the next time around, but still xapian.so
> not found in /usr/lib/php4/
> 

What's the output of your configuration run? 
More important still: what's the output of running 'make install'?
(And did you export some exotic 'PREFIX' or set '--prefix' on the
configure command line?).

cheers RalfD

P.S: is your keyboard broken? There seem to be characters missing from
your email.

> 
>         > Still i went ahead, n did make as well as make install.
>         >
>         > but again found that xapian.so was not present
>         > in /usr/lib/php4/20050606/
>         >
>         > Now why isnt xapian-bindings gettin installed?
>         
>         Maybe it's in /usr/local/lib/php.... ?
> 
> its not in /usr/local/lib/php either
> 
> 
>         HTH Ralf Mattes
> ----------------------------------------------------------------------------------------------------------- 
> Thanks.
> doubtfire40008 at gmail.com 
> 
> 
>         > doubtfire40008 at gmail.com
>         > 
>         >
>         ------------------------------------------------------------------------------
>         > On 3/17/06, Olly Betts <olly at survex.com> wrote:
>         >         On Thu, Mar 16, 2006 at 07:06:43PM +0530, durga
>         bidaye wrote: 
>         >         > PHP Warning:  Unknown(): Unable to load dynamic
>         library
>         >         > '/usr/lib/php4/20050606/xapian.so'
>         >         - /usr/lib/php4/20050606/xapian.so:
>         >         > undefined symbol: tclStubsPtr in Unknown on line
>         0 
>         >         >
>         >         > wat is this tclStubsPtr thing?
>         >
>         >         I don't know, but it sounds like something to do
>         with tcl
>         >         rather than
>         >         PHP!  Just to check, you didn't copy xapian.so by
>         hand and
>         >         accidentally
>         >         take it from the tcl subdirectory instead of the php
>         one?
>         >
>         >         > > What does this report:
>         >         > >
>         >         > > php-config --extension-dir 
>         >         >
>         >         > this command doesnt work on my sys..does not mean
>         my version
>         >         of php is too
>         >         > old fr php bindings??
>         >
>         >         Erm, if that doesn't work I don't really understand
>         how you've 
>         >         managed
>         >         to build and install the PHP bindings - configure
>         uses this to
>         >         find
>         >         where PHP is installed...
>         >
>         >         When you say "this command doesnt work", how does it
>         fail? 
>         >
>         >         Did you do anything unusual to build the bindings
>         (anything
>         >         other than
>         >         ./configure / make / make install)?
>         >
>         >         Cheers,
>         >             Olly
>         >
>         > _______________________________________________
>         > Xapian-discuss mailing list
>         > Xapian-discuss at lists.xapian.org
>         > http://lists.xapian.org/mailman/listinfo/xapian-discuss
>         
> 




More information about the Xapian-discuss mailing list