Opened 12 years ago

Closed 10 years ago

#34987 closed defect (fixed)

octave: opportunistically links with fltk

Reported by: obed_sands@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: octave

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: octave added
Summary: problems linking with fulltick libraryoctave: opportunistically links with fltk

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

comment:2 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Please do:

sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

Note: See TracTickets for help on using tickets.