Thread: error in makefile for libpq++ examples
Hi, I just downloaded the recent postgres distribution of ver6.5.3. In its makefile for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails to compile the examples with gcc. I think it will be good idea to include information about INCLUDE directories, LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in libpq++ chapter of the programmer's manual. Cheers, Brij
On Thu, 13 Jan 2000 bbravat@hss.hns.com wrote: > I just downloaded the recent postgres distribution of ver6.5.3. In its makefile > for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails > to compile the examples with gcc. > > I think it will be good idea to include information about INCLUDE directories, > LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in > libpq++ chapter of the programmer's manual. Are you sure you have a complete install? -lpq is part of libpq++'s build process, and LD_LIBRARY_PATH is part of the PostgreSQL installation. What version are you using? Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/moor less at Pop4 Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ==========================================================================