gsl-devel build message "file is not of required architecture"

Owen Solberg solberg at speakeasy.net
Mon Jul 14 08:21:44 PDT 2008


Hi,

I am trying to build a python project... everything works great when I 
build it in Linux.

On Mac OS X 10.5 leopard, with gsl-devel installed using MacPorts, I get 
this error message when I try my usual "python setup.py build":

ld: warning in /opt/local/lib/libgsl.dylib, file is not of required
  architecture
ld: warning in /opt/local/lib/libgslcblas.dylib, file is not of required
  architecture
ld: duplicate symbol _tausval in 
build/temp.macosx-10.5-i386-2.5/gthwe/cal_const.o and 
build/temp.macosx-10.5-i386-2.5/gthwe/hwe.o
  for architecture ppc
collect2: ld returned 1 exit status
ld: duplicate symbol _tausval in 
build/temp.macosx-10.5-i386-2.5/gthwe/cal_const.o and 
build/temp.macosx-10.5-i386-2.5/gthwe/hwe.o
  for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: 
/var/folders/8q/8qj8SPxgEl0atLYm3bc+Ik+++TI/-Tmp-//ccj2MUrN.out (No such 
file or directory)
error: command 'gcc' failed with exit status 1


Any idea what's going on here?  Something about PPC / i386 / universal 
builds?


More information about the macports-users mailing list