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

List:       postgis-users
Subject:    Re: [postgis-users] $libdir/postgis-2.1: No such file or directory
From:       Eric Ladner <eric.ladner () gmail ! com>
Date:       2015-09-15 11:25:03
Message-ID: CAJdJeiiRLXjtJZ7j0pG8GveK8X=5OH5GkDXrn5GT8wZi-VGxBQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Interesting that is says "$libdir/..." and not "/usr/lib/...".

It almost looks like something in a shell script is surrounded in single
quotes where it should be double and it's not evaluating the "$libdir" into
what it should actually point to.

On Tue, Sep 15, 2015 at 2:53 AM R=C3=A9mi Cura <remi.cura@gmail.com> wrote:

> Hey,
> have you check that the postgis-2.1.so file exists somewhere beside the
> compile folder?
>
> (captain obvious) you may need to restart the postgres server
> (captain obvious) Need admin right when installing postgis, after compile=
.
>
> If you compile yourself, some use of the command  `ldconfig`
> at the right time may save you.
>
>
> Cheers,
> R=C3=A9mi-C
>
> 2015-09-14 23:53 GMT+02:00 Devrim G=C3=BCnd=C3=BCz <devrim@gunduz.org>:
>
>> Hi,
>>
>> Are you compiling from source? If so, add --enable-raster for extension
>> support.
>>
>> Or better, use RPMs: http://yum.postgreql.org .
>>
>> Regards,
>>
>> On September 15, 2015 12:17:38 AM GMT+03:00, Steve <sdcvass@gmail.com>
>> wrote:
>>>
>>> All,
>>>
>>> Ive been beating this to death for too long and hope someone can steer =
me strait.
>>>
>>> Freah install of Linux 6.6
>>>
>>> Postgresql fresh install 9.3.9
>>>
>>> On a closed network but I mined  (I think) all the rpm's I need for pos=
tgis.
>>>
>>> Postgis install nicely but upon create extension, I get $libdir/postgis=
-2.1: No such file or directory
>>>
>>> when running ./pg_config --pkglibdir, I see /var/lib/pgsql/9.3/lib.  po=
stgis-2.1 is not there so I copy it there.  No matter what, I still get thi=
s error.
>>>
>>> Any help for an old Oracle guy would be appreciated.
>>>
>>> Steve
>>>
>>>
>>> Sent from my iPhone
>>> ------------------------------
>>>
>>> postgis-users mailing list
>>> postgis-users@lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>
>>>
>> --
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users@lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

[Attachment #5 (text/html)]

<div dir="ltr">Interesting that is says &quot;$libdir/...&quot; and not \
&quot;/usr/lib/...&quot;.<div><br></div><div>It almost looks like something in a \
shell script is surrounded in single quotes where it should be double and it&#39;s \
not evaluating the &quot;$libdir&quot; into what it should actually point \
to.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 15, 2015 at \
2:53 AM Rémi Cura &lt;<a \
href="mailto:remi.cura@gmail.com">remi.cura@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div \
class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div><div \
class="gmail_default" style="font-family:monospace,monospace">have you check that the \
<a href="http://postgis-2.1.so" target="_blank">postgis-2.1.so</a> file exists \
somewhere beside the compile folder?<br></div><div class="gmail_default" \
style="font-family:monospace,monospace"><br></div><div class="gmail_default" \
style="font-family:monospace,monospace">(captain obvious) you may need to restart the \
postgres server <br></div><div class="gmail_default" \
style="font-family:monospace,monospace">(captain obvious) Need admin right when \
installing postgis, after compile.<br></div><div class="gmail_default" \
style="font-family:monospace,monospace"><br>If you compile yourself, some use of the \
command   `ldconfig`<br></div><div class="gmail_default" \
style="font-family:monospace,monospace">at the right time may save \
you.<br><br></div><div class="gmail_default" \
style="font-family:monospace,monospace"><br>Cheers,<br></div><div \
class="gmail_default" \
style="font-family:monospace,monospace">Rémi-C<br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2015-09-14 23:53 GMT+02:00 Devrim \
Gündüz <span dir="ltr">&lt;<a href="mailto:devrim@gunduz.org" \
target="_blank">devrim@gunduz.org</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,<br> \
<br> Are you compiling from source? If so, add --enable-raster for extension \
support.<br> <br>
Or better, use RPMs: <a href="http://yum.postgreql.org" \
target="_blank">http://yum.postgreql.org</a> .<br> <br>
Regards,<br><br><div class="gmail_quote"><span>On September 15, 2015 12:17:38 AM \
GMT+03:00, Steve &lt;<a href="mailto:sdcvass@gmail.com" \
target="_blank">sdcvass@gmail.com</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <pre><span>All,<br><br>Ive been beating this to \
death for too long and hope someone can steer me strait.<br><br>Freah install of \
Linux 6.6<br><br>Postgresql fresh install 9.3.9<br><br>On a closed network but I \
mined  (I think) all the rpm&#39;s I need for postgis.<br><br>Postgis install nicely \
but upon create extension, I get $libdir/postgis-2.1: No such file or \
directory<br><br>when running ./pg_config --pkglibdir, I see /var/lib/pgsql/9.3/lib.  \
postgis-2.1 is not there so I copy it there.  No matter what, I still get this \
error.<br><br>Any help for an old Oracle guy would be \
appreciated.<br><br>Steve<br><br><br>Sent from my \
iPhone<br><hr><br></span><span>postgis-users mailing list<br><a \
href="mailto:postgis-users@lists.osgeo.org" \
target="_blank">postgis-users@lists.osgeo.org</a><br><a \
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" \
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></span></pre></blockquote></div><span><font \
                color="#888888"><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my \
brevity.</font></span></div><br>_______________________________________________<br> \
postgis-users mailing list<br> <a href="mailto:postgis-users@lists.osgeo.org" \
target="_blank">postgis-users@lists.osgeo.org</a><br> <a \
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="noreferrer" \
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>
 _______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" \
target="_blank">postgis-users@lists.osgeo.org</a><br> <a \
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="noreferrer" \
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a></blockquote></div>




_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/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