尝试在java 8 + enterprisedb 15.2上构建PLJAVA 1.5.6失败

zu0ti5jz  于 2023-08-01  发布在  Java
关注(0)|答案(1)|浏览(110)

修改了PLJAVA 1.5.6的变更,因为我们无法将java版本更新到9。但现在链接器是失败的,而我做的mvn干净安装。做这mvn命令从microsoft visual studio命令提示符作为建议在安装方面

[INFO] Timestamp.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Timestamp.obj : error LNK2001: unresolved external symbol _errstart
[INFO] TupleTable.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] TupleTable.obj : error LNK2001: unresolved external symbol _errstart
[INFO] JNICalls.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] JNICalls.obj : error LNK2001: unresolved external symbol _errstart
[INFO] PgObject.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] PgObject.obj : error LNK2001: unresolved external symbol _errstart
[INFO] PgSavepoint.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] PgSavepoint.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Portal.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Portal.obj : error LNK2001: unresolved external symbol _errstart
[INFO] ExecutionPlan.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] ExecutionPlan.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Function.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Function.obj : error LNK2001: unresolved external symbol _errstart
[INFO] InstallHelper.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] InstallHelper.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Invocation.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Invocation.obj : error LNK2001: unresolved external symbol _errstart
[INFO] AclId.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] AclId.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Backend.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Backend.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Composite.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Composite.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Exception.obj : error LNK2001: unresolved external symbol _errstart
[ERROR] Exception.obj : error LNK2001: unresolved external symbol _errstart
[INFO] Type.obj : error LNK2019: unresolved external symbol _errfinish referenced in function _Type_fromJavaType
[ERROR] Type.obj : error LNK2019: unresolved external symbol _errfinish referenced in function _Type_fromJavaType

字符串
尝试安装,但一直失败,没有运气到目前为止

tkclm6bt

tkclm6bt1#

错误消息显示在链接时无法找到PostgreSQL中的某些符号,_errstart_errfinish。这些都很重要
问题标题提到了EnterpriseDB,这可能是一个线索。不久前还报道了另一个问题,他们在PostgreSQL版本中进行了一些内部更改,使PL/Java无法链接到预期的PostgreSQL API。我不知道他们可能做了什么涉及_errstart_errfinish的细节,但很难想到这两个符号无法链接的许多其他解释。如果您缺少PostgreSQL开发文件,那么缺少的就不仅仅是两个东西。

相关问题