Primero te recomiendo que agregues a tu sistema estos repositorios http://yum.pgrpms.org/howtoyum.php Luego actualizas la libreria que te dice, en este caso libpq,la cual es una dependencia de PgPool.
Saludos 2011/10/4 Matias Israel Malpica Escobar <matias.malp...@thyssenkrupp.com> > Saludos, estoy atorado con la instalacion del pgpool, he buscad por la > red y no encuentro una solucion, ya busque la libreria libpq y existe en el > directorio lib64 (a donde lo estoy direccionando) alguna sugerencia?? > > [root@10-166-36-16 pgpool-II-3.1]# ./configure --prefix=/usr/bin/pgpoolII > --with-pgsql-libdir=/usr/bin/lib64/ --with-pgsql-includedir=/var/lib/pgsql/ > make makeinstall > configure: WARNING: you should use --build, --host, --target > configure: WARNING: you should use --build, --host, --target > checking for make-gcc... no > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for make-ranlib... no > checking for ranlib... ranlib > checking build system type... Invalid configuration `make': machine `make' > not recognized > configure: error: /bin/sh ./config.sub make failed > [root@10-166-36-16 pgpool-II-3.1]# yum install make > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: mirror.cogentco.com > * extras: mirror.vcu.edu > * rpmforge: apt.sw.be > * updates: mirror.net.cen.ct.gov > Setting up Install Process > Package 1:make-3.81-3.el5.x86_64 already installed and latest version > Nothing to do > [root@10-166-36-16 pgpool-II-3.1]# ./configure --prefix=/usr/bin/pgpoolII > --with-pgsql-libdir=/usr/bin/lib64/ --with-pgsql-includedir=/var/lib/pgsql/ > makeinstall > configure: WARNING: you should use --build, --host, --target > checking for makeinstall-gcc... no > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for makeinstall-ranlib... no > checking for ranlib... ranlib > checking build system type... Invalid configuration `makeinstall': machine > `makeinstall' not recognized > configure: error: /bin/sh ./config.sub makeinstall failed > [root@10-166-36-16 pgpool-II-3.1]# ./configure --prefix=/usr/bin/pgpoolII > --with-pgsql-libdir=/usr/bin/lib64/ --with-pgsql-includedir=/var/lib/pgsql/ > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for ranlib... ranlib > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 98304 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for ar... ar > checking for strip... strip > checking for ranlib... (cached) ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for flex... no > checking for lex... no > checking for bison... no > checking for byacc... no > checking for -Wall option... yes > checking for -Wmissing-prototypes option... yes > checking for -Wmissing-declarations option... yes > checking for main in -lm... yes > checking for main in -lnsl... yes > checking for main in -lsocket... no > checking for main in -lipc... no > checking for main in -lIPC... no > checking for main in -llc... no > checking for main in -lcompat... no > checking for main in -lBSD... no > checking for main in -lgen... no > checking for main in -lPW... no > checking for main in -lresolv... yes > checking for main in -lcrypt... yes > checking for ANSI C header files... (cached) yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for unistd.h... (cached) yes > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking netinet/tcp.h usability... yes > checking netinet/tcp.h presence... yes > checking for netinet/tcp.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking netdb.h usability... yes > checking netdb.h presence... yes > checking for netdb.h... yes > checking sys/param.h usability... yes > checking sys/param.h presence... yes > checking for sys/param.h... yes > checking for sys/types.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/un.h usability... yes > checking sys/un.h presence... yes > checking for sys/un.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/sem.h usability... yes > checking sys/sem.h presence... yes > checking for sys/sem.h... yes > checking sys/shm.h usability... yes > checking sys/shm.h presence... yes > checking for sys/shm.h... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking crypt.h usability... yes > checking crypt.h presence... yes > checking for crypt.h... yes > checking sys/pstat.h usability... no > checking sys/pstat.h presence... no > checking for sys/pstat.h... no > checking for an ANSI C-conforming const... yes > checking for pid_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking whether long int is 64 bits... yes > checking size of unsigned long... 8 > checking size of void *... 8 > checking size of size_t... 8 > checking whether to build with float4 passed by value... yes > checking whether to build with float8 passed by value... yes > checking for struct sockaddr_storage... yes > checking for struct sockaddr_storage.ss_family... yes > checking for struct sockaddr_storage.__ss_family... no > checking for struct sockaddr_storage.ss_len... no > checking for struct sockaddr_storage.__ss_len... no > checking for struct sockaddr.sa_len... no > checking for union semun... no > checking return type of signal handlers... void > checking for vprintf... yes > checking for _doprnt... no > checking for wait3 that fills in rusage... yes > checking types of arguments for accept()... int, int, struct sockaddr *, > socklen_t * > checking for setsid... yes > checking for select... yes > checking for socket... yes > checking for sigprocmask... yes > checking for strdup... yes > checking for strerror... yes > checking for strftime... yes > checking for strtok... yes > checking for asprintf... yes > checking for gai_strerror... yes > checking for hstrerror... yes > checking for pstat... no > checking for setproctitle... no > checking for pg_config... no > checking for PQexecPrepared in -lpq... no > configure: error: libpq is not installed or libpq is old > > ------------------------------ > *De:* Miguel Angel Hernandez Moreno [miguel.hdz....@gmail.com] > *Enviado el:* martes, 04 de octubre de 2011 10:33 a.m. > *Para:* Matias Israel Malpica Escobar > *CC:* pgsql-es-ayuda@postgresql.org > *Asunto:* Re: [pgsql-es-ayuda] Como configurar PGpool solo para un pool de > conexiones... > > Yo te recomiendo > > http://www.postgresql.org.es/node/313 > > En la primera parte viene lo del pooling, pero es algo muy completo > > El 4 de octubre de 2011 09:29, Matias Israel Malpica Escobar < > matias.malp...@thyssenkrupp.com> escribió: > >> Hola estoy en el proceso de configurar pgpool, por el momento solo me >> interesa hacer pruebas con el pool de conexiones, y no tanto con balanceo, >> creacion de nodos etc... He intentado buscar la configuracion para el pool >> pero no he encontrado mucho, alguien me puede ayudar? >> >> Saludos! >> > > > > -- > ISC Miguel Angel Hernandez Moreno > > -- Marcos Luis OrtÃz Valmaseda Linux Infrastructure Engineer Linux User # 418229 http://marcosluis2186.posterous.com http://www.linkedin.com/in/marcosluis2186 Twitter: @marcosluis2186