pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cannot compile libpq for Win 32 Environment
2+ messages / 2 participants
[nested] [flat]

* Cannot compile libpq for Win 32 Environment
@ 2004-02-09 17:57  Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Daniel Gerardo Lucero Baylon @ 2004-02-09 17:57 UTC (permalink / raw)
  To: pgsql-interfaces

I'm using Postgresql 7.3.4 on Red Hat Linux 9, everything works fine.

I'm trying to compile Postgre client for Win 32 plattform using VC++ 7 compiler
running following command under src directory:

nmake /f win32.mak ALL

When make is executed, following error occurs:

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        link.exe @D:\Temp\nm3D.tmp
LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
NMAKE : fatal error U1077: 'link.exe' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"P:\Program
Files\Microsoft.NET\SDK\v1.1\Bin\nmake.e
xe"' : return code '0x2'
Stop.

I don't know if some libraries are missing, but I don't know what files are
missed.

I appreciate some help.

Best Regards.

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Cannot compile libpq for Win 32 Environment
@ 2004-02-12 19:35  Jeroen T. Vermeulen <jtv@xs4all.nl>
  parent: Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeroen T. Vermeulen @ 2004-02-12 19:35 UTC (permalink / raw)
  To: Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>; +Cc: pgsql-interfaces

On Mon, Feb 09, 2004 at 09:57:37AM -0800, Daniel Gerardo Lucero Baylon wrote:
> 
>         link.exe @D:\Temp\nm3D.tmp
> LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
> NMAKE : fatal error U1077: 'link.exe' : return code '0x49d'
> Stop.

If you're using libpq, you really shouldn't need the odbc library.

 
> I don't know if some libraries are missing, but I don't know what files are
> missed.

Well, obviously it can't find odbc32.lib.  But that probably doesn't
matter!  Just edit your project's link options and take this name out
of the list of libraries.  Then try again.


Jeroen




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-02-12 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-09 17:57 Cannot compile libpq for Win 32 Environment Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>
2004-02-12 19:35 ` Jeroen T. Vermeulen <jtv@xs4all.nl>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox