Hi Isaac,<br><br>I see that you&#39;ve updated LD_LIBRARY_PATH already, but perhaps you could try adding the lib location to ls.so.conf as well.  See below for how I dealt with similar error in the past.<br><br>------------------<br>
$ gdalinfo --formats<br>gdalinfo: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory<br><br>--&gt; ruh roh<br>$ /sbin/ldconfig -p | grep gdal<br><br>--&gt;nuffin...  Let&#39;s try adding the path to libgdal.so.1 in /etc/ld.so.conf<br>
<br>$ find /usr -name libgdal.so.1<br>/usr/local/lib/libgdal.so.1<br><br>$ sudo vi /etc/ld.so.conf<br>--&gt; add<br>/usr/local/lib<br><br>$ ldconfig<br><br>$ /sbin/ldconfig -p | grep gdal<br>    libgdal.so.1 (libc6) =&gt; /usr/local/lib/libgdal.so.1<br>
    libgdal.so (libc6) =&gt; /usr/local/lib/libgdal.so<br><br>--&gt; alright, so what about gdalinfo?<br>$ gdalinfo<br>Usage: gdalinfo [--help-general] [-mm] [-stats] [-nogcp] [-nomd]<br>                [-noct] [-checksum] [-mdd domain]* datasetname<br>
--------------------<br><br>Best of luck,<br><br>Roger<br>--<br><br><br><div class="gmail_quote">On Fri, Jan 15, 2010 at 10:13 AM, Isaac Ullah <span dir="ltr">&lt;<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list,<br><br>    I have recently been trying to compile and install 64 bit GRASS7 with 64 bit GDAL1.6.3 on 64 bit Ubuntu 9.10. I have successfully compiled both packages (with no errors), but am getting this error upon GRASS startup when the GRASS gui loads and first tries to access GDAL: <br>

<span style="font-family: courier new,monospace;">g.list: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory</span><br clear="all"><br>I have that library installed in a standard location:<br>

<span style="font-family: courier new,monospace;">&gt; whereis libgdal.so.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">libgdal.so: /usr/lib/libgdal.so.1 /usr/lib64/libgdal.so.1 /usr/local/lib/libgdal.so /usr/local/lib/libgdal.so.1</span><br>

 <br>and even have made gdal.conf:<br><span style="font-family: courier new,monospace;">&gt; cat /etc/ld.so.conf.d/gdal.conf</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/usr/local/lib</span><br><br>And also, this file IS 64 bit:<br><span style="font-family: courier new,monospace;">&gt; file /usr/local/lib/libgdal.so.1.13.3</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">/usr/local/lib/libgdal.so.1.13.3: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped</span><br><br>Even after explicitly setting <span style="font-family: courier new,monospace;">LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib</span> before grass startup, libgdal.so.1 is not found, even though <span style="font-family: courier new,monospace;">echo $LD_LIBRARY_PATH</span> produces<span style="font-family: courier new,monospace;">: /usr/local/grass7.0.svn-i686-pc-linux-gnu-28_11_2009/lib:/usr/local/lib<br>

<br></span>Result of<span style="font-family: courier new,monospace;"> ldd /usr/local/grass7.0.svn-28_11_2009/bin/g.list</span> shows the only problem:<span style="font-family: courier new,monospace;"> libgdal.so.1 =&gt; not found</span>. <br>

<br>Here are some additional ldd responses:<br><span style="font-family: courier new,monospace;">ldd `which gdalinfo`</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    linux-vdso.so.1 =&gt;  (0x00007fff207ff000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libgdal.so.1 =&gt; /usr/local/lib/libgdal.so.1 (0x00007fc141b91000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libgeos_c.so.1 =&gt; /usr/local/lib/libgeos_c.so.1 (0x00007fc141975000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    </span><a style="font-family: courier new,monospace;" href="http://libgeos-3.2.0.so/" target="_blank">libgeos-3.2.0.so</a><span style="font-family: courier new,monospace;"> =&gt; /usr/local/lib/</span><a style="font-family: courier new,monospace;" href="http://libgeos-3.2.0.so/" target="_blank">libgeos-3.2.0.so</a><span style="font-family: courier new,monospace;"> (0x00007fc1415fa000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    libsqlite3.so.0 =&gt; /usr/lib/libsqlite3.so.0 (0x00007fc141372000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libodbc.so.1 =&gt; /usr/lib/libodbc.so.1 (0x00007fc141112000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libodbcinst.so.1 =&gt; /usr/lib/libodbcinst.so.1 (0x00007fc140f05000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libltdl.so.7 =&gt; /usr/lib/libltdl.so.7 (0x00007fc140cfb000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libexpat.so.1 =&gt; /lib/libexpat.so.1 (0x00007fc140ad2000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libxerces-c.so.28 =&gt; /usr/lib/libxerces-c.so.28 (0x00007fc1404ff000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libjasper.so.1 =&gt; /usr/lib/libjasper.so.1 (0x00007fc1402a8000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    libjpeg.so.62 =&gt; /usr/lib/libjpeg.so.62 (0x00007fc140083000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libhdf5-1.6.6.so.0 =&gt; /usr/lib/libhdf5-1.6.6.so.0 (0x00007fc13fd60000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libz.so.1 =&gt; /lib/libz.so.1 (0x00007fc13fb49000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libmfhdf.so.4 =&gt; /usr/lib/libmfhdf.so.4 (0x00007fc13f921000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    libdf.so.4 =&gt; /usr/lib/libdf.so.4 (0x00007fc13f66f000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libnetcdf.so.4 =&gt; /usr/lib/libnetcdf.so.4 (0x00007fc13f43c000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libpq.so.5 =&gt; /usr/lib/libpq.so.5 (0x00007fc13f214000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libpthread.so.0 =&gt; /lib/libpthread.so.0 (0x00007fc13eff8000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    librt.so.1 =&gt; /lib/librt.so.1 (0x00007fc13edf0000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libdl.so.2 =&gt; /lib/libdl.so.2 (0x00007fc13ebec000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libcurl-gnutls.so.4 =&gt; /usr/lib/libcurl-gnutls.so.4 (0x00007fc13e9aa000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0x00007fc13e69a000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    libm.so.6 =&gt; /lib/libm.so.6 (0x00007fc13e416000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00007fc13e1ff000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libc.so.6 =&gt; /lib/libc.so.6 (0x00007fc13de90000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libicuuc.so.40 =&gt; /usr/lib/libicuuc.so.40 (0x00007fc13db48000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    libicudata.so.40 =&gt; /usr/lib/libicudata.so.40 (0x00007fc13cc03000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libssl.so.0.9.8 =&gt; /lib/libssl.so.0.9.8 (0x00007fc13c9b5000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libcrypto.so.0.9.8 =&gt; /lib/libcrypto.so.0.9.8 (0x00007fc13c62e000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libkrb5.so.3 =&gt; /usr/lib/libkrb5.so.3 (0x00007fc13c376000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libcom_err.so.2 =&gt; /lib/libcom_err.so.2 (0x00007fc13c172000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libgssapi_krb5.so.2 =&gt; /usr/lib/libgssapi_krb5.so.2 (0x00007fc13bf44000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libcrypt.so.1 =&gt; /lib/libcrypt.so.1 (0x00007fc13bd0b000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libldap_r-2.4.so.2 =&gt; /usr/lib/libldap_r-2.4.so.2 (0x00007fc13bac2000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    /lib64/ld-linux-x86-64.so.2 (0x00007fc142692000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libidn.so.11 =&gt; /usr/lib/libidn.so.11 (0x00007fc13b88f000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
    liblber-2.4.so.2 =&gt; /usr/lib/liblber-2.4.so.2 (0x00007fc13b681000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libgnutls.so.26 =&gt; /usr/lib/libgnutls.so.26 (0x00007fc13b3df000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libgcrypt.so.11 =&gt; /lib/libgcrypt.so.11 (0x00007fc13b167000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libk5crypto.so.3 =&gt; /usr/lib/libk5crypto.so.3 (0x00007fc13af3c000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libkrb5support.so.0 =&gt; /usr/lib/libkrb5support.so.0 (0x00007fc13ad34000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libkeyutils.so.1 =&gt; /lib/libkeyutils.so.1 (0x00007fc13ab31000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
    libresolv.so.2 =&gt; /lib/libresolv.so.2 (0x00007fc13a918000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libsasl2.so.2 =&gt; /usr/lib/libsasl2.so.2 (0x00007fc13a6fe000)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    libtasn1.so.3 =&gt; /usr/lib/libtasn1.so.3 (0x00007fc13a4ed000)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    libgpg-error.so.0 =&gt; /lib/libgpg-error.so.0 (0x00007fc13a2e9000)</span><br>

<br><br>I have asked on the GRASS dev list, but everyone is stumped there and feel that it is soemthing to do with how Ihave installed GDAL on my system rather than a GRASS thing. Do any of you have any idea why gdal libraries seem to be invisible to GRASS on my system? Oh, and yes, I do run ldconfig every time I fool with libraries or conf files.<br>

<br>Any help will be greatly appreciated,<br><br>Cheers,<br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>

***************************************************<br><a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com" target="_blank">ullah@archaeologist.com</a><br>
<br><a href="http://www.public.asu.edu/%7Eiullah" target="_blank">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>