[postgis-users] Correct dump and restore

strk at refractions.net strk at refractions.net
Mon Nov 13 00:07:03 PST 2006


On Mon, Nov 13, 2006 at 07:59:14AM +0100, Stefan Schwarzer wrote:
> Thanks for the suggestions.
> 
> The pg_dump works.
> 
> For the _restore I had to download the latest source package. But  
> because I don't do any compilations/makes I just accessed the files  
> in the download directory.

Did it work finally ?

> So if I run the below mentioned postgis_restore.pl command I get the  
> following error:
> 
> dyld: Library not loaded: /usr/local/pgsql/lib/libpq.3.dylib
>   Referenced from: /usr/local/bin/pg_restore
>   Reason: image not found

If explicit pg_restore worked and postgis_restore.pl doesn't I presume
is because postgis_restore.pl invokes the pg_restore found in path,
which is NOT the same you were manually invoked ?
--strk;



More information about the postgis-users mailing list