On 08 Sep 2011, at 22:33, Dominique Dhumieres wrote:

> Failed: phase compiling: gsl-oct324-1.0.8-1 failed on
>
> Package manager version: 0.30.2
> Distribution version: selfupdate-rsync Thu Sep  8 22:26:02 2011,  
> 10.4, powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/ 
> crypto
> Xcode Version: 2.5-1
>
> with
>
> find . -name NOINSTALL -print    # shows which toolboxes won't be  
> installed
>
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _cblas_caxpy
> _cblas_ccopy
> _cblas_cdotc_sub
> _cblas_cdotu_sub
> _cblas_cgemm
> _cblas_cgemv
> ...
> _cblas_ztrmm
> _cblas_ztrmv
> _cblas_ztrsm
> _cblas_ztrsv
> collect2: ld returned 1 exit status
> make: *** [coupling_3j.oct] Error 1
> 'make' returned the following error: /bin/sh buildgsl_sf.sh
> mkoctfile -DHAVE_OCTAVE_32 -v  coupling_3j.cc -lgsl
> /sw/var/lib/fink/path-prefix-g++-4.0/g++ -c -I/sw/include -I/sw/ 
> include -I/sw/include/octave-3.2.4 -I/sw/include/octave-3.2.4/octave  
> -I/sw/include -I/sw/include/freetype2 -I/sw/include -g -O3 -MD - 
> DHAVE_OCTAVE_32 coupling_3j.cc -o coupling_3j.o
> /sw/var/lib/fink/path-prefix-g++-4.0/g++ -bundle -bundle_loader /sw/ 
> bin/octave-3.2.4 -o coupling_3j.oct coupling_3j.o -lgsl -L/sw/lib/ 
> octave-3.2.4 -L/sw/lib -loctinterp -loctave -lcruft -L/sw/lib - 
> lfftw3 -lfftw3f -lreadline -lncurses -lhdf5 -lz -lm -lGraphicsMagick  
> -lmetis /sw/lib/gcc4.6/lib/libgfortran.dylib

I'm puzzled: since you're using octave-atlas, I get there (after  
fixing for parallel make ..) :

mkoctfile -DHAVE_OCTAVE_32 -v  gsl_sf.cc -lgsl
/sw/var/lib/fink/path-prefix-g++-4.0/g++ -bundle -bundle_loader /sw/ 
bin/octave-3.2.4 -o gsl_sf.oct gsl_sf.o -lgsl -L/sw/lib/octave-3.2.4 - 
L/sw/lib -loctinterp -loctave -lcruft -Wl,-dead_strip_dylibs -L/sw/ 
lib /sw/lib/liblapack.dylib /sw/lib/libf77blas.dylib -lfftw3 -lfftw3f - 
lreadline -lncurses -lhdf5 -lz -lm -lGraphicsMagick -lmetis /sw/lib/ 
gcc4.6/lib/libgfortran.dylib

Here /sw/lib/liblapack.dylib is on the link line, and that pulls in  
libcblas, which contains your missing symbols.

I get
# mkoctfile -p BLAS_LIBS
/sw/lib/liblapack.dylib /sw/lib/libf77blas.dylib

Do you get the same ?

JF

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to