Re: [HACKERS] win32 8.1 pgadmin dll issues

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>, <pgadmin-hackers(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] win32 8.1 pgadmin dll issues
Date: 2005-11-10 16:00:25
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7DF39@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Martijn van Oosterhout
> Sent: 10 November 2005 15:42
> To: Magnus Hagander
> Cc: Merlin Moncure; pgadmin-hackers(at)postgresql(dot)org;
> pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] win32 8.1 pgadmin dll issues
>
> On Thu, Nov 10, 2005 at 04:24:46PM +0100, Magnus Hagander wrote:
> > > My dev box was running 8.1rc1 and I thought it was time to
> > > put 8.1 on it. I downloaded the 8.1 binaries-only dist off
> > > of postgresql.org (bt version), did a binary swap on my
> > > server and nothing ran...it turns out all the binaries like
> > > initdb.exe, postgres.exe have a dll dependency on various
> > > pgAdmin dlls like comerr32.dll and several others. pgAdmin
> > > was not installed on my server so nothing worked. I copied
> > > the .dlls from the pgAdmin folder on my workstation and
> > > postgres starts up.
> >
> > Exactly what DLLs are those?
> > comerr32.dll is a Kerberos DLL and not a pgAdmin DLL..
>
> I wonder if this is an artifact of the "link everything into every
> binary even if we don't use it" procedure. Hence the postmaster can
> depend on readline even though it doesn't use it.
>
> With gcc we're proposing --as-needed to resolve this, but how would
> that work for a windows platform? Can you examine a binary to see what
> it depends on?

Those are the only dependencies, and are all intentional.

Regards, Dave

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2005-11-10 16:10:51 Re: automake
Previous Message Martijn van Oosterhout 2005-11-10 15:41:34 Re: [HACKERS] win32 8.1 pgadmin dll issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-11-10 17:02:58 generic builtin functions
Previous Message Tom Lane 2005-11-10 15:42:41 Re: Comments from a Firebird user via Borland Newsgroups.