[MacPorts] #17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: | Port: ---------------------------------+------------------------------------------ Hello folks, I'm trying to update kmymoney Portfile to use the latest version (0.9.2) but it's failing with the following error message: {{{ dyld: lazy symbol binding failed: Symbol not found: __ZN11MyMoneyFileC1Ev Referenced from: /opt/local/var/macports/build/_Users_dorneles_ports_kde_kmymoney/work/kmymoney2-0.9.2/kmymoney2/widgets/.libs/libkmymoney.0.0.0.dylib Expected in: flat namespace dyld: Symbol not found: __ZN11MyMoneyFileC1Ev Referenced from: /opt/local/var/macports/build/_Users_dorneles_ports_kde_kmymoney/work/kmymoney2-0.9.2/kmymoney2/widgets/.libs/libkmymoney.0.0.0.dylib Expected in: flat namespace }}} I contacted kmymoney folks, but they don't have a clue about how to fix the above problem. For the complete reference, including the Portfile that I'm using and the entire conversation, please check: http://thread.gmane.org/gmane.comp.kde.kmymoney2.devel/12761 If there's a better place to make this question, please point me to the right place and close this issue. Thanks in advance! :-) -- Ticket URL: <http://trac.macports.org/ticket/17851> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * cc: macsforever2000@… (added) * port: => kmymoney * milestone: Port Enhancements => Port Updates Comment: Can you attach the portfile you are using to this ticket please? -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Comment(by dorneles@…): The Portfile was added, let me know if you need anything else. There's a second thread on kmymoney's list with some additional info: http://thread.gmane.org/gmane.comp.kde.kmymoney2.devel/12778 Thanks. -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Comment(by macports@…): I've attached a patch to update the Portfile for 0.9.2. It's not the most elegant solution in the world, but it works. What's going on: * The version of libtool shipped with kmymoney has a bug and doesn't work correctly on OS X. (Other people have run into this before, see e.g. http://lists.apple.com/archives/darwin-dev/2008/May/msg00112.html). This causes the dylib errors with UIC reported above. This portfile replaces the built in libtool with a symbolic link to the one provided by macports. * GNU autotools expect a gnu copy of mkdir, and by default does not accept the copy supplied by OS X. This leads to destdir using a shell install script, which seems to have difficulties when directories already exist. I work around this by explicitly telling configure about the OS X mkdir command. -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Comment(by dorneles@…): Great, I can confirm it works now, thanks! Do do you think guys, is it too much hackish to be checked in? :-) -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Comment(by macsforever2000@…): Version 0.89 is still the latest stable version. I think it best if we add a kmymoney-devel version for this. -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * type: defect => enhancement -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ---------------------------------+------------------------------------------ Reporter: dorneles@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: kmymoney ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17851: kmymoney 0.9.2 failing to build due dyld: Symbol not found ----------------------------------+----------------------------------------- Reporter: dorneles@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: kmymoney | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: I updated kmymoney to 1.0.0 in r55875, using fixes similar to yours for the libtool and mkdir issues. I added libtool as a build dependency, not a library dependency, and I didn't add a dependency on libxmlxx2 because I didn't see it being used. I also did not change CXX to g++-mp-4.3 because it built fine with the default CXX. -- Ticket URL: <http://trac.macports.org/ticket/17851#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts