<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Verdana","sans-serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        color:windowtext;
        font-weight:normal;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>it
should read LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:/usr/sfw/lib. 
Not inside quotes.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>You
may also want to look at crle to avoid even having to do this.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>=G=<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:normal'>
Snyder, Howard [mailto:HS3082@att.com] <br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Sent:</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:normal'>
Thursday, January 10, 2008 1:39 PM<br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>To:</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:normal'>
hobbit@hswn.dk<br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Subject:</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:normal'>
[hobbit] Hobbit first timmer<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-weight:normal'>All,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'>I found this string on the
web and I too added the below <span style='color:red'>lines</span> into those
files and it started working.  I’m still having a small problem in that
when I start Hobbit I get this: <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'>./hobbit.sh start<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'>2008-01-10 13:24:27
xgetenv: Cannot find value for variable LD_LIBRARY_PATH<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'>Hobbit started<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-weight:normal'><o:p> </o:p></span></p>

<pre>Hi Mark,<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>thanks - it works like a charme.<o:p></o:p></pre><pre>Rolf<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>Add this to ~hobbit/server/etc/hobbitcgi.cfg and hobbitserver.cfg:<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre><span style='color:red'>LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib:/usr/sfw/lib"<o:p></o:p></span></pre><pre><span
style='color:red'>export LD_LIBRARY_PATH<o:p></o:p></span></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>It will take care of the web and server processes. Also if you<o:p></o:p></pre><pre>compile with -R<path> it will hardcode the paths into the binary.<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>Cheers,<o:p></o:p></pre><pre>Mark<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>Rolf Schrittenlocher wrote:<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<pre>Hi,<o:p></o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<tt><span style='font-size:10.0pt'>finally I got hobbit running by adding the
paths for pcre,larrd and other libs to LD_LIBRARY_PATH in .profile (solaris 9).
I don't understand why this was necessary as I provided these in the Makefile,
but it is working. Now I have the same problem with the webpages. Detailed
webpages fail, the apache log says:</span></tt><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
</span><tt><span style='font-size:10.0pt;color:black;background:#FFFF66;
font-weight:normal'>ld</span></tt><tt><span style='font-size:10.0pt'>.</span></tt><tt><span
style='font-size:10.0pt;color:black;background:#FFFF66;font-weight:normal'>so</span></tt><tt><span
style='font-size:10.0pt'>.</span></tt><tt><span style='font-size:10.0pt;
color:black;background:#FFFF66;font-weight:normal'>1</span></tt><tt><span
style='font-size:10.0pt'>: hobbitsvc.cgi: </span></tt><tt><span
style='font-size:10.0pt;color:black;background:#99FF99;font-weight:normal'>fatal</span></tt><tt><span
style='font-size:10.0pt'>: </span></tt><tt><span style='font-size:10.0pt;
color:black;background:#FF9999;font-weight:normal'>libpcre</span></tt><tt><span
style='font-size:10.0pt'>.</span></tt><tt><span style='font-size:10.0pt;
color:black;background:#FF9999;font-weight:normal'>so</span></tt><tt><span
style='font-size:10.0pt'>.</span></tt><tt><span style='font-size:10.0pt;
color:black;background:#FF9999;font-weight:normal'>0</span></tt><tt><span
style='font-size:10.0pt'>: </span></tt><tt><span style='font-size:10.0pt;
color:black;background:#FF66FF;font-weight:normal'>open</span></tt><tt><span
style='font-size:10.0pt'> </span></tt><tt><span style='font-size:10.0pt;
color:white;background:#880000;font-weight:normal'>failed</span></tt><tt><span
style='font-size:10.0pt'>: </span></tt><tt><span style='font-size:10.0pt;
color:white;background:#00AA00;font-weight:normal'>No</span></tt><tt><span
style='font-size:10.0pt'> </span></tt><tt><span style='font-size:10.0pt;
color:white;background:#886800;font-weight:normal'>such</span></tt><tt><span
style='font-size:10.0pt'> </span></tt><tt><span style='font-size:10.0pt;
color:white;background:#004699;font-weight:normal'>file</span></tt><tt><span
style='font-size:10.0pt'> or </span></tt><tt><span style='font-size:10.0pt;
color:white;background:#990099;font-weight:normal'>directory</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>[Tue Jan 03 11:50:11 2006] [error] [client 141.2.164.30] Premature end of script
headers: bb-hostsvc.sh, referer: <a href="http://lbs">http://lbs</a>...</tt><br>
<tt>I don't like to make a .profile with the LD_LIB settings for the apache
user . Is there another way of providing those paths in an environtment.cfg or
something?</tt></span><o:p></o:p></p>

</div>

</body>

</html>