From: | Chris Ruprecht <chrrup(at)gmail(dot)com> |
---|---|
To: | pgsql-testers(at)postgresql(dot)org |
Subject: | 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |
Date: | 2010-06-09 19:03:26 |
Message-ID: | 324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-testers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Heath | 2010-06-09 20:54:02 | testing 9.0beta2 |
Previous Message | Josh Berkus | 2010-06-09 17:47:12 | Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations? |