[MacPorts] #25186: arpack-1 Configure error - build failure

MacPorts noreply at macports.org
Wed Jun 9 00:08:04 PDT 2010


#25186: arpack-1 Configure error - build failure
------------------------------------+---------------------------------------
 Reporter:  laurence@…              |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.0                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------

Comment(by laurence@…):

 The error is reported as:

 {{{ shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_arpack/work/ARPACK
 &&  /usr/bin/ld -arch x86_64 -dynamic -dylib -single_module -dead_strip
 -x -all_load -L. -L/opt/local/lib/gcc44/x86_64 -L/opt/local/lib/gcc44
 -L/opt/local/lib  -dylib_install_name /opt/local/lib/libarpack.1.dylib
 -current_version 1  -compatibility_version 1  libarpack.a -o
 libarpack.1.dylib -latlas -llapack -lgfortran -lSystem" returned error
 1}}}

 I have found that this error can be fixed by adding {{{-framework
 vecLib}}} to the end of the linking command.

 This changes the linking command from:

 {{{/usr/bin/ld -arch x86_64 -dynamic -dylib -single_module -dead_strip  -x
 -all_load -L. -L/opt/local/lib/gcc44/x86_64 -L/opt/local/lib/gcc44
 -L/opt/local/lib  -dylib_install_name /opt/local/lib/libarpack.1.dylib
 -current_version 1  -compatibility_version 1  libarpack.a -o
 libarpack.1.dylib -latlas -llapack -lgfortran -lSystem}}}

 to

 {{{/usr/bin/ld -arch x86_64 -dynamic -dylib -single_module -dead_strip  -x
 -all_load -L. -L/opt/local/lib/gcc44/x86_64 -L/opt/local/lib/gcc44
 -L/opt/local/lib  -dylib_install_name /opt/local/lib/libarpack.1.dylib
 -current_version 1  -compatibility_version 1  libarpack.a -o
 libarpack.1.dylib -latlas -llapack -lgfortran -lSystem -framework vecLib
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/25186#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list