On Tuesday, February 18, 2003, at 06:48 AM, Abbie Greene wrote:
In regards to setting the LD_LIBRARY_PATH�I�m a newbie, but have read quite afew articles saying not to do this.�I ran ldd to see what libraries are not found and received the following:For a typical build/install, it should not be necessary to provide an LD_LIBRARY_PATH setting for the ht://Dig libraries; the executables should include the information necessary to find their corresponding libraries. What configure options did you use for your build? Did you manually move anything after the install? Have you tried to build/install more than once? If so, is it possible that you are working with executables from an older build (a build for which the corresponding libraries have been removed)? If you have the 'strings' command available on your system, you might be able to figure out where the executables are looking for their libraries. For example, 'strings htdig | grep lib' should generate output that includes a line like
libhtnet-3.2.0.so=> not found
/opt/www/lib/htdig:/opt/www/lib/mifluz
assuming htdig expects its libraries to be in /opt/www/lib/htdig and /opt/www/lib/mifluz. There is probably some less hackish way to find that information, but strings works ;)
�When I do a locate for the �not founds� they�re all located somewhere in /opt/www/lib. �Is this where they should be located?�Should I have included a path when originally compiling for these�as these were installed with the installation of htdig?If you configured with a prefix of /opt/www then the libraries should in fact be under /opt/www/lib. Corresponding executables should be in /opt/www/bin. This assumes that you did not explicitly override the library and/or executable paths.
Jim
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

