#46123: gtk2-extra fails missing symbol _roundint --------------------------------+--------------------- Reporter: rene.vanpaassen@… | Owner: anant@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gtk2-extra | --------------------------------+--------------------- Changes (by ryandesign@…): * keywords: _roundint gtk2-extra => * owner: macports-tickets@… => anant@… Old description:
Using gtk2-extra libraries fails with a message from the dynamic loader:
dyld: Symbol not found: _roundint Referenced from: /opt/local/lib/libgtkextra-x11-2.0.1.dylib
The problem can be fixed with by adding the following to the Portfile:
configure.cflags-append -std=gnu89
New description: Using gtk2-extra libraries fails with a message from the dynamic loader: {{{ dyld: Symbol not found: _roundint Referenced from: /opt/local/lib/libgtkextra-x11-2.0.1.dylib }}} The problem can be fixed with by adding the following to the Portfile: {{{ configure.cflags-append -std=gnu89 }}} -- Comment: If you're saying that gtk2-extra installs successfully, but that using its library in another program causes this error, then in addition to fixing the portfile with the above cflags, the port's revision needs to be increased to rebuild it. -- Ticket URL: <https://trac.macports.org/ticket/46123#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X