c++ - Problem linking my code with ARPACK on OSX (using MacPorts for ARPACK) -
i trying compile c++ program invokes arpack library.
my problem when linked, of symbols in arpack library not resolved. are
__gfortran_transfer_integer __gfortran_transfer_character __gfortran_transfer_complex __gfortran_compare_string __gfortran_st_write_done __gfortran_st_write __gfortran_transfer_real __gfortran_transfer_array i did brute force search on lib directory, , found no library provided of these symbols. couple of them provided libf77blas, , looks g95 has similar symbols (with gfortran replaced g95), @ complete loss else might need install. compiling code with
g++-mp-4.5 -o3 -wall -wl,-search_paths_first -headerpad_max_install_names my.o -o my.out -l/opt/local/lib -larpack -lm -l/opt/local/lib -lgsl -lgslcblas -lm -lf77blas -llapack -larpack -lqblas -lsquack
and /opt/local/lib has libraries reference.
has run problem, or can point solution?
add linker -lgfortran .................
Comments
Post a Comment