pkgsrc-Users archive

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

icu on linux (gentoo)



Hello,

Building icu on gentoo fails at genrb:
   [...]
   c++   ...  uconv.cpp
   cc    ...  uwmsg.c
   LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  ../../bin/gen
rb -e UTF-8 -s resources -d uconvmsg root.txt
      ../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.67: intern
al error


I get around this with:

.if ${OPSYS} == "Linux"
SUBST_CLASSES+=         mh-linux
SUBST_MESSAGE.mh-linux+=Fixing icudata linking.
SUBST_STAGE.mh-linux=   pre-configure
SUBST_FILES.mh-linux=   config/mh-linux
SUBST_SED.mh-linux+=    -e 's/LDFLAGSICUDT=-nodefaultlibs -nostdlib/LDFLAGSICUDT=/'
.endif

Note that I got rid of libbsd, this hasn't nothing to do whit it.

Regards,
adr


Home | Main Index | Thread Index | Old Index