[MacPorts] #44704: octave:Undefined symbols for architecture x86_64: "_gl2psDisable"
#44704: octave:Undefined symbols for architecture x86_64: "_gl2psDisable" ---------------------+------------------------- Reporter: mojca@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: octave ---------------------+------------------------- Upgrading octave on Lion fails for me with: {{{ :info:build clang: warning: argument unused during compilation: '-pthread' :info:build clang: warning: argument unused during compilation: '-pthread' :info:build Undefined symbols for architecture x86_64: :info:build "_gl2psDisable", referenced from: :info:build glps_renderer::set_polygon_offset(bool, double) in dldfcn___init_fltk___la-__init_fltk__.o :info:build glps_renderer::set_linestyle(std::string const&, bool) in dldfcn___init_fltk___la-__init_fltk__.o :info:build "_gl2psEnable", referenced from: :info:build glps_renderer::set_polygon_offset(bool, double) in dldfcn___init_fltk___la-__init_fltk__.o :info:build glps_renderer::set_linestyle(std::string const&, bool) in dldfcn___init_fltk___la-__init_fltk__.o :info:build "_gl2psLineWidth", referenced from: :info:build glps_renderer::set_linewidth(float) in dldfcn___init_fltk___la-__init_fltk__.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[3]: *** [dldfcn/__init_fltk__.la] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build libtool: link: warning: `/opt/local/lib/gcc48/gcc/x86_64 -apple-darwin11/4.8.3/../../../libgfortran.la' seems to be moved }}} The workaround was to {{{ cd $(port work octave) cd octave-3.8.1/libinterp }}} and then manually add `-lgl2ps` at the end of: {{{ sudo /bin/sh ../libtool --tag=CXX --mode=link /usr/bin/clang++ -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -Os -arch x86_64 -stdlib=libstdc++ -D_THREAD_SAFE -pthread -avoid-version -module -no-undefined -o dldfcn/__init_fltk__.la -rpath /opt/local/lib/octave/3.8.1 dldfcn /dldfcn___init_fltk___la-__init_fltk__.lo liboctinterp.la ../liboctave/liboctave.la -L/opt/local/lib -Wl,-headerpad_max_install_names -lfltk_gl -framework AGL -framework OpenGL -framework ApplicationServices -lfltk -lpthread -framework Cocoa -L/opt/local/lib -lfreetype -L/opt/local/lib -lfontconfig -lfreetype -Wl,-framework -Wl,OpenGL -lm -lgl2ps }}} I've seen the problem mentioned in comment:19:ticket:41155, but no explicit resolution of it. -- Ticket URL: <https://trac.macports.org/ticket/44704> MacPorts <http://www.macports.org/> Ports system for OS X
#44704: octave:Undefined symbols for architecture x86_64: "_gl2psDisable" ----------------------+------------------------- Reporter: mojca@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by michaelld@…): What is your MacPorts command -- "sudo port install octave +fltk"? -- Ticket URL: <https://trac.macports.org/ticket/44704#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44704: octave:Undefined symbols for architecture x86_64: "_gl2psDisable" ----------------------+------------------------- Reporter: mojca@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave | ----------------------+------------------------- Comment (by michaelld@…): I don't see this with the above command when using Octave 3.8.2 on OSX 10.8. Maybe this is Octave / OSX / Xcode specific? -- Ticket URL: <https://trac.macports.org/ticket/44704#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts