All,<br><br>Disclaimer: I am new to PostgreSQL/PostGIS and am trying to make sense of it all, so I ask for your patience.<br><br>I downloaded a copy of Postgre Plus Standard Server 8.4 from <a href="http://enterprisedb.com">enterprisedb.com</a>. It is packaged with PostGIS 1.4. I am running OS X 10.5.8.<br>

<br>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.<br>
<br>CREATE ROLE gisadmin PASSWORD 'mypassword'<br><div style="margin-left: 40px;">LOGIN SUPERUSER<br></div><div style="margin-left: 40px;">INHERIT CREATEDB;<br></div><br>CREATE DATABASE roadmaps<br><div style="margin-left: 40px;">

WITH OWNER = gisadmin<br>TEMPLATE = template_postgis;<br></div><br>\c roadmaps gisadmin;<br><br>CREATE TABLE roads (id INT4, name VARCHAR(128));<br><br>SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY', 2);<br>

<br>INSERT INTO roads (id, geom, name)<br><div style="margin-left: 40px;">VALUES (1, GeomFromText('LINESTRING(0 10,0 0)', -1), 'Beacon Road');<br></div><br>Everything seems to work fine until I enter the INSERT statement, after which I get this error:<br>

<br>ERROR:  could not load library "/Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a>": dlopen(/Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a>, 10): Library not loaded: /Users/buildfarm/pginstaller/PostGIS/caching/osx/proj-4.6.1.osx/lib/libproj.0.dylib<br>

  Referenced from: /Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a><br>  Reason: image not found<br>CONTEXT:  SQL function "geomfromtext" statement 1<div><br></div><div>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:</div>
<div><br></div><div><div>ERROR:  could not load library "/Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a>": dlopen(/Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a>, 10): Library not loaded: /Users/buildfarm/pginstaller/PostGIS/caching/osx/proj-4.6.1.osx/lib/libproj.0.dylib</div>
<div>  Referenced from: /Library/PostgresPlus/8.4SS/lib/<a href="http://postgis-1.4.so">postgis-1.4.so</a></div><div>  Reason: image not found</div><div>CONTEXT:  SQL statement "SELECT postgis_lib_version()"</div>
<div>PL/pgSQL function "postgis_full_version" line 11 at SQL statement</div><div><br></div><div>Can anyone help me with this problem?</div><div><br>Regards,<br><br>Nathan</div></div>