Skip site navigation (1) Skip section navigation (2)

Re: Problemas compilando pgbench en Red Hat Enterprise Linux 5 para Pg 8.4.1

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 (view raw or flat)
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)

In response to

Responses

pgsql-es-ayuda by date

Next:From: Julio Cesar Rodriguez DominguezDate: 2009-09-29 00:45:08
Subject: Re: Comparar por rango de fechas
Previous:From: William Diaz PabónDate: 2009-09-29 00:38:49
Subject: Re: Comparar por rango de fechas

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group