[Xapian-discuss] php bindings not working in the browser

Rafael SDM Sierra sdm at underlinux.com.br
Thu Dec 14 19:10:10 GMT 2006


Sorry, I forget to "Reply to all"

---------- Forwarded message ----------
From: Rafael SDM Sierra <sdm at underlinux.com.br>
Date: Dec 14, 2006 5:09 PM
Subject: Re: Re: Re: [Xapian-discuss] php bindings not working in the
browser
To: Jamie D <jam5t3r.lists at gmail.com>

On 12/14/06, Jamie D <jam5t3r.lists at gmail.com> wrote:
>
> > > The error I'm getting when running smoketest.php is this:
> > >
> > > Warning: dl() [function.dl]: Unable to load dynamic library
> > > '/usr/local/apache2/lib/xapian.so' - libxapian.so.13:
> > cannot open
> > > shared object file: No such file or directory in
> > > /home/username_removed/public_html/xapian/php5/xapian.php
> > on line 23
> > >
> >
> > Look two things:
> >
> > 1 - /usr/local/apache2/lib/xapian.so is a link to another
> > file? if yes, it is broken?
> > 2 - Try run "ldd /usr/local/apache2/lib/xapian.so" and see
> > if all libraries are filled
>
> Hi,
>
> The so is not a link, I tried running ldd
> /usr/local/apache2/lib/xapian.so and found that libxapian.so.13 was
> missing


It's "good"

, so I added a link to this in /usr/lib


Instead it, where is the Xapian lib?
Try add it path into the /etc/ld.so.conf and run "ldconfig"

and now the ldd command
> runs without complaint. Now the smoketest file generates a different
> error:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/usr/local/apache2/lib/xapian.so' - /usr/local/apache2/lib/xapian.so:
> undefined symbol: compiler_globals in
> /home/user_removed/public_html/xapian/php5/xapian.php on line 23
>
> Maybe I am one step closer to getting this working now? :)


I don't know, I'm not understanding this error..xD


-- 
SDM Underlinux
http://stiod.wordpress.com
Membro da equipe UnderLinux
--
PEP-8
There is only 2 kinds of peoples in the world, who know English, and me. oO


-- 
SDM Underlinux
http://stiod.wordpress.com
Membro da equipe UnderLinux
--
PEP-8
There is only 2 kinds of peoples in the world, who know English, and me. oO


More information about the Xapian-discuss mailing list