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

Tyler Mitchell TMitchell@lignum.com
Fri Jun 13 16:43:16 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@ci.boston.ma.us>        |
|         |           Sent by:                          |
|         |           postgis-users-bounces@postgis.refr|
|         |           actions.net                       |
|         |                                             |
|         |                                             |
|         |           06/13/2003 08:33 AM               |
|         |           Please respond to PostGIS Users   |
|         |           Discussion                        |
|         |                                             |
|---------+--------------------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       'PostGIS Users Discussion' <postgis-users@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@fes.uwaterloo.ca]
      Sent: Friday, June 13, 2003 11:26 AM
      To: postgis-users@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