hello Olly<br>
<br>
this is my reply to ur queries:<br><br><div><span class="gmail_quote">On 3/16/06, <b class="gmail_sendername">Olly Betts</b> <<a href="mailto:olly@survex.com">olly@survex.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Mar 15, 2006 at 11:00:38AM +0000, John Wards wrote:<br>> Have you put:<br>><br>> extension=xapain.so<br><br>xapian, not xapain!<br>---------------------------------------------------------------------------------------------------
</blockquote><div>that was a typo <br>
</div>------------------------------------------------------------------------------------------------------<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> In your php.ini file? (next to the mysql ones etc at the bottom on the<br>> php.ini usually)</blockquote><div><br>
<br>
</div>This is an alternative to using dl(). If you list an extension in<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">php.ini, then it will always get loaded. If you use dl(), it's only<br>loaded by scripts which want it.
</blockquote><div>--------------------------------------------------------------------------------------------------------<br>
even this is givin the same error...<br>
<br>
<span style="font-weight: bold;">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<br>
<br>
</span>wat is this <span style="font-weight: bold;">tclStubsPtr</span> thing?<br>
-------------------------------------------------------------------------------------------------------</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As an example, see "smoketest.php" which uses dl() and is run under<br>a custom php.ini which doesn't load any extensions.<br><br>> On Wed, 2006-03-15 at 14:40 +0530, durga bidaye wrote:<br>> > I have installed php bindings and '
xapian.so' is present in<br>> > folder /usr/lib/php4/20050606/( the one wich apache looks fr in order<br>> > to load dynamic libraries) but inspite of that, when i try to execute<br>> > the pgm "simplesearch.php
" i get the following errors:<br>> ><br>> > PHP Warning: Unknown(): Unable to load dynamic library<br>> > '/usr/lib/php/20050606/xapian.so' - /usr/lib/php/20050606/xapian.so:<br>> > cannot open shared object file: No such file or directory in Unknown
<br>> > on line 0<br><br>I notice that the error says "/usr/lib/php/" whereas you say that<br>xapian.so is installed in "/usr/lib/php4/". Was that a typo? If not<br>that's probably why it can't be found!
<br>----------------------typo again-------------------------------<br>What does this report:<br><br>php-config --extension-dir<br>-----------------------------------------------------------------------------------------------------
</blockquote><div><br>
this command doesnt work on my sys..does not mean my version of php is too old fr php bindings?? <br>
</div>----------------------------------------------------------------------------------------------------------<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> > Fatal error: Call to undefined function: new_database()<br>> > in /home/jana/final_search1/simplesearch.php on line 30<br>> ><br>> > In php.ini i have set the correct path fr dynamic <a href="http://libraries.bt">
libraries.bt</a> still i<br>> > m gettin the error.<br><br>If you've set a different path in php.ini, you'll need to move xapian.so<br>since it will be installed where php-config says, which is hardcoded<br>into the php-config script (at least it is for PHP
4.1.2).<br><br>> > also am i gettin the error "undefined function<br>> > new_database" just becoz the dynamic library is not gettin<br>> > loaded...<br><br>Yes.<br><br>Cheers,<br> Olly<br>
</blockquote></div><br>
<br>
<br>
-----------------------------------------------------------------------------------------<br>
<br>
this is it....so wat exactly is goin wrng?<br>
<br>
<a href="mailto:doubtfire40008@gmail.com">doubtfire40008@gmail.com</a><br>