[postgis-users] Can't find postgis-1.4.so?

Dharmendra Goyal dharmendra.goyal at enterprisedb.com
Tue Aug 24 07:07:53 PDT 2010


Hi Nathan,

We were not able to reproduce the issue with latest version of Postgis. Can
you please update your Postgis version using stack builder. Following
command should return version as 1.4.1-2.

cat /etc/postgres-reg.ini | grep -A 4 PostGIS_PG84 | grep Version | cut
-d'=' -f2

Thanks,
Dharmendra Goyal



>
>
>> -------- Original Message --------  Subject: [postgis-users] Can't find
>> postgis-1.4.so?  Date: Mon, 23 Aug 2010 18:16:55 -0400  From: Nathan
>> Odgers <n.p.odgers at gmail.com> <n.p.odgers at gmail.com>  Reply-To: PostGIS
>> Users Discussion <postgis-users at postgis.refractions.net><postgis-users at postgis.refractions.net>  To:
>> postgis-users at postgis.refractions.net
>>
>> All,
>>
>> Disclaimer: I am new to PostgreSQL/PostGIS and am trying to make sense of
>> it all, so I ask for your patience.
>>
>> I downloaded a copy of Postgre Plus Standard Server 8.4 from
>> enterprisedb.com. It is packaged with PostGIS 1.4. I am running OS X
>> 10.5.8.
>>
>> I was working through the basic PostGIS tutorial that enterprisedb
>> provides using pgAdmin3 entering SQL/pql code through the Terminal window.
>> This is the demonstration code included in their tutorial, up to the point
>> at which I am getting stuck.
>>
>> CREATE ROLE gisadmin PASSWORD 'mypassword'
>> LOGIN SUPERUSER
>>  INHERIT CREATEDB;
>>
>> CREATE DATABASE roadmaps
>> WITH OWNER = gisadmin
>> TEMPLATE = template_postgis;
>>
>> \c roadmaps gisadmin;
>>
>> CREATE TABLE roads (id INT4, name VARCHAR(128));
>>
>> SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY', 2);
>>
>> INSERT INTO roads (id, geom, name)
>> VALUES (1, GeomFromText('LINESTRING(0 10,0 0)', -1), 'Beacon Road');
>>
>> Everything seems to work fine until I enter the INSERT statement, after
>> which I get this error:
>>
>> ERROR:  could not load library "/Library/PostgresPlus/8.4SS/lib/
>> postgis-1.4.so": dlopen(/Library/PostgresPlus/8.4SS/lib/postgis-1.4.so,
>> 10): Library not loaded:
>> /Users/buildfarm/pginstaller/PostGIS/caching/osx/proj-4.6.1.osx/lib/libproj.0.dylib
>>   Referenced from: /Library/PostgresPlus/8.4SS/lib/postgis-1.4.so
>>   Reason: image not found
>> CONTEXT:  SQL function "geomfromtext" statement 1
>>
>>  I decided to try and inspect the PostGIS settings and see if I could see
>> what was wrong. However, when I connect to the template_postgis database and
>> enter select postgis_full_version(), I get a similar error:
>>
>>  ERROR:  could not load library "/Library/PostgresPlus/8.4SS/lib/
>> postgis-1.4.so": dlopen(/Library/PostgresPlus/8.4SS/lib/postgis-1.4.so,
>> 10): Library not loaded:
>> /Users/buildfarm/pginstaller/PostGIS/caching/osx/proj-4.6.1.osx/lib/libproj.0.dylib
>>   Referenced from: /Library/PostgresPlus/8.4SS/lib/postgis-1.4.so
>>   Reason: image not found
>> CONTEXT:  SQL statement "SELECT postgis_lib_version()"
>> PL/pgSQL function "postgis_full_version" line 11 at SQL statement
>>
>>  Can anyone help me with this problem?
>>
>> Regards,
>>
>> Nathan
>>
>
>
>
> --
> Dharmendra Goyal
> Senior Software Engineer
> EnterpriseDB Corporation
> The Enterprise Postgres Company
>
> Phone: +91-20-30589493
> Mobile: +91-9552103323
>
> Website: http://www.enterprisedb.com
> EnterpriseDB Blog: http://blogs.enterprisedb.com/
> Follow us on Twitter: http://www.twitter.com/enterprisedb
>
> This e-mail message (and any attachment) is intended for the use of the
> individual or entity to whom it is addressed. This message contains
> information from EnterpriseDB Corporation that may be privileged,
> confidential, or exempt from disclosure under applicable law. If you are not
> the intended recipient or authorized to receive this for the intended
> recipient, any use, dissemination, distribution, retention, archiving, or
> copying of this communication is strictly prohibited. If you have received
> this e-mail in error, please notify the sender immediately by reply e-mail
> and delete this message.
>
>


-- 
Dharmendra Goyal
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company

Phone: +91-20-30589493
Mobile: +91-9552103323

Website: http://www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the
individual or entity to whom it is addressed. This message contains
information from EnterpriseDB Corporation that may be privileged,
confidential, or exempt from disclosure under applicable law. If you are not
the intended recipient or authorized to receive this for the intended
recipient, any use, dissemination, distribution, retention, archiving, or
copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100824/ddc41967/attachment.html>


More information about the postgis-users mailing list