[MacPorts] #20592: apr-util: Wrong library path in apu-1-config
#20592: apr-util: Wrong library path in apu-1-config ---------------------------------+------------------------------------------ Reporter: nrc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------------+------------------------------------------ {{{ % apu-1-config --link-ld --libs -L/opt/local/lib -laprutil-1 -ldb-4.6 -lexpat -liconv }}} However, actually trying to use these linker flags results in an error, because db-4.6 cannot be found. That is because the given "-L" library path is unsufficient: MacPorts has installed db4.6 in /opt/local/lib/db4.6 rather than /opt/local/lib, so db-4.6 cannot be found. -- Ticket URL: <http://trac.macports.org/ticket/20592> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20592: apr-util: Wrong library path in apu-1-config ---------------------------------+------------------------------------------ Reporter: nrc@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: apr-util ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => dluke@… * port: => apr-util -- Ticket URL: <http://trac.macports.org/ticket/20592#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20592: apr-util: Wrong library path in apu-1-config ----------------------------------+----------------------------------------- Reporter: nrc@… | Owner: dluke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: apr-util | ----------------------------------+----------------------------------------- Changes (by dluke@…): * status: new => closed * resolution: => invalid Comment: which version of apr-util do you have installed? Here's what I have for the current version: % apu-1-config --link-ld -L/opt/local/lib -laprutil-1 % apu-1-config --libs -ldb-4.6 -lexpat -liconv % apu-1-config --ldflags -L/opt/local/lib/db46 -L/opt/local/lib closing as 'invalid' - will re-open if this is happening with the current version. -- Ticket URL: <http://trac.macports.org/ticket/20592#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20592: apr-util: Wrong library path in apu-1-config ----------------------------------+----------------------------------------- Reporter: nrc@… | Owner: dluke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: apr-util | ----------------------------------+----------------------------------------- Comment(by nrc@…): Fair enough: I had neglected to use `--ldflags`, since `--link-ld` provides most (but not all) of the linker flags required. I agree this isn't a bug. -- Ticket URL: <http://trac.macports.org/ticket/20592#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts