我正在尝试安装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'
我该怎么办?