Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2710

Cannot open shared object file: Permission denied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • None

      I'm trying to port my app from 7.0(Grumpy Guppy) to 8.0(Happy Halibut).

      As it needs Dbus but is excluded in 8.0, so i copy these libs from sdk.

      When i launch my app, i get a number of errors below:

      Jul 31 09:29:29 m3ulcb afbd-naviapi-binding-service@0.1[3927]: NOTICE: Can't connect supervision socket to /run/platform/supervisor: Permission denied [/home/aglcompiler/AGL/agl-8.0.0/build/tmp/work/aarch64-agl-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/afb-supervision.c:171,try_connect_supervisor]
      Jul 31 09:29:29 m3ulcb afbd-naviapi-binding-service@0.1[3927]: ERROR: binding /var/local/lib/afm/applications/naviapi-binding-service/0.1/lib/[libNaviAPIService.so not loadable: libdbus-c++-1.so.0: cannot open shared object file: Permission denied [/home/aglcompiler/AGL/agl-8.0.0/build/tmp/work/aarch64-agl-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/afb-api-so.c:83,load_binding]
      Jul 31 09:29:29 m3ulcb afbd-naviapi-binding-service@0.1[3927]: ERROR: can't start the binding /var/local/lib/afm/applications/naviapi-binding-service/0.1/lib/libNaviAPIService.so [/home/aglcompiler/AGL/agl-8.0.0/build/tmp/work/aarch64-agl-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/main-afb-daemon.c:178,apiset_start_list]
      Jul 31 09:29:29 m3ulcb systemd[1]: afm-service-naviapi-binding-service-0.1-main@1001.service: Main process exited, code=exited, status=1/FAILURE
      Jul 31 09:29:29 m3ulcb systemd[1]: afm-service-naviapi-binding-service-0.1-main@1001.service: Failed with result 'exit-code'.
      Jul 31 09:29:29 m3ulcb systemd[1]: Failed to start naviapi binding service.

      It seems like some more permission is required.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            wanglu Wang Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: