[Dbbalancer-users] Re: DBBalancer
Status: Alpha
Brought to you by:
xperience
From: Daniel V. S. <dv...@ar...> - 2003-03-25 19:51:55
|
Hello Frank. Postgres libraries are not mandatory to build DBBalancer, since DBBalancer uses the Postgres protocol at a low level (with the danger of being outdated by protocol changes, of course...), and handles it by itself. This is so because only a very small part of the protocol needs to be used, actually opening and closing of the connections, only. So, what is stopping "configure" is the lack of libACE, not the lack of libpq or libpq++, which will only prevent the building of a couple of test programs. Anyway, a "--with-pq=/usr/local/pgsql" should help with the libpq error.... I would like to hear about the outcome of any study or test you do with DBBalancer, since I could use that to improve it. Regards Daniel. PS: Yes, compiling ACE takes a LOOOOOONG time, specially with gcc3. But it is a very nice C++ library and it helped a lot in the development of DBBalancer... Maybe you can be a binary. I think that there are ".deb"s and maybe you can extract the binaries from there, even for your RedHat (tip: use "ar x ...") On Martes, 25 de Marzo de 2003 14:31, you wrote: > Hello. > > We have a subject at school to load balance 2 PostgreSQL servers. We have > choosen your program to use for load balance. We have only 2 problems. If > we run ./configure in dir /DBBalance then the following error occurerd. .... > checking for select... no > checking for socket... yes > checking for main in -lpq... no > libpq.so wasn't found. If it's installed in your system please use > --with-pq parameter to specify the base directory of the installation. > checking for main in -lpq++... no > libpq++.so wasn't found. If it's installed in your system please use > --with-pq++ parameter to specify the base directory of the installation. > checking for libACE... no > libACE.so wasn't found. If it's installed in your system please use > --with-ACE parameter to specify the base directory of the installation. > > The ./configure tool cannot find the files libpq.so and libpq++.so. The > libpq.so is installed in the dir /usr/local/pgsql/lib. How can we fix this > problem? I can install the ACE library, at this moment this library is not > installed because we want that the ./configure tool find first the > libpq.so. To compile ACE it's take al long time and we work on a slow > machine. Linux Redhat 8.0 is just reinstalled. PostgreSQL is just installed > from a source from www.postgresql.org. It's just all "fresh". > > Please can you help me?? > > Kind regards > > Frank Boelens > Hanzehooge school > The Netherlands. -- ----------------------------------------------------- Regards from Spain^H^H^H^H^H England. Daniel Varela ----------------------------------------------------- If you think education is expensive, try ignorance. -Derek Bok (Former Harvard President) |