Opened 5 years ago

Last modified 5 years ago

#59522 closed defect

[icu-le-hb] : missing link with ICU libraries — at Initial Version

Reported by: RJVB (René Bertin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: icu-le-hb

Description

For some curious reason the icu-le-hb buildsystem fails to link the library with the ICU libraries. This can go undetected as long as those dependencies are loaded first in applications that depend on libicu-le-hb (and thus also as long as you do not load the library in isolation in a thin wrapper around the dlopen() call).

Apparently that order did change for me, which led to an error from the dynamic linker/loader (dyld.so) about an undefined symbol: _ZTIN6icu_657UObjectE (the loader bails at the 1st error so we cannot know how many other symbols are undefined too).

The attached patch adds the ICU_LIBS libraries obtained from pkg-config to the libicu-le-hb link dependencies, which fixes the issue for me (and should be a transparent change otherwise).

Change History (1)

Changed 5 years ago by RJVB (René Bertin)

Attachment: patch-link-iculibs.diff added
Note: See TracTickets for help on using tickets.