pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60125: libcdr: Linking fails with 'Undefined symbols' errors



>Number:         60125
>Category:       pkg
>Synopsis:       libcdr: Linking fails with 'Undefined symbols' errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 24 23:15:00 +0000 2026
>Originator:     Daniel
>Release:        trunk (commit 0a59679e7d0d979d67ea641d1b753820f1e4e149)
>Organization:
>Environment:
Darwin danmbp 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar  5 22:05:44 PST 2026; root:xnu-12377.101.14~18/RELEASE_ARM64_T8142 arm64
>Description:
When attempting to build libcdr, I receive the following error during the build process:

  CXXLD    libcdr-0.1.la                                                                                Undefined symbols for architecture arm64:                                                                 "_ucnv_close_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
  "_ucnv_getNextUChar_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
  "_ucnv_open_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libcdr-0.1.la] Error code 1
>How-To-Repeat:
Attempt to build libcdr (unknown whether this is a universal issue or setup-dependent)
>Fix:




Home | Main Index | Thread Index | Old Index