Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267273 - glpk-4.37 needs to export additional symbols for octave
Summary: glpk-4.37 needs to export additional symbols for octave
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 267282
  Show dependency tree
 
Reported: 2009-04-23 22:02 UTC by Maximilian Nickel
Modified: 2009-04-28 15:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to adjust Makefile.am to export the needed symbols (glpk-4.37-r1.diff,941 bytes, patch)
2009-04-23 22:05 UTC, Maximilian Nickel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.