[MacPorts] #34987: octave: opportunistically links with fltk (was: problems linking with fulltick library)

MacPorts noreply at macports.org
Wed Jun 27 02:17:47 PDT 2012


#34987: octave: opportunistically links with fltk
----------------------------------+-----------------------------------------
 Reporter:  obed_sands@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.1.1                                
 Keywords:                        |        Port:  octave                               
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * port:  => octave


Old description:

> When tryng to build octave I get this:
> :info:build ld: warning: ignoring file /opt/local/lib/libfltk_gl.dylib,
> file was built for unsupported file format which is not the architecture
> being linked (x86_64)
> :info:build ld: warning: ignoring file /opt/local/lib/libfltk.dylib, file
> was built for unsupported file format which is not the architecture being
> linked (x86_64)
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "Fl_Widget::hide()", referenced from:
> :info:build       plot_window::~plot_window() in fltk_backend.o

New description:

 When tryng to build octave I get this:

 {{{
 :info:build ld: warning: ignoring file /opt/local/lib/libfltk_gl.dylib,
 file was built for unsupported file format which is not the architecture
 being linked (x86_64)
 :info:build ld: warning: ignoring file /opt/local/lib/libfltk.dylib, file
 was built for unsupported file format which is not the architecture being
 linked (x86_64)
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "Fl_Widget::hide()", referenced from:
 :info:build       plot_window::~plot_window() in fltk_backend.o
 }}}

--

Comment:

 It looks like octave is finding and using fltk, though the author of the
 octave port did not intend for that to happen. Try deactivating the fltk
 port, then cleaning and installing octave, then reactivating fltk. This
 will ensure that octave will not try to use fltk.

 {{{
 sudo port -f deactivate fltk
 sudo port clean octave
 sudo port install octave
 sudo port activate fltk
 }}}

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


More information about the macports-tickets mailing list