Skip to content

Calling Builder.sign_file results in undefined symbol: c2pa_builder_sign_file #122

@rokclimb15

Description

@rokclimb15
c2pa_signer_create
[ERROR] AttributeError: /usr/local/lib/python3.12/site-packages/c2pa/libs/libc2pa_c.so: undefined symbol: c2pa_builder_sign_file
Traceback (most recent call last):
  File "/index.py", line 96, in lambda_handler
    signed_manifest_bytes = c2pa_lib.write(file_path, manifest_payload, public_key, sign)
  File "/c2pa_lib.py", line 17, in write
    signed_bytes = builder.sign_file(filename, tmp_output, signer)
  File "/usr/local/lib/python3.12/site-packages/c2pa/c2pa.py", line 1812, in sign_file
    result = _lib.c2pa_builder_sign_file(
  File "/usr/local/lib/python3.12/ctypes/__init__.py", line 392, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/lib/python3.12/ctypes/__init__.py", line 397, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions