Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2777

avro-c and snappy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.2
    • None
    • build, c
    • None
    • Linux Ubuntu 18.04 with latest updates

      GCC9.2.1

    Description

      I'm trying to build `master` avro-c and link it with `snappy`. The snappy is identified by cmake and linked into the avro-c library. However once the `avroappend` executable is built the link fails with 

      >> libsnappy.a(snappy.cc.o): In function

      >>`snappy::internal::WorkingMemory::WorkingMemory(unsigned long)':

      >>snappy.cc.text+0x819): undefined reference to `std::allocator<char>::allocator()'

       

      looks like snappy's C++ creeping into the library. it happens if I link with locally built snappy (according to snappy docs), if I link with system provided (by apt) snappy, everything links ok. Please advise.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kreuzerkrieg EWZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: