安装 apr-util 时出错

安装 apr-util 时出错

我正在尝试安装apr-util,以便可以安装仙人掌昨天我无法运行,make因为它找不到一些 xml 文件。我安装了libexpat1-dev并且make运行起来没有问题。

今天make test我遇到以下错误:

../.libs/libaprutil-1.so: undefined reference to `XML_GetErrorCode'
../.libs/libaprutil-1.so: undefined reference to `XML_SetEntityDeclHandler'
../.libs/libaprutil-1.so: undefined reference to `XML_ParserCreate'
../.libs/libaprutil-1.so: undefined reference to `XML_SetCharacterDataHandler'
../.libs/libaprutil-1.so: undefined reference to `XML_ParserFree'
../.libs/libaprutil-1.so: undefined reference to `XML_SetUserData'
../.libs/libaprutil-1.so: undefined reference to `XML_StopParser'
../.libs/libaprutil-1.so: undefined reference to `XML_Parse'
../.libs/libaprutil-1.so: undefined reference to `XML_ErrorString'
../.libs/libaprutil-1.so: undefined reference to `XML_SetElementHandler'

我该怎么办?

相关内容