[postgis-users] stat failed on file '$libdir/postgis.dll': No such file or directory

Tyler Mitchell TMitchell at lignum.com
Fri Jun 13 08:43:16 PDT 2003


I assume you could also set an environment variable like:
>export libdir=/lib
prior to loading the sql file.


|---------+--------------------------------------------->
|         |           "Obe, Regina     DND\\MIS"        |
|         |           <robe.dnd at ci.boston.ma.us>        |
|         |           Sent by:                          |
|         |           postgis-users-bounces at postgis.refr|
|         |           actions.net                       |
|         |                                             |
|         |                                             |
|         |           06/13/2003 08:33 AM               |
|         |           Please respond to PostGIS Users   |
|         |           Discussion                        |
|         |                                             |
|---------+--------------------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       'PostGIS Users Discussion' <postgis-users at postgis.refractions.net>                                           |
  |       cc:                                                                                                                    |
  |       Fax to:                                                                                                                |
  |       Subject:  RE: [postgis-users] stat failed on file '$libdir/postgis.dll': No        such file or directory              |
  >------------------------------------------------------------------------------------------------------------------------------|




Actually slight correction.  You have to use the unix path I think.

/lib

I think is what you want to replace it with if you have it in the lib
folder.
      -----Original Message-----
      From: Mike Leahy [mailto:mgleahy at fes.uwaterloo.ca]
      Sent: Friday, June 13, 2003 11:26 AM
      To: postgis-users at postgis.refractions.net
      Subject: [postgis-users] stat failed on file '$libdir/postgis.dll':
      No such file or directory

      Hello all,

      I've finally got the Cygwin version of PostgreSQL/PostGIS built ?
      yay!.  I used the DLLIMPORT command in cost.h, and ran "make clean"
      before trying the build a second time (this was the small detail I
      was unaware of all along).  Now I've got another error that occurs
      when I try to run the postgis.sql file after the createlang:

      psql:postgis.sql:249: ERROR: stat failed on file
      '$libdir/postgis.dll': No such file or directory

      Yes, the DLL is in C:\cygwin\lib, but clearly there's something I'm
      missing.  I've got the PGLIB variable set in my environment settings
      (in WinXP)?but that doesn't seem to matter in this case?

      Any suggestions?

      Mike







More information about the postgis-users mailing list