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

From: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
To: Ing(dot) Marcos L(dot) Ortí­z Valmaseda <mlortiz(at)uci(dot)cu>
Cc: 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-28 16:21:30
Message-ID: f205bb120909280921x36635ba8mb1179e5ab08dff09@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2009/9/28 "Ing. Marcos L. Ortí­z Valmaseda" <mlortiz(at)uci(dot)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:
> [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
>
> 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

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Manuel Alejandro Estevez Fernandez 2009-09-28 16:23:30 Funcion para dias de diferencia entre fechas
Previous Message Juan Carlos Badillo Goy 2009-09-28 16:16:36 Re: ayuda urgente con postgres + php en Unit HP-UX