From: Neal R. <ne...@ri...> - 2005-03-23 18:27:16
|
> Then when I run htdig.php I get this error: > > Warning: dl(): Unable to load dynamic library '/usr/lib/php4/htdigphp.so' - > /usr/lib/php4/htdigphp.so: undefined symbol: htsearch_get_nth_match in > /home/elsalvadorsearch/public_html/htdigphp/htdig.php on line 3 > > Can somebody help me with this? If anyone wants more server specs I'm > willing to give all that you need. > Thank you in advance Please try the htdig_search.php file. At the top of this file (and htdig.php) there is a bit of code which will spit out what functions are availiable from PHP in the library. Should look like this: Functions available in the test extension:<br> htsearch_open<br> htsearch_query<br> htsearch_get_nth_match<br> htsearch_close<br> htsearch_get_error<br> htdig_index_test_url<br> What do you see? Also do this command from a unix shell and report back: [nealr@yellowstone nealr.cfg]$ nm htdigphp.so |\grep htsearch_get_nth_match 0019bba8 T htsearch_get_nth_match 000ace08 T zif_htsearch_get_nth_match The htsearch_get_nth_match symbol is the C function itself. The zif_htsearch_get_nth_match function is the PHP wrapper that calls the C function. Thanks -- Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |