[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libpq
From: |
Michel Boaventura |
Subject: |
libpq |
Date: |
Sat, 10 Apr 2010 06:48:06 +0000 |
Hello,
I'm now having a problem with libpq while cross-compiling pspp. I
don't have libpq, but unless I pass --without-libpq, I'm getting a lot
of errors like:
src/.libs/libpspp-core.a(src_data_libdata_la-psql-reader.o):psql-reader.c:(.text+0x1c4):
undefined reference to `_PQclear'
src/.libs/libpspp-core.a(src_data_libdata_la-psql-reader.o):psql-reader.c:(.text+0x1ed):
undefined reference to `_PQexec'
src/.libs/libpspp-core.a(src_data_libdata_la-psql-reader.o):psql-reader.c:(.text+0x201):
undefined reference to `_PQresultStatus'
src/.libs/libpspp-core.a(src_data_libdata_la-psql-reader.o):psql-reader.c:(.text+0x214):
undefined reference to `_PQntuples'
I understand just a little about autoconf, but seems like it is
searching from pg_config on my linux, not on my mingw environment.
I can see on config.log (it is attached on this message) that
configure fails to link against libpq, find my '/usr/bin/pg_config',
and thinks that I have
libpq.
I guess this is a bug that only shows itself if you are
cross-compiling and have postgresql installed on your host.
Michel
config.log.bz2
Description: BZip2 compressed data
- libpq,
Michel Boaventura <=