Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267273

Summary: glpk-4.37 needs to export additional symbols for octave
Product: Gentoo/Alt Reporter: Maximilian Nickel <max>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 267282    
Attachments: Patch to adjust Makefile.am to export the needed symbols

Description Maximilian Nickel 2009-04-23 22:02:00 UTC
In order for octave to compile on OS X, glpk needs to export the symbols __glp_lib_fault_hook
__glp_lib_print_hook
else linking octave against glpk will fail.

This is also true for higher versions of octave then the version currently in portage (3.0.3), up to the current one (3.0.5). So the attached patch should be applied.

Discussion is here: http://www.nabble.com/octave-3.0.3-build-problem-due-to-glpk-td19945239.html?ref=darwinports.com
Comment 1 Maximilian Nickel 2009-04-23 22:05:12 UTC
Created attachment 189262 [details, diff]
Patch to adjust Makefile.am to export the needed symbols
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-28 15:03:08 UTC
added to 4.37, hope it doesn't break non osx users. thx.