<br><br><div class="gmail_quote">On Sat, Dec 17, 2011 at 9:31 AM, Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">&gt; here is my make command<br>
&gt;<br>
&gt; g++ -I/usr/lib/grass64/include grass.o -L/usr/lib/grass64/lib<br>
<br>
</div>and you are trying to build against the installed grass 6.4 not a self-<br>
built but uninstalled 6.5svn or other version, right?<br>
<br>
<br>
&gt; libgrass_gis is there but still error/home/rashad/grass.cpp:5:<br>
<div class="im">&gt; undefined reference to `G__gisinit(char const*, char const*)&#39;<br>
<br>
<br>
</div><div class="im">Hamish wrote:<br>
&gt; &gt; how does the Makefile look?<br>
<br>
</div><div class="im">?<br>
<br>
&gt; &gt; maybe add the grass lib dir to your /etc/ld.so.conf file, then<br>
&gt; &gt; as root run ldconfig. then the grass libs will be in the library<br>
&gt; &gt; search path.<br>
<br>
</div>please try that.<br>
<br>
as root:<br>
<br>
echo /usr/lib/grass64/lib &gt;&gt; /etc/ld.so.conf<br>
ldconfig<br>
<font color="#888888"><br></font></blockquote><div>Hi Hamish</div><div>I tried that but no luck :( </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="#888888">
<br>
<br>
Hamish<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif"><div>    Rashad</div></font></div><br>