"Bruce Momjian" <pgman@candle.pha.pa.us>
wrote:[EMAIL PROTECTED]
> William ZHANG wrote:
> > Make sure the lib directory is in the PATH.
> > I tested it in MinGW.
> >
> > $ ecpg main.pgc
> > $ gcc main.c -I../include -L../lib -lecpg
> > $ export PATH=$PATH:"/c/Program Files/PostgreSQL/8.0/lib"
> > $ ./a.exe
> > [1772]: ECPGdebug: set to 1
>
>
> Ah, interesting.  Why would it crash if the lib directory is not in the
> path?  Because it can't load the library?

Maybe I misunderstood the word 'crash'. If I forgot to put the  lib
directory,
it will make Windows popup a GUI warning window.

joshua masiko: Can you give more information?



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to