Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-408

Protobuf compiler is missing shared libraries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JDG 7.0.0 ER7
    • JDG 7.0.0 ER5
    • HotRod C++ client
    • None

      The ER5 RHEL7 C++ client distribution includes the following shared libraries:

      [jboss@dcb71229cf82 build]$ ls -l /home/jboss/jboss-datagrid-${JDG_VERSION}-remote-cpp-client-RHEL7-x86_64/lib64
      total 8360
      -rw-r--r-- 1 jboss jboss 2297310 May 12 09:34 libhotrod-static.a
      -rwxr-xr-x 1 jboss jboss  622976 May 12 09:34 libhotrod.so
      -rwxr-xr-x 1 jboss jboss  622976 May 12 09:34 libhotrod.so.1.0
      -rw-r--r-- 1 jboss jboss  181700 May 12 09:34 libhotrod_protobuf.a
      -rw-r--r-- 1 jboss jboss 1281544 May  4 03:40 libprotobuf.so
      -rw-r--r-- 1 jboss jboss 1281544 May  4 03:40 libprotobuf.so.9.0.1
      -rw-r--r-- 1 jboss jboss 1130440 May  4 03:40 libprotoc.so
      -rw-r--r-- 1 jboss jboss 1130440 May  4 03:40 libprotoc.so.9.0.1
      

      (Do all of these libraries need to have the executable bit set?) However, running the Protobuf compiler produces the following error:

      /home/jboss/jboss-datagrid-7.0.0-remote-cpp-client-RHEL7-x86_64/bin/protoc: error while loading shared libraries: libprotobuf.so.9: cannot open shared object file: No such file or directory
      

      The libprotobuf.so.9 and libprotoboc.so.9 libraries needs to be included in the distribution as well. The protoc executable needs to have the executable bit set as well.

            vdedik Vaclav Dedik (Inactive)
            rhn-support-afield Alan Field
            Alan Field Alan Field
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: