[MacPorts] #50938: apophenia @20160308: ld: library not found for -lmysqlclient
#50938: apophenia @20160308: ld: library not found for -lmysqlclient --------------------------+------------------------ Reporter: ryandesign@… | Owner: el.dirte@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: apophenia --------------------------+------------------------ apophenia @20160308 build fails: {{{ ld: library not found for -lmysqlclient }}} https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/40965 apophenia does not declare a dependency on a mysql port, so it should not be trying to link with the mysql client library. This problem is only seen on the snowleopard buildbot worker, because only the snowleopard buildbot worker has mysql installed as part of the operating system. However, users who have mysql installed might also find apophenia inadvertently linked with mysql, which should be prevented. -- Ticket URL: <https://trac.macports.org/ticket/50938> MacPorts <https://www.macports.org/> Ports system for OS X
#50938: apophenia @20160308: ld: library not found for -lmysqlclient ---------------------------+------------------------ Reporter: ryandesign@… | Owner: el.dirte@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: apophenia | ---------------------------+------------------------ Comment (by el.dirte@…): Thanks, I will look into this. Can you please share what version(s) of mysql that snowleopard buildbot has installed? A list of any mysql related ports that system has installed could be helpful. -- Ticket URL: <https://trac.macports.org/ticket/50938#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50938: apophenia @20160308: ld: library not found for -lmysqlclient ---------------------------+------------------------ Reporter: ryandesign@… | Owner: el.dirte@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: apophenia | ---------------------------+------------------------ Comment (by ryandesign@…): All ports are deactivated before each build. The version of MySQL is the one Apple included with OS X Snow Leopard Server. I imagine you just need to add a configure argument to tell it not to look for MySQL. -- Ticket URL: <https://trac.macports.org/ticket/50938#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50938: apophenia @20160308: ld: library not found for -lmysqlclient ---------------------------+------------------------ Reporter: ryandesign@… | Owner: el.dirte@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: apophenia | ---------------------------+------------------------ Comment (by el.dirte@…): Attached is a new Portfile without mysql. I'd like to to support all of the mysql ports but it won't work until I talk with upstream about one of the variables they are using in their configure script. Will add those variants at a later date. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/50938#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50938: apophenia @20160308: ld: library not found for -lmysqlclient ---------------------------+------------------------ Reporter: ryandesign@… | Owner: el.dirte@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: apophenia | ---------------------------+------------------------ Changes (by ryandesign@…): * keywords: => haspatch * status: new => closed * resolution: => fixed Comment: Thanks. I've updated the port in r146995. I increased the revision to ensure that it gets built without MySQL support, even for users who might have had MySQL installed. For future updates, please provide a unified diff, not a complete new Portfile. Also make sure you use the correct whitespace. Your change used tabs; we prefer using spaces, and the Portfile's modeline says that spaces will be used. -- Ticket URL: <https://trac.macports.org/ticket/50938#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts