Thread: Cannot install adminpack

Cannot install adminpack

From
"Vince Ieraci"
Date:
Version 1.8.0 RC1 (Oct 14 2007, rev: 6722:6725)
PgAdmin installed from source with ./configure, make, make
install
OS: Debian etch
WxWidgets ver:2.8 installed with aptitude
Pg ver 8.2.5 installed from source

Followed the directions to make and install, the when
running the script:

ERROR:  incompatible library
"/usr/local/pgsql/lib/admin81.so": missing magic block
HINT:  Extension libraries are required to use the
PG_MODULE_MAGIC macro.

********** Error **********

ERROR: incompatible library
"/usr/local/pgsql/lib/admin81.so": missing magic block
SQL state: XX000
Hint: Extension libraries are required to use the
PG_MODULE_MAGIC macro.


Re: Cannot install adminpack

From
Devrim GÜNDÜZ
Date:
Hi,

On Mon, 2007-10-15 at 09:47 +1030, Vince Ieraci wrote:
> Pg ver 8.2.5 installed from source
>
> Followed the directions to make and install, the when
> running the script:
>
> ERROR:  incompatible library
> "/usr/local/pgsql/lib/admin81.so": missing magic block

adminpacks is a part of PostgreSQL contrib tree -- so cd
contrib/adminpacks of PostgreSQL 8.2.5 and run make install there.
--
Devrim GÜNDÜZ
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/



Re: Cannot install adminpack

From
"Milen A. Radev"
Date:
Vince Ieraci написа:
> Version 1.8.0 RC1 (Oct 14 2007, rev: 6722:6725)
> PgAdmin installed from source with ./configure, make, make
> install
> OS: Debian etch
> WxWidgets ver:2.8 installed with aptitude
> Pg ver 8.2.5 installed from source


8.2 is the first version of Postgres that has the adminpack included as
a contrib module. Go to the "contrib/adminpack" (IIRC) subdirectory of
the source tree and read the README file for more installation instructions.

> 
> Followed the directions to make and install, the when
> running the script:
> 
> ERROR:  incompatible library
> "/usr/local/pgsql/lib/admin81.so": missing magic block
> HINT:  Extension libraries are required to use the
> PG_MODULE_MAGIC macro.
> 
> ********** Error **********
> 
> ERROR: incompatible library
> "/usr/local/pgsql/lib/admin81.so": missing magic block
> SQL state: XX000
> Hint: Extension libraries are required to use the
> PG_MODULE_MAGIC macro.
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
> 



-- 
Milen A. Radev