Re: [HACKERS] win32 8.1 pgadmin dll issues

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: 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 15:41:34
Message-ID: 20051110154133.GD19686@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-hackers

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?

Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2005-11-10 16:00:25 Re: [HACKERS] win32 8.1 pgadmin dll issues
Previous Message Magnus Hagander 2005-11-10 15:24:46 Re: [HACKERS] win32 8.1 pgadmin dll issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-11-10 15:42:41 Re: Comments from a Firebird user via Borland Newsgroups.
Previous Message Tom Lane 2005-11-10 15:38:05 Re: pg_proc.h