Comments (6)
Note ldd /app/extra/bin/libpcoip_core.so
hints that there are some missing libraries which will prevent libpcoip_core.so
from being loaded:
libusb-1.0.so.0 => not found
libhiredis.so.0.13 => not found
Adding those two files to the flatpak is also needed; I haven't had time to find them and test that it works with them added.
from com.amazon.workspaces.
Just confirmed, unpacking the libraries from https://packages.ubuntu.com/bionic/libusb-1.0-0 and https://packages.ubuntu.com/bionic/libs/libhiredis0.13 and placing them inside the flatpak (adjusting LD_LIBRARY_PATH
to point where I dropped them) will fix this issue.
from com.amazon.workspaces.
Samesies. Log attached below.
I noticed this in the logs. Looks like a shared library may be missing?
WorkSpacesClient_2022_10_07_13_00_09.log
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(WorkSpacesClient.Gtk.WindowManager.IGtkWindowManager, WorkSpacesClient.Common.Infrastructure.IDevice)' on type 'GtkPcoipProtocolAdapter'.
---> System.DllNotFoundException: Unable to load shared library 'pcoip_core' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libpcoip_core: cannot open shared object file: No such file or directory
at WorkSpacesClient.Gtk.InSession.Pcoip.GtkPcoipProtocolAdapter.pcoip_core_api_version_get()
at WorkSpacesClient.Gtk.InSession.Pcoip.GtkPcoipProtocolAdapter..ctor(IGtkWindowManager windowManager, IDevice device) in /Users/jenkins/workspace/Singularity-Xamarin-Linux2/src/WorkSpacesClient.Gtk/InSession/Pcoip/GtkPcoipProtocolAdapter.cs:line 67
at lambda_method(Closure , Object[] )
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ResolveComponent(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
at WorkSpacesClient.Gtk.InSession.GtkSessionFactory.ConstructPcoipSession(PreparedResource resource) in /Users/jenkins/workspace/Singularity-Xamarin-Linux2/src/WorkSpacesClient.Gtk/InSession/GtkSessionFactory.cs:line 33
at WorkSpacesClient.Gtk.UseCases.PcoipSessionProvisionUseCase.PcoipSessionProvisionRouter.NavigateToStreamingUseCase(PreparedResource resource) in /Users/jenkins/workspace/Singularity-Xamarin-Linux2/src/WorkSpacesClient.Gtk/UseCases/PcoipSessionProvisionUseCase/PcoipSessionProvisionRouter.cs:line 43
at WorkSpacesClient.Common.UseCases.SessionProvisionUseCase.SessionProvisionPresenter.BeginUseCase() in /Users/jenkins/workspace/Singularity-Xamarin-Linux2/src/WorkSpacesClient.Common/UseCases/PcoipSessionProvisionUseCase/SessionProvisionPresenter.cs:line 65
2022-10-07T12:58:08.416Z { Version: "4.3.0.1766" }: [INF] Navigating to Use Case WorkSpacesClient.Common.UseCases.ErrorUseCase.ErrorPresenter```
from com.amazon.workspaces.
Same issue, and seeing the same thing in the logs as @jkatzmewing, It does look like the library is present:
$ ls -l /var/lib/flatpak/app/com.amazon.Workspaces/x86_64/stable/active/files/extra/bin/libpcoip_core.so
-rwxr-xr-x. 1 root root 7123496 Jul 30 03:40 /var/lib/flatpak/app/com.amazon.Workspaces/x86_64/stable/active/files/extra/bin/libpcoip_core.so
I'm guessing LD_LIBRARY_PATH
might need to be set to include the path to that lib
from com.amazon.workspaces.
Note
ldd /app/extra/bin/libpcoip_core.so
hints that there are some missing libraries which will preventlibpcoip_core.so
from being loaded:libusb-1.0.so.0 => not found libhiredis.so.0.13 => not found
Adding those two files to the flatpak is also needed; I haven't had time to find them and test that it works with them added.
Thank you for the analysis. I've opened a PR with those two libraries added, please test the build once posted and let me know if it works.
I think the dependencies were added with 4.3.x
The original maintainer enabled auto-merging PRs as long as the build passes, this is a bad idea because there is no manual testing (they were last active here in 2020, inactive since) and it is a repackage of the deb.
from com.amazon.workspaces.
I can confirm the latest version on Flathub works :D
from com.amazon.workspaces.
Related Issues (13)
- missing webkit library HOT 5
- deb package download forbidden HOT 6
- Version 4.0.1.1302 - Unknown Error Occured HOT 5
- Update GNOME runtime HOT 1
- Higher quality Flathub image HOT 4
- The GNOME 42 runtime is no longer supported as of March 21, 2023 HOT 8
- The latest version doesn't accept '~' char? HOT 33
- Copy/paste between host and guest doesn't work in Flatpak HOT 15
- Login page is blank for NVIDIA users HOT 10
- Update to latest client HOT 12
- Switching to full screen does not use additional monitors HOT 1
- Amazon Workspaces wonβt launch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com.amazon.workspaces.