[postgis-users] Restore data from Mac to Windows fails

TECHER David davidtecher at yahoo.fr
Thu Oct 12 03:57:54 PDT 2006


Barend Köbben a écrit :

>Thanks Markus & David,
>
>Markus' explanation made me understand the problem, and David's 'trick' of
>just adding the .dll under a false name to the Win lib directory worked and
>is a quick and easy solution.
>
>  
>
A Trick!...Great!

>It seems to me that the PG people could have made their backup/restore must
>more platform independent by adding this trick to their system (just having
>the restore look for .so versions if they cannot find the .dll version and
>the other way around... Or is it something that only comes up with PostGIS,
>in that case postGIS could just install both versions on any platform?
>
>
>__ 
>Barend Köbben
>International Institute for Geo-information
>Sciences and Earth Observation (ITC)
>PO Box 6, 7500AA Enschede (The Netherlands)
>ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
>
>
>
>On 11-10-2006 15:00, "TECHER David" <davidtecher at yahoo.fr> wrote:
>
>  
>
>>Hi Barrend
>>
>>When I do a backup from Windows to my laptop on Linux, I'm used to do on
>>my laptop before "backuping"
>>
>>cp /usr/local/pgsql/lib/liblwgeom.1.1.so /usr/local/pgsql/lib/liblwgeom.dll
>>
>>and it works :-)
>>
>>So from Mac to Windows
>>
>>on windows, i think you need to copy liblwgeom.dll to liblwgeom.1.1.so
>>
>>copy c:\PostgreSQL\...\liblwgeom.dll C:\liblwgeom.1.1.so
>>
>>But I don't know if it works!
>>    
>>
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>  
>


-- 
--david;
http://www.davidgis.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061012/c88e0c4c/attachment.html>


More information about the postgis-users mailing list