[postgis-users] Undefined references

Paul Ramsey pramsey at refractions.net
Tue Mar 25 07:02:04 PST 2003


Are you sure that the backslash is the right thing? I thought Cygwin 
provided a complete UNIX shell, so the thing to do would be to replace 
libdir with /lib ?

On Tuesday, March 25, 2003, at 06:59 AM, Nicolas RIBOT wrote:

> Hello Marc-Andre,
>
> Try replacing '$libdir/postgis.dll' by the full Windows path to
> postgis.dll (something like c:\cygwin\urs\src...\postgis.dll) in your
> postgis.sql file.
>
> I'm not sure if system variables, like $libdir, are correctly handled
> when running scripts.
> I had many errors with this too on my cygwin installation: I was not
> able to put as system variable in this script to point to the
> postgis.dll folder.
> It is also possible that you have to escape the '\' character.
> (c:\\cygwin\\... for example).
>
> I hope this helps.
>
> Nicolas Ribot
>
>>
>> Paul,
>>
>> Thanks!  I have been able to install PostGIS!!!
>> But now, I would like to buid a layer in PostGIS and view it
>> from Mapserver...
>> I have still created my DB and the createlang command worked
>> correctly.
>> However, here is what I get when I call the following command:
>>
>> $ psql -U postgres -d myGISdb -f postgis.sql
>> BEGIN
>>         message
>> ------------------------
>>  PL/PgSQL is installed.
>> (1 row)
>>
>> NOTICE:  ProcedureCreate: type histogram2d is not yet defined
>> psql:postgis.sql:18: NOTICE:  ProcedureCreate: type
>> histogram2d is not yet defin
>> ed
>> ERROR:  stat failed on file '$libdir/postgis.dll': No such
>> file or directory
>> psql:postgis.sql:18: ERROR:  stat failed on file
>> '$libdir/postgis.dll': No such
>> file or directory
>> ERROR:  current transaction is aborted, queries ignored until
>> end of transaction
>>  block
>> ...
>>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the postgis-users mailing list