Ahora, luego de hacer un make dentro de src/port (el cual fue todo sin problemas) me da este error: [r...@clusterdb3 pgbench]# gmake gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv pgbench.o -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq -L../../src/port -Wl,-rpath,'/usr/local/pgsql/lib' -lpgport -lz -lreadline -ltermcap -lcrypt -ldl -lm -o pgbench /usr/bin/ld: cannot find -lpq collect2: ld devolvió el estado de salida 1 gmake: *** [pgbench] Error 1
Saludos "The hurry is enemy of the success: for that reason.......Be patient" Ing. Marcos L. Ortiz Valmaseda Línea Soporte y Despliegue Centro de Tecnologías de Almacenamiento y Análisis de Datos (CENTALAD) Linux User # 418229 PostgreSQL User http://www.postgresql.org http://www.planetpostgresql.org/ http://www.postgresql-es.org/ ----- Mensaje original ----- De: "Alvaro Herrera" <alvhe...@alvh.no-ip.org> Para: "Emanuel Calvo Franco" <postgres....@gmail.com> CC: "Ing. Marcos L. Ortíz Valmaseda" <mlor...@uci.cu>, pgsql-es-ayuda@postgresql.org Enviados: Lunes, 28 de Septiembre 2009 14:40:37 GMT -10:00 Hawai Asunto: Re: [pgsql-es-ayuda] Problemas compilando pgbench en Red Hat Enterprise Linux 5 para Pg 8.4.1 Emanuel Calvo Franco escribió: > 2009/9/28 "Ing. Marcos L. Ortíz Valmaseda" <mlor...@uci.cu>: > > Cuando trato de compilar con gmake el módulo del contrib pgbench, me da el > > siguiente error con el comando ld: > > [r...@clustern3 pgbench]# gmake > > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith > > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv > > -I../../src/interfaces/libpq -I. -I../../src/include -D_GNU_SOURCE -c -o > > pgbench.o pgbench.c > > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith > > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv > > pgbench.o -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq > > -L../../src/port -Wl,-rpath,'/usr/local/pgsql/lib' -lpgport -lz -lreadline > > -ltermcap -lcrypt -ldl -lm -o pgbench > > /usr/bin/ld: cannot find -lpgport > > collect2: ld devolvió el estado de salida 1 > > gmake: *** [pgbench] Error 1 Necesitas que libpgport.a este compilado. Entra en src/port y haz "make", a ver si mejora. -- Alvaro Herrera http://www.flickr.com/photos/alvherre/ "You're _really_ hosed if the person doing the hiring doesn't understand relational systems: you end up with a whole raft of programmers, none of whom has had a Date with the clue stick." (Andrew Sullivan)