Gabriel George POPA wrote:

Frank Denis wrote:

Le Tue, Mar 21, 2006 at 02:18:10PM +0200, Gabriel George POPA ecrivait :

Frank Denis wrote:


Yes, very interesting. But I was looking for a very secure, highly proven solution, prepackaged for OpenBSD with Apache chrooted.



Well, Hyper Estraier is far from being a beta project. It's an evolution of Estraier, itself based upon Snatcher, whoose work began 6 years ago. The
code is very clean, it works and it's fast.

The code of Mnogosearch (and DPsearch since it's based upon it) is messy and designed in a totally insecure and unreliable way. I had a hard time last year with it in order to add various hacks to have it work with our blog web
site (skyblog.com). There were many ways to get it die with segmentation
faults. And the indexer wasn't always able to resume its activity after a
crash. Plus Mnogosearch doesn't scale as well as advertised.
 OTOH, Hyper Estraier scales really well.
It just needs an OpenBSD port.

I installed Hyper Estraier but now, because it is in chroot, it cannot find the libraries it depends on. I had this problem quite a few times with different programs. I did not have the time to solve it (with other programs too). What do I do: ldconfig? This is the standard method? ldconfig with what params? Or maybe it's better to set the LD_LIBRARY_PATH?

George

Oh, well, I discovered how to solve this problem:
# ldconfig -r // (we notice that libraries that are used by Hyper Estrayer are not here)
# ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib
# mkdir -p /var/www/var/run
# chown -R 0755 /var/www/var
# cp -Rp /var/run/ld.so.hints /var/www/var/run

That's all. Then in a browser:
http://<site-name>/cgi-bin/estseek.cgi

Finally, I leart how to deal with this chrooted Apache.

Yours in BSDness, George

Reply via email to