[Xapian-discuss] Having trouble compiling xapian-bindings for php

Josh leftdrive at gmail.com
Sat Jun 16 05:07:48 BST 2007


On 6/15/07, Olly Betts <olly at survex.com> wrote:
>
> On Fri, Jun 15, 2007 at 05:13:12PM -0700, Josh wrote:
> > configure runs fine, make runs fine, make check reports the following
> error:
> >
> >
> > Warning: dl(): Unable to load dynamic library '/usr/local/src/xapian-
> > bindings-1.0.1/php/.libs/xapian.so' - libxapian.so.15: cannot open
> shared
> > object file: No such file or directory in /usr/local/src/xapian-
> > bindings-1.0.1/php/php5/xapian.php on line 23
>
> Firstly, I think the bug here is probably only in how we're trying to
> run the tests.  If you actually installed the PHP bindings and tried to
> use them, you'll probably find they work.
>
> But even if that's the case, it would be good to fix this.
>
> Can you see if this makes the tests run and pass:
>
>     LD_LIBRARY_PATH=/usr/local/lib make check


Perfect. The test have passed

Can you paste the output from this?
>
>     ldd /usr/local/src/xapian-bindings-1.0.1/php/.libs/xapian.so


libxapian.so.15 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00156000)
libm.so.6 => /lib/tls/libm.so.6 (0x00f85000)
libc.so.6 => /lib/tls/libc.so.6 (0x00836000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0071f000)
/lib/ld-linux.so.2 (0x0013e000)

And this:
>
>     readelf -a /usr/local/src/xapian-bindings-1.0.1/php/.libs/xapian.so|grep
> RPATH


no output

Cheers,
>     Olly
>


More information about the Xapian-discuss mailing list