[Xapian-discuss] php bindings
R. Mattes
rm at seid-online.de
Sat Mar 18 14:36:04 GMT 2006
On Sat, 2006-03-18 at 18:20 +0530, durga bidaye wrote:
> Hey Olly
>
> I think i had indeed copied xapian.so by hand frm somwhere..tho i dnt
> remember frm where.
A pretty cool way to mess up your box.
> n that means the problem is not with finding the shared library. the
> problem is with installin xapian bindings. i reinstalled xapian
> bindings n on goin to folder /usr/lib/php4/20050606/ i saw that there
> was no xapian.so in it.
>
> So then,i saved xapian-bindings in folder: xapian-core
>
> and installed using just the folowing commands.
>
> ./configure
> make
> make install
>
> but found that xapian.so was not present in /usr/lib/php4/20050606
'/usr/lib/...' is definitely _not_ the place where locally installed
software/libraries should go.
> then i went thru the installation doc n found that we had to pass the
> path to xapian-config to ./configure
>
> hence i did the following
>
> ./configure XAPIAN_CONFIG=/home/jana/xapian-core-0.9.4/
>
> but at the end of configure i got following error:
>
> checking for xapian-config... /home/jana/xapian-core-0.9.4/
> checking /home/jana/xapian-core-0.9.4/ works... configure: error:
> `/home/jana/xapian-core-0.9.4/ --ltlibs --cxxflags' doesn't work,
> aborting
XAPIAN_CONFIG expects the path to the xapian-config script, _not_
a directory path!
> 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.... ?
HTH Ralf Mattes
> 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