[MacPorts] #50868: _CGLGetCurrentContext not found when building ruby2.3 extensions
MacPorts
noreply at macports.org
Thu May 12 13:06:00 PDT 2016
#50868: _CGLGetCurrentContext not found when building ruby2.3 extensions
----------------------+--------------------------------
Reporter: david@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: ruby |
----------------------+--------------------------------
Changes (by mojca@…):
* cc: mf2k@…, chlangley@…, kimuraw@… (added)
* status: closed => reopened
* resolution: duplicate =>
* port: => ruby
Comment:
I'm reopening this ticket because what was added to #50806 doesn't seem to
be related to gnuplot at all and I have no clue where to look; gnuplot
seems to work for so many others and I also suspect some
`DYLD_LIBRARY_PATH` being set from some random place.
According to Clemens:
> my guess is that this is caused by ruby's build system setting
`DYLD_LIBRARY_PATH`. I've seen the problem when a ruby thingy I tried to
compile was calling `pkg-config`, which crashed because of
`DYLD_LIBRARY_PATH`
> I worked around it at the time by replacing `${prefix}/bin/pkg-config`
with `"unset DYLD_LIBRARY_PATH; exec ./pkg-config.bin "$@""`, but for this
specific instance it's not really clear where that would have to be fixed.
David, please repeat the relevant parts that you wrote to #50806 because
I'll close that other ticket.
--
Ticket URL: <https://trac.macports.org/ticket/50868#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list