2009/9/28 "Ing. Marcos L. Ortíz Valmaseda" <mlor...@uci.cu>: > Datos completos: > S.O: Red Hat Enterprise Linux release 5 (Tikanga) > > Versión de PostgreSQL: 8.4.1 > > Versión de GCC: > gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) > Copyright (C) 2006 Free Software Foundation, Inc. > Esto es software libre; vea el código para las condiciones de copia. NO hay > garantía; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROPÓSITO EN > PARTICULAR > > Version de gmake: > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > Este es software libre; consulte en el código fuente las condiciones de > copia. > NO hay garantía; ni siquiera para MERCANTIBILIDAD o EL CUMPLIMIENTO DE > ALGÚN PROPÓSITO PARTICULAR. > > Este programa fue construido para i686-redhat-linux-gnu > > Versión de ld: > GNU ld version 2.17.50.0.6-2.el5 20061020 > Copyright 2005 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License. This program has absolutely no warranty. > > 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 > > Por lo que estaba mirando, es como si no reconociera la opción de ld > -lpgport. ¿Hay que actualizar ld en este caso o qué puede ser esto? > > Saludos >
Creo que el ./configure es necesario. Lo corristes? -- Emanuel Calvo Franco DBA at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- TIP 5: �Has le�do nuestro extenso FAQ? http://www.postgresql.org/docs/faqs.FAQ.html