On Thu, Jul 14, 2005 at 02:17:45PM -0500, Brodie, Kent wrote:
> My *original* setup was: Mailman 2.1.5, htdig 3.1.6, Solaris 10 (yes,
> 10), and gcc 3.3.2.
> For the most part, this worked. I was able to generate the ht
> databases, index the archives, and search them. The only issue I
> had when building htdig was to manually set the LD_RUN_PATH
> environment variable to "/usr/local/lib", which is where my c++
> libraries were. That snippet of gold from the archives was dead
> on. Without doing that, you get complaints about libstdc++.so.5 and
> such not being able to be found.
Honestly, I don't know much about Sol10, but on Sol8 & 9 there was a
command for configuring the runtime linkers path called crle
(configure runtime linker environment).
Its usage is quite self-explanatory. Just add /usr/local/lib to it, e.g.
(my sol7 development server)
Configuration file: /var/ld/ld.config =20
Default Library Path (ELF): /usr/lib:/usr/local/lib:/opt/openssl/lib:/o=
Trusted Directories (ELF): /usr/lib/secure (system default)
crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/openssl/lib:/op=
and you are done.
> But, after it was all done, I had one issue that I could not get past,
> which was the nightly_htdig script (courtesy of mailman) kept blowing
> up and core dumping. This script basically checks the lists for
> activity, and does a RUNDIG on the archives for the purpose of
> updating the indices. It seemed to work, sort of, and generate
> results- but it would run for something like 15 minutes and then
> dump. And the searchable stuff was quite tiny - only a handful of
Did you analyze the core file with a debugger, e.g. gdb from sunfreeware.co=
If you have amounts of harddisc space, open the rundig script with vi,
look for the htdig command and add the following before the htdig call:
truss -wall -fall -eall -o <where the logfile should go> htdig -s -a -c ...
Then you will get some debugging output, which you can take a look at.
I don't know much about this dtrace thingie, so I prefer a housewife's iron=
over some unknown hi-tech utility ... :)
> Then, I was made aware of the beta build of htdig-- v3.2.0b6. So,
> I grabbed that and started all over.
> NOTE TO ALL SOLARIS DUDES (or dudettes): THIS WORKS. While I was
> experiencing major problems with 3.1.6 on Solaris (including re-doing
> the compile a bazillion ways, including stuff like -with-rx, which
> seemed to make no difference), compiling, building, and installing
> ht://Dig 3.2.0b6 on Solaris 10 works out of the box. And my nightly
> htdig run? It only executes for something like 10 seconds. Not
> 15 minutes. And no crash. Woohoo!
Just as some help, here ist my configure string:
LDFLAGS=3D"-L/opt/openssl/lib -lssl -lcrypto" CPPFLAGS=3D"-Wno-deprecated" =
CXXFLAGS=3D"-Wno-deprecated" ./configure --prefix=3D/opt/htdig-3.1.6-ssl --=
g-3.1.6-ssl/db/default --with-cgi-bin-dir=3D/opt/htdig-3.1.6-ssl/bin --with=
dig-3.1.6-ssl/htdocs --with-image-url-prefix=3D/images --with-common-dir=3D=
> Gcc I used was the package from sunfreeware.com and is the latest
[root@...]> pkgparam SMCgcc VERSION
arago AG, Institut fuer komplexes Datenmanagement
Am Niddatal 3, 60488 Frankfurt/Main, allert@...
Tel. 069/405680, Fax 069/40568111, http://www.arago.de