Re: RV: PgSQL 9.0.4 - undefined reference to optreset/setproctitle

From: Marcos Ortiz <mlortiz(at)uci(dot)cu>
To: Juan Gutiérrez <jgutierrez(at)ecarrier(dot)cl>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: RV: PgSQL 9.0.4 - undefined reference to optreset/setproctitle
Date: 2011-05-11 21:37:32
Message-ID: 4DCB019C.8030504@uci.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El 5/11/2011 5:07 PM, Juan Gutiérrez escribió:
> Estimados, por favor, una ayuda. No logro encontrar documentación respecto
> de estos errores de compilación de PgSql 9.0.4
>
> …
> /libpgport_srv.a -lxml2 -lcrypt -ldl -lm -o postgres
> postmaster/postmaster.o: In function `PostmasterMain':
> postmaster.c:(.text+0x427c): undefined reference to `optreset'
> tcop/postgres.o: In function `process_postgres_switches':
> postgres.c:(.text+0x122b): undefined reference to `optreset'
> utils/misc/ps_status.o: In function `set_ps_display':
> ps_status.c:(.text+0xd6): undefined reference to `setproctitle'
> collect2: ld returned 1 exit status
> make[2]: *** [postgres] Error 1
> make[2]: se sale del directorio
> `/usr/src/postgresql/postgresql-9.0.4/src/backend'
> make[1]: *** [all] Error 2
>
>
>
>>>> El config.log me muestra x86_64-unknown-linux-gnu, en realidad no sé si
>>>>
> esto es normal.
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2069: checking build system type
> configure:2087: result: x86_64-unknown-linux-gnu
> configure:2109: checking host system type
> configure:2124: result: x86_64-unknown-linux-gnu
> configure:2148: checking which template to use
> configure:2247: result: linux
> configure:2354: checking whether to build with 64-bit integer date/time
> support
> ...
>
>
>>>> Mi configuración es:
>>>>
> - Para la compilación es: ./configure --prefix=/usr/pgsql
> --exec-prefix=/usr/pgsql/bin --enable-nls --with-perl --with-libxml
> - Fuentes de PostgreSQL 9.0.4
> - Debian 6.0 Squeeze
> - Kernel 2.6.32-5-amd64
> - Fierro: Intel Xeon Serie 3400
>
>
> Gracias
> Cordialmente
>
> Juan Gutiérrez
>
>
> -
> Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org)
> Para cambiar tu suscripción:
> http://www.postgresql.org/mailpref/pgsql-es-ayuda
>
¿Instalaste todas las dependencias necesarios para compilar con esas
opciones?
Por ejemplo
- perl-5.8-dev
- zlib1-dev
- libreadline5-dev

Si lo quieres compilar con soporte para NLS, debes agregar gettext
Por si acaso, incluye GNU Flex y Bison

saludos

--
Marcos Luís Ortíz Valmaseda
Software Engineer
University of Information Sciences

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Moises Alberto Lindo Gutarra 2011-05-11 21:42:00 Re: Drupal + PostgreSQL + 9.0 - 8.4
Previous Message Héctor Alonso Lozada Echezuría 2011-05-11 21:37:15 Drupal + PostgreSQL + 9.0 - 8.4