Skip to content

Compiling tagger on Ubuntu 22.04 #3

@jeremyjyang

Description

@jeremyjyang

Compilation fails on Ubuntu 22.04 LTS (with gcc 11.3.0 and libboost-dev 1.74) with errors such as

/usr/bin/ld: /tmp/ccVpSca8.o: in function Acronyms::Acronyms()': tagcorpus.cxx:(.text+0x25bb): undefined reference to boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > >::do_assign(char const*, char const*, unsigned int)'

My workaround has been to compile on CentOS 7, and copy the tagcorpus executable with selected library files, specifically:

libboost_regex.so.1.53.0
libicudata.so.50
libicui18n.so.50
libicuuc.so.50

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