#20592 closed defect (invalid)
apr-util: Wrong library path in apu-1-config
Reported by: | nrc@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | apr-util |
Description
% 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.
Change History (3)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to dluke@… |
---|---|
Port: | apr-util added |
comment:2 Changed 15 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago 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.
Note: See
TracTickets for help on using
tickets.
which version of apr-util do you have installed?
Here's what I have for the current version:
% apu-1-config --link-ld
% apu-1-config --libs
% apu-1-config --ldflags
closing as 'invalid' - will re-open if this is happening with the current version.