From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Chris Ruprecht <chrrup(at)gmail(dot)com> |
Cc: | pgsql-testers(at)postgresql(dot)org |
Subject: | Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |
Date: | 2010-06-15 02:12:29 |
Message-ID: | 201006150212.o5F2CTb08070@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-testers |
Chris Ruprecht wrote:
> 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
Oops. That global variable was not properly defined; not sure why none
of the other compilers caught that bug. Anyway, the attached patch
should fix your problem, and will appear in 9.0 beta3. Thanks for the
report.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ None of us is going to be here forever. +
Attachment | Content-Type | Size |
---|---|---|
/rtmp/diff | text/x-diff | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Ruprecht | 2010-06-15 07:13:13 | Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |
Previous Message | Josh Berkus | 2010-06-14 23:00:56 | Re: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols |