From: Jack H. <ho...@br...> - 2013-02-18 14:26:43
|
On x86_64 fink 10.6, the new python26-2.6.8-2 build fails with the error... ld: in /usr/lib/libncurses.5.dylib, missing required architecture x86_64 in file for architecture x86_64 collect2: ld returned 1 exit status The problem is that compile line... gcc -bundle libpython2.6.dylib build/temp.macosx-10.6-x86_64-2.6/sw/src/fink.build/python26-2.6.8-2/Python-2.6.8/Modules/readline.o -lreadline -lncursesw -o build/lib.macosx-10.6-x86_64-2.6/readline.so -I. -IInclude -I./Include -I/sw/include -L/sw/lib/system-openssl/lib -L/sw/lib -L/sw/lib/system-openssl/lib -L/sw/lib -L/sw/lib/system-openssl/lib -L/sw/lib -L/usr/lib/termcap which is placing -lreadline --lncursesw before any of the instance of -L/sw/lib. |