From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com> |
Cc: | Ing(dot) Marcos L(dot) Ortíz Valmaseda <mlortiz(at)uci(dot)cu>, pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Problemas compilando pgbench en Red Hat Enterprise Linux 5 para Pg 8.4.1 |
Date: | 2009-09-29 00:40:37 |
Message-ID: | 20090929004037.GL5269@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Emanuel Calvo Franco escribió:
> 2009/9/28 "Ing. Marcos L. Ortíz Valmaseda" <mlortiz(at)uci(dot)cu>:
> > Cuando trato de compilar con gmake el módulo del contrib pgbench, me da el
> > siguiente error con el comando ld:
> > [root(at)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Julio Cesar Rodriguez Dominguez | 2009-09-29 00:45:08 | Re: Comparar por rango de fechas |
Previous Message | William Diaz Pabón | 2009-09-29 00:38:49 | Re: Comparar por rango de fechas |