Sorry - cut & pasted from the wrong terminal. The actual failing command is
this:

gcc-4.2 -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-bundle -multiply_defined suppress  plpython.o -bundle_loader
../../../src/backend/postgres  -L../../../src/port
-L/sw/lib/system-openssl/lib -L/sw/lib -L/sw/lib -L/sw/lib -L/sw/lib
-framework Python  -o plpython.so

(the other was me trying and faiing to fix by adding LDFLAGS pointing to
fink python)

Toby

On Wed, Jun 2, 2010 at 4:38 PM, Toby White <t...@timetric.com> wrote:

> 8.3 compiles fine. However, both 8.4 & 9.0 fail at the following point:
>
> [...]
> gcc-4.2 -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
> -bundle -multiply_defined suppress  plpython.o -bundle_loader
> ../../../src/backend/postgres  -L../../../src/port
> -L/sw/lib/system-openssl/lib -L/sw/lib/python2.6/config -L/sw/lib -L/sw/lib
> -L/sw/lib -L/sw/lib -framework Python  -o plpython.so
> ld: warning: in /Library/Frameworks//Python.framework/Python, file was
> built for i386 which is not the architecture being linked (x86_64)
> Undefined symbols:
> [...]
>
> because they are trying to link against system python (which is apparently
> compiled for i386) - not against fink python (which is compiled according to
> fink's instructions).
>
> Any pointers on how to fix this?
>
> Toby
>



-- 
http://timetric.com
2nd Floor, White Bear Yard, 144a Clerkenwell Road, London EC1R 5DF
twitter: @timetric, @tow21 | skype: tobyohwhite
------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to