Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] error: can't load API.so -> libswish-e.so.2 not found

From: Miranda Hawarden-Ogata <hawarden(at)not-real.ifa.hawaii.edu>
Date: Fri May 25 2007 - 01:49:34 GMT
Thanks, I just realized that while I had actually put that in my 
/etc/ld.so.conf file, I missed the bit saying I needed to run ldconfig 
afterwards. Having done that, I now get search.cgi syntax OK when I run 
perl -c search.cgi.

However, I'm running into a problem with the script on the web browser. When 
I actually do a search, I get errors about "Unknown metaname 'swishdocpath'" 
(or swishtitle). The error_log file has this output:

[Thu May 24 15:22:50 2007] [error] [client X.X.X.X] undef error - Unknown 
property name in display properties Invalid property name 'swishdescription' 
at /usr/local/swish/swish-e/share/swish-e/templates/search.tt line 79., 
referer: http://irtfweb2/cgi-bin/search.cgi
[Thu May 24 15:22:50 2007] [error] [client X.X.X.X] Premature end of script 
headers: search.cgi, referer: http://irtfweb2/cgi-bin/search.cgi
[Thu May 24 15:22:50 2007] [error] [client X.X.X.X] File does not exist: 
/var/www/html/(EmptyReference!), referer: 
http://irtfweb2/cgi-bin/search.cgi?query=miranda&submit=Search%21&metaname=swishdefault


I have a vanilla search.cgi (other than setting my index file path)....

Thanks so much for the super speedy response!
Miranda

----- Original Message ----- 
From: "Peter Karman" <peter@peknet.com>
To: "Swish-e Users Discussion List" <users@lists.swish-e.org>
Sent: Thursday, May 24, 2007 15:27
Subject: Re: [swish-e] error: can't load API.so -> libswish-e.so.2 not found




Miranda Hawarden-Ogata wrote on 5/24/07 8:14 PM:
> I just finished installing swish-e 2.4.5 and it appears to be working just
> fine on my CentOS 4.4 web server. Swish.cgi is also working properly.

> /usr/local/swish/swish-e.2.4.5/lib/libswish-e.so.2
> /usr/local/swish/swish-e.2.4.5/lib/libswish-e.so.2.0.0
>
> Please let me know if you need any more information.

you probably need to add

  /usr/local/swish/swish-e.2.4.5/lib

to your ldconfig. Search the archive for 'ldconfig' to see other threads 
about
this issue.

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users 

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu May 24 21:49:53 2007