[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] How configure postgis to enable the rasters.
From:       Andrea Peri <aperi2007 () gmail ! com>
Date:       2011-08-25 11:03:45
Message-ID: CABqTJk-15YYpnC9bbC-wL5wRhD1Uo8CwzyZDER03Fw3__Q=1Aw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>Adding /usr/local/lib to PYTHONPATH won't help much since python knowns
>where the GDAL python module but can't find the GDAL library itself.
>
>Is /usr/local/lib in the linker path?  You may want to check
>/etc/ld.so.conf to see if /usr/local/lib is in there.  If not, add
>/usr/local/lib to /etc/ld.so.conf and then run ldconfig.  BUT, this may
>not be the best solution as you are running a 64-bit linux system.
>
>Since it looks like you compiled your own GDAL, you should reconfigure
>and recompile GDAL with something like:
>
>./configure --libdir=/usr/local/lib64 OTHER_CONFIG_FLAGS
>
>Reconfiguring and recompiling GDAL should work as I'm guessing that
>/usr/local/lib64 is in /etc/ld.so.conf but /usr/local/lib isn't.

Great !

Adding
/usr/local/lib to
ld.so.conf.d it worl perfectly !

thx a lot.

Andrea.




-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty אטלעש
-----------------

[Attachment #5 (text/html)]

<pre>&gt;Adding /usr/local/lib to PYTHONPATH won&#39;t help much since python knowns \
<br>&gt;where the GDAL python module but can&#39;t find the GDAL library \
itself.<br>&gt;<br>&gt;Is /usr/local/lib in the linker path?  You may want to check \
<br> &gt;/etc/ld.so.conf to see if /usr/local/lib is in there.  If not, add \
<br>&gt;/usr/local/lib to /etc/ld.so.conf and then run ldconfig.  BUT, this may \
<br>&gt;not be the best solution as you are running a 64-bit linux system.<br> \
&gt;<br>&gt;Since it looks like you compiled your own GDAL, you should reconfigure \
<br>&gt;and recompile GDAL with something like:<br>&gt;<br>&gt;./configure \
--libdir=/usr/local/lib64 OTHER_CONFIG_FLAGS<br>&gt;<br>&gt;Reconfiguring and \
recompiling GDAL should work as I&#39;m guessing that <br> &gt;/usr/local/lib64 is in \
/etc/ld.so.conf but /usr/local/lib isn&#39;t.<br><br>Great !<br><br>Adding \
<br>/usr/local/lib to <br>ld.so.conf.d it worl perfectly !<br><br>thx a \
lot.<br><br>Andrea.<br><br><br></pre><br clear="all"> <br>-- \
<br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty \
אטלעש<br>-----------------<br><br>



_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic