On Sat, 17 Feb 2001, Geoff Hutchison wrote:

> Date: Sat, 17 Feb 2001 09:20:10 -0600
> From: Geoff Hutchison <[EMAIL PROTECTED]>
> To: "Joe R. Jah" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: [htdig] htfuzzy segmentation fault, and server 500 error with htsearch
> 
> At 2:47 AM -0800 2/17/01, Joe R. Jah wrote:
> >___Flags used in configuration:
> >
> >CFLAGS="-O2"
> >CXXFLAGS="-O2"
> >CPPFLAGS="-I/usr/local/GCC/include/g++-3 -L/usr/local/GCC/lib"
> >CC="/usr/local/bin/egcs"
> >CXX="/usr/local/bin/egcs++"
> >export CFLAGS CXXFLAGS CPPFLAGS CC CXX C++
> >
> >___Rundig results:
> >
> >htdig: can't load library 'libstdc++-2.so.3'
> >htpurge: can't load library 'libstdc++-2.so.3'
> >htnotify: can't load library 'libstdc++-2.so.3'
> >htfuzzy: can't load library 'libstdc++-2.so.3'
> >htfuzzy: can't load library 'libstdc++-2.so.3'
> 
> This is a different matter entirely--it's saying that the runtime 
> loader can't find the library. At this point it's very 
> platform-dependent and I've never used BSDI, so I can't offer a 
> specific fix. I'll re-outline my comments from yesterday:
> 
> Read the man page for ld and/or ld.so. Look to see if it supports the 
> LD_RUN_PATH environment variable (which sets the loader paths during 
> compile-time). If so, see <http://www.htdig.org/FAQ.html#q3.6>. If 
> not, you may have a Linux-like dynamic loader, in which case you'll 
> need to set a config file with the paths for libraries.

Thanks Geoff; I read the FAQ; I set the LD_RUN_PATH environment variable:

CFLAGS="-O2"
CXXFLAGS="-O2"
CPPFLAGS="-I/usr/local/GCC/include/g++-3"
CPPFLAGS="-L/usr/local/GCC/lib"
CC="/usr/local/bin/egcs"
CXX="/usr/local/bin/egcs++"
LD_RUN_PATH="/usr/local/GCC/lib"
export CFLAGS CXXFLAGS CPPFLAGS CC CXX LD_RUN_PATH

But, I got the same response;( I solved that problem by Symbolically
linking libstdc++-2.so.3 in htlib folder:

/Search/htlib/libstdc++-2.so.3 -> /usr/local/GCC/lib/libstdc++-3-2-2.10.0.so

However, I am back to square one with one difference; this time htfuzzy
runs without any error or core dump, but all other programs have line 63
error: 

$ gdb htdig
[Copyright stuff]
(gdb) run
Starting program: /Search/Bin/htdig
Unknown char in line 63: #
Program exited with code 01.
(gdb) bt
No stack.
(gdb) q
$ gdb htfuzzy
[Copyright stuff]
(gdb) run
Starting program: /Search/Bin/htfuzzy
htfuzzy: No algorithms specified
usage: htfuzzy [-c configfile][-v] algorithm ...
This program is part of ht://Dig 3.2.0b3-021501

Supported algorithms:
        soundex
        metaphone
        accents
        endings
        synonyms

Options:
        -c configfile
                Use the specified configuration file instead of the
                default.

        -v      Verbose mode.  This increases the verbosity of the
                program.  Using more than 2 is probably only useful
                for debugging purposes.


Program exited normally.
(gdb) q

Any ideas?

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
Information: http://lists.sourceforge.net/lists/listinfo/htdig-general
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to