pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Ruprecht <chrrup@gmail.com>
To: pgsql-testers@postgresql.org
Subject: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols
Date: Wed, 9 Jun 2010 15:03:26 -0400
Message-ID: <324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com> (raw)

I'm building the contrib modules and get this:

gcc -no-cpp-precomp -O3 -fno-common -arch x86_64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv check.o controldata.o dump.o exec.o file.o function.o info.o option.o page.o pg_upgrade.o relfilenode.o server.o tablespace.o util.o version.o version_old_8_3.o  -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq -L../../src/port -O3 -fno-common -arch x86_64  -Wl,-dead_strip_dylibs  -lpgport -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm  -o pg_upgrade
ld: duplicate symbol _scandir_file_pattern in controldata.o and check.o

My configure script looks like:

export MACOSX_DEPLOYMENT_TARGET=10.6
export CC=gcc
export CPP="gcc -E"
export CXX=g++
export CXXFLAGS='-O3 -fno-common -arch x86_64'
export CFLAGS='-O3 -fno-common -arch x86_64'
export LDFLAGS='-O3 -fno-common -arch x86_64'

./configure  \
  --prefix=/usr \
  --enable-integer-datetimes \
  --with-tcl              \
  --with-perl             \
  --with-python           \
  --with-gssapi           \
  --with-krb5             \
  --with-pam              \
  --with-ldap             \
  --with-bonjour          \
  --with-openssl       \
  --with-zlib

make of the normal sources worked.
But
cd contrib
make
resulted in the error above.


best regards,
chris
-- 
chris ruprecht
specialist in obscure details




view thread (4+ messages)  latest in thread

Message-ID: <324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com>
Permalink:  ../324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com/
Also on:    postgresql.org/message-id/324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: chrrup@gmail.com
  Subject: Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols
  In-Reply-To: <324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com>
  References: <324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox