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) -- TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo