Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Created April 19, 2012 08:21
Show Gist options
  • Save staticfloat/2419628 to your computer and use it in GitHub Desktop.
Save staticfloat/2419628 to your computer and use it in GitHub Desktop.
julia buildlog re: suitesparce
mkdir -p SuiteSparse-SYSTEM/lib && \
cd SuiteSparse-SYSTEM/lib && \
cp `find /lib /usr/lib /usr/local/lib /Users/sabae/.homebrew/lib \
-name libamd.a -o -name libbtf.a -o -name libcamd.a -o -name libccolamd.a \
-o -name libcholmod.a -o -name libcolamd.a -o -name libspqr.a -o -name libufconfig.a \
-o -name libcerbla.a -o -name libumfpack.a` . && \
for i in *.a; do ar x $i; done && \
gfortran -shared -Os -w -pipe -march=core2 -msse4.1 -O2 -fPIC *.o -framework vecLib -lLAPACK -framework vecLib -lBLAS -lstdc++ -o libsuitesparse.dylib
find: /lib: No such file or directory
Undefined symbols for architecture x86_64:
"_cholmod_l_metis", referenced from:
int spqr_1colamd<double>(int, double, long, cholmod_sparse_struct*, long**, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1colamd.o
int spqr_1colamd<std::complex<double> >(int, double, long, cholmod_sparse_struct*, long**, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1colamd.o
"tbb::task_scheduler_init::initialize(int, unsigned long)", referenced from:
void spqr_parallel<double>(long, int, spqr_blob<double>*)in spqr_parallel.o
void spqr_parallel<std::complex<double> >(long, int, spqr_blob<std::complex<double> >*)in spqr_parallel.o
"tbb::internal::allocate_root_proxy::allocate(unsigned long)", referenced from:
void spqr_parallel<double>(long, int, spqr_blob<double>*)in spqr_parallel.o
void spqr_parallel<std::complex<double> >(long, int, spqr_blob<std::complex<double> >*)in spqr_parallel.o
"tbb::task_scheduler_init::terminate()", referenced from:
void spqr_parallel<double>(long, int, spqr_blob<double>*)in spqr_parallel.o
void spqr_parallel<std::complex<double> >(long, int, spqr_blob<std::complex<double> >*)in spqr_parallel.o
"tbb::internal::allocate_child_proxy::allocate(unsigned long) const", referenced from:
spqr_zippy<std::complex<double> >::execute()in spqr_parallel.o
spqr_zippy<double>::execute() in spqr_parallel.o
"tbb::task::spawn_and_wait_for_all(tbb::task_list&)", referenced from:
spqr_zippy<std::complex<double> >::execute()in spqr_parallel.o
spqr_zippy<double>::execute() in spqr_parallel.o
"tbb::task::note_affinity(unsigned short)", referenced from:
vtable for spqr_zippy<std::complex<double> >in spqr_parallel.o
vtable for spqr_zippy<double>in spqr_parallel.o
"typeinfo for tbb::task", referenced from:
typeinfo for spqr_zippy<std::complex<double> >in spqr_parallel.o
typeinfo for spqr_zippy<double>in spqr_parallel.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [SuiteSparse-SYSTEM/lib/libsuitesparse.dylib] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment