#41697: rpm: libtool: link: cannot find the library `/opt/local/lib/libpopt.la' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: n3npq@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: rpm | ---------------------------+----------------------- Comment (by ryandesign@…): It's definitely the rpm port's fault, specifically the file patch- configure which has these sections: {{{ @@ -27309,8 +27309,8 @@ if test $ac_cv_lib_popt_poptGetContext = yes; then WITH_POPT_SUBDIR= - WITH_POPT_INCLUDE= - WITH_POPT_LIB="-lpopt" + WITH_POPT_INCLUDE='-I${prefix}/include' + WITH_POPT_LIB='${prefix}/lib/libpopt.la' fi @@ -27545,8 +27545,8 @@ _ACEOF WITH_SQLITE3_SUBDIR= - WITH_SQLITE3_INCLUDE= - WITH_SQLITE3_LIB="-lsqlite" + WITH_SQLITE3_INCLUDE='-I${prefix}/include' + WITH_SQLITE3_LIB='${prefix}/lib/libsqlite3.la' DBLIBSRCS="$DBLIBSRCS sqlite.c" fi }}} These were added in r26411 to "fix the linking issues with popt/sqlite3" but I'm not sure what that means now. I would say the `WITH_POPT_LIB`/`WITH_SQLITE3_LIB` lines were better before the patch and should be changed back. I have not yet tested if this fixes the problem. -- Ticket URL: <https://trac.macports.org/ticket/41697#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X