Hi,
I am indexing documents like Word, PDF, etc from the web and I need to write a wrapper around it because without the wrapper it doesn't seem to find the LD_LIBRARY_PATH. But even after writing the wrapper it gave me this error,
ld.so.1: /usr/local/morph3/bin/anytotx: fatal: libpdftoolkit.so.3.0: open failed: No such file or directory
This is what I did.
I have a script similar to the dowalk script but customized so that only one page is indexed. At the beginning of the script, before <script language=vortex>, I had unset various cgi variables and set the LD_LIBRARY_PATH and also did an export. This didn't work.
However, if I create a file in UNIX with all the unset variables and the LD_LIBRARY_PATH and then have the indexing script called from within this file, then it works. But for this, I have to do an exec of the UNIX file from the vortex script after passing all the parameters and I dont want to do that. I want to directly run the indexing script from the web. How can I set the wrapper around the script? Any help?
Thanx
I am indexing documents like Word, PDF, etc from the web and I need to write a wrapper around it because without the wrapper it doesn't seem to find the LD_LIBRARY_PATH. But even after writing the wrapper it gave me this error,
ld.so.1: /usr/local/morph3/bin/anytotx: fatal: libpdftoolkit.so.3.0: open failed: No such file or directory
This is what I did.
I have a script similar to the dowalk script but customized so that only one page is indexed. At the beginning of the script, before <script language=vortex>, I had unset various cgi variables and set the LD_LIBRARY_PATH and also did an export. This didn't work.
However, if I create a file in UNIX with all the unset variables and the LD_LIBRARY_PATH and then have the indexing script called from within this file, then it works. But for this, I have to do an exec of the UNIX file from the vortex script after passing all the parameters and I dont want to do that. I want to directly run the indexing script from the web. How can I set the wrapper around the script? Any help?
Thanx