Skip to content

ld.lld: error: undefined symbol: base64decode #53

@mast3rz3ro

Description

@mast3rz3ro

Hi there!

It's seems like the linker isn't linking to libplist-2.0.a unless the library path has been explicitly passed, for example it's can be passed to CFLAGS by exporting it like: export CFLAGS+=" $PREFIX/lib/libplist-2.0.a " or pass it into the configure like: ./autogen.sh CFLAGS=$PREFIX/lib/libplist-2.0.a

Maybe we should use AC_CHECK_LIB in the configure but I'm not sure how to do it:

AC_CHECK_LIB([plist-2.0], [base64decode], [], [
  AC_MSG_ERROR([missing base64decode is libplist installed?])
  exit 1
])

Related:
#50
#51

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions