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

avro-c and snappy

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kreuzerkrieg EWZ

            Dates

              Created:
              Updated:

              Slack

                Issue deployment