9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols
От | Chris Ruprecht |
---|---|
Тема | 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |
Дата | |
Msg-id | 324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com обсуждение исходный текст |
Ответы |
Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails
with duplicate symbols
Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |
Список | 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.oinfo.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
В списке pgsql-testers по дате отправления: