Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceC4e-0005LP-6d for pgsql-admin@arkaria.postgresql.org; Thu, 16 Feb 2017 02:45:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ceC4d-0000Qa-Pj for pgsql-admin@arkaria.postgresql.org; Thu, 16 Feb 2017 02:45:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ceC4d-0000OY-2v for pgsql-admin@postgresql.org; Thu, 16 Feb 2017 02:45:35 +0000 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ceC4b-0005Uj-0g for pgsql-admin@postgresql.org; Thu, 16 Feb 2017 02:45:33 +0000 Received: by mail-qt0-x235.google.com with SMTP id w20so3963327qtb.1 for ; Wed, 15 Feb 2017 18:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=Dt4X0L8fXGd872Kwa6IL8gopAodGFz6xReuTjgw1bvI=; b=lI8seioRSLmFkjGi1eZddWJXiXOcGhV42y6dcnhDIWfMQdAbo2m2JosGGsvIZztNT+ wKyhr3QV7DmLTs/VA0byzm2l00ySlYpC3+l/vXqTH6SLorqA/ahIaOoi4wrYaaB/gnBr ZANR34jGDT/KCGoJOaIkjOhkfjQggRDQwaBpVX9jK29kILPeLnq5wf5zHBSIBVlGmkmo AGOHSkT9PVO3P5NujgmY3kph+DSpuCch1PUaUWeB1i73zyS0zyK5c7ZSDQC3FTZZmeI3 C15UBKDKLHwLB1/Pa9tyYGy64lLyBo0RtgziYqOlqbPPE+S0y+LanbFLhFrUHvM9m1bD SlKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=Dt4X0L8fXGd872Kwa6IL8gopAodGFz6xReuTjgw1bvI=; b=O/1QzAk4c+GqUNO4jM1vZxgtBhuji7qoygqsSNbjcjXHU/I7NMCluTId+NDAiyWxVT 0qBZ+S+3nbiqa6pYwwRYwpHuDZRKHdsQD0KIsP55QhrfDNah5gVwx+ltp6zFEB9s9qmF EFaAMAHAzYuIaHIeF+rN7CErJcNVi+dMPonSa6gQeHQXONBI0FNayHkA65DnBS5ZpuzA nYyZIm3t2NuGGsrb8LzBERKOtwt8X/4wzf1y6/KEhoAK73pdOXDIX1T1YsXGzG55SA2M aworhsqzb9PV1hCACRT85ad5Z6ZgcfyWmKa7KEG0m9/8mRrZVoK3a4gDyWwpdM+259tb eqxQ== X-Gm-Message-State: AMke39knOC4TW6GMXU1mWb3G0sAEwatpWBfiFa1pWosI+R6QFHrJByplaMd1kmLnsNiBpw== X-Received: by 10.237.53.2 with SMTP id a2mr36139829qte.97.1487213132086; Wed, 15 Feb 2017 18:45:32 -0800 (PST) Received: from [192.168.0.173] (pool-72-86-37-139.clppva.fios.verizon.net. [72.86.37.139]) by smtp.gmail.com with ESMTPSA id q5sm3545062qtb.60.2017.02.15.18.45.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 18:45:31 -0800 (PST) From: John Kelly Content-Type: multipart/alternative; boundary="Apple-Mail=_F1553F2A-5682-41AB-A828-3B481880E264" Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: pg_dump: [archiver (db)] query failed: ERROR: could not access file "$libdir/postgis-2.1": No such file or directory Message-Id: <51A6AFCA-D818-4574-ADD5-5F1DFFF39EAA@gmail.com> Date: Wed, 15 Feb 2017 21:45:29 -0500 To: pgsql-admin@postgresql.org X-Mailer: Apple Mail (2.3259) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --Apple-Mail=_F1553F2A-5682-41AB-A828-3B481880E264 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I am having a problem with a solaris 10 postgresql 9.3 postgis 2.1.3 = system. The origin system crashed and all SW was lost. They moved the = database files residing on a san to another solaris system 10 that had = postgresql installed but no postgis. I don=E2=80=99t have permissions to = install postgis nor do they have all the utilities necessary to build = it. I tried to do a pg_dump so that I can create the database on a intel = platform where I have permissions. When I do pg_dump it terminates with=20= pg_dump: [archiver (db)] query failed: ERROR: could not access file = "$libdir/postgis-2.1": No such file or directory pg_dump: [archiver (db)] query was: SELECT a.attnum, a.attname, = a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, = a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, = pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, = array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN = a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS = attcollation, pg_catalog.array_to_string(ARRAY(SELECT = pg_catalog.quote_ident(option_name) || ' ' || = pg_catalog.quote_literal(option_value) FROM = pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions FROM pg_catalog.pg_attribute a LEFT JOIN = pg_catalog.pg_type t ON a.atttypid =3D t.oid WHERE a.attrelid =3D = '6129600'::pg_catalog.oid AND a.attnum > 0::pg_catalog.int2 ORDER BY = a.attrelid, a.attnum =20 all the object for postgis are in public but postgres doesn=E2=80=99t = show the extension being installed. How can I get around this problem = so I dump this database? Thanks --Apple-Mail=_F1553F2A-5682-41AB-A828-3B481880E264 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I am having a problem with a solaris 10 postgresql 9.3 = postgis 2.1.3 system.  The origin system crashed and all SW was = lost. They moved the database files residing on a san to another solaris = system 10  that had postgresql installed but no postgis. I don=E2=80=99= t have permissions to install postgis nor do they have all the utilities = necessary to build it.

I tried to do a pg_dump so that I can create the database on = a intel platform where I have permissions.  When I do pg_dump it = terminates with 

pg_dump: [archiver (db)] query failed: ERROR:  could not = access file "$libdir/postgis-2.1": No such file or directory
pg_dump: [archiver (db)] = query was: SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, = a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, = a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', = ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN = a.attcollation ELSE 0 END AS attcollation, = pg_catalog.array_to_string(ARRAY(SELECT = pg_catalog.quote_ident(option_name) || ' ' || = pg_catalog.quote_literal(option_value) FROM = pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY = option_name), E',
    ') AS attfdwoptions FROM = pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid =3D= t.oid WHERE a.attrelid =3D '6129600'::pg_catalog.oid AND a.attnum > = 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum
 

all the object for postgis are in public but postgres = doesn=E2=80=99t show the extension being installed.  How can I get = around this problem so I dump this database?
Thanks


= --Apple-Mail=_F1553F2A-5682-41AB-A828-3B481880E264--