[MacPorts] #64631: grads @2.2.1: dlopen failed to get a handle on gxprint plug-in named "Cairo"
MacPorts
noreply at macports.org
Thu Feb 10 02:02:58 UTC 2022
#64631: grads @2.2.1: dlopen failed to get a handle on gxprint plug-in named
"Cairo"
---------------------+----------------------------
Reporter: korria | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: arm64 monterey
Port: grads |
---------------------+----------------------------
Comment (by ryandesign):
Replying to [ticket:64631 korria]:
> {{{
> dlopen(/opt/local/lib/grads/libgxpCairo.dylib, 0x0001): symbol not
found in flat namespace '_gxdXflush'
> }}}
I also tried on macOS Catalina, where I do not see this problem.
This is reminding me of #64448. In that case, "symbol not found in flat
namespace" was happening when running cscope only on macOS Monterey, and
only because the Portfile was running `strip` on the cscope executable
after it was built. We fixed the problem by no longer running `strip`.
In the case of grads I'm not sure whether the use of `strip` is involved.
I see in my grads build log:
{{{
checking for strip... strip
}}}
{{{
checking whether stripping libraries is possible... yes
}}}
however I don't see whether any stripping is actually happening. (This may
just be something all configure scripts check for.) If you can determine
if stripping is happening, and if you can prevent it, maybe that will have
an effect on this problem.
Replying to [comment:3 ryandesign]:
> the X11 window was completely black
But I do see this same black window on macOS Catalina (with or without `-h
GD`). Maybe that's what it's supposed to do; I don't know this software.
--
Ticket URL: <https://trac.macports.org/ticket/64631#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list