#28714: devel/libconfig-hr-1.4.6 fails to build --------------------------------------+------------------------------------- Reporter: daniel.hornung@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libconfig-hr --------------------------------------+------------------------------------- Comment(by daniel.hornung@…): 1.4.7 does not help, but I think I tracked the error down. The problem is the '''-L/opt/local/lib''' argument during linking of the test target and its position in the command line. Since the old version of libconfig (1.4.5 in my case) was still installed, the linker tried to find "_config_set_include_dir" in the old libs. A workaround (but no real fix) is to deactivate libconfig-hr, then install it again: {{{ port deactivate libconfig-hr port upgrade libconfig-hr }}} -- Ticket URL: <https://trac.macports.org/ticket/28714#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS