Skip site navigation (1) Skip section navigation (2)

Compiling pgadmin3-1.14.1 on open BSD 5.0

From: Pietro A Bertini <pietroabertini(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Compiling pgadmin3-1.14.1 on open BSD 5.0
Date: 2011-12-22 05:36:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-support
pgadmin3-1.14.1 won't build under the following:

openbsd 5.0

postgresql9.1.2 from source with: ./configure --with-perl --with-openssl
--with-includes=/usr/local/include --with-libraries=/usr/local/lib
 --with-libxml --with-libxslt --enable-nls="fr-es-pt-de"

postgresql is installed in /usr/local/pgsql (/bin /lib /include etc...)

wxWidgets was installed from obsd package. So far nothing wrong with

To compile pgadmin, I used:
./configure --with-pgsql=/usr/local/pgsql

The result is the following:
checking for libpq-fe.h usability... yes
checking for libpq-fe.h presence... yes
checking PostgreSQL in /usr/local/pgsql... failed
configure: error: you must specify a valid PostgreSQL 8.4+ installation

when I do grep "libintl" * in config.log I get:

/usr/bin/ld: warning:, needed by
/usr/local/pgsql/lib/, not
found (try using -rpath or -rpath-link)
/usr/local/pgsql/lib/ undefined reference to
/usr/local/pgsql/lib/ undefined reference to `libintl_dgettext'
/usr/local/pgsql/lib/ undefined reference to `libintl_gettext'

However is in /usr/local/lib, is loaded at boot time, as
showed in

AND in the config.log file for compiling postgresql, I get:

configure:28380: checking for libintl.h
configure:28387: result: yes

My installation of pgsql works fine. I just can't compile pgadmin.
There is an openbsd package for pgadmin, but I would have to install
postgresql from package too, and openbsd places it in some odd place, also
I don't the latest version.

My guess is that I need to tweek my pgsql configure options, I just could't


pgadmin-support by date

Next:From: Ashesh VashiDate: 2011-12-22 05:39:15
Subject: Re: Compiling pgadmin3-1.14.1 on open BSD 5.0
Previous:From: David E. WheelerDate: 2011-12-21 22:08:21
Subject: Re: pgAgent STDERR and Time Zone Questions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group