![Pipelight 无法与 Firefox 或 Chrome 配合使用](https://linux22.com/image/1116867/Pipelight%20%E6%97%A0%E6%B3%95%E4%B8%8E%20Firefox%20%E6%88%96%20Chrome%20%E9%85%8D%E5%90%88%E4%BD%BF%E7%94%A8.png)
我按照以下说明安装了pipelight网站但它仍然不能正常工作。
内核版本 3.8.0-27-generic
启动 chrome 时,日志显示为。有人能告诉我我的设置有什么问题吗?
n-linux:~$ google-chrome &
[1] 31528
husain@husain-linux:~$ ATTENTION: default value of option force_s3tc_enable overridden by environment.
[13:21:1005/131424:ERROR:platform_thread_linux.cc(99)] Failed to set nice value of thread to -10
[PIPELIGHT:LIN] attached to process.
[PIPELIGHT:LIN] trying to load config file from '/home/husain/.config/pipelight'.
[PIPELIGHT:LIN] trying to load config file from '/etc/pipelight'.
[PIPELIGHT:LIN] trying to load config file from '/usr/share/pipelight/pipelight'.
[PIPELIGHT:LIN] basicplugin.c:385:checkGraphicDriver(): GPU driver check - Your driver is supported, hardware acceleration enabled.
[PIPELIGHT:LIN] using wine prefix directory /home/husain/.wine-pipelight/.
[PIPELIGHT:LIN] checking Silverlight installation - this might take some time.
wine-silverlight5.1-installer is already installed in /home/husain/.wine-pipelight/.
wine-mpg2splt-installer is already installed in /home/husain/.wine-pipelight/.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
[PIPELIGHT:WIN] windowless mode is off.
[PIPELIGHT:WIN] embedded mode is on.
[PIPELIGHT:WIN] usermode Timer is off.
fixme:advapi:RegisterTraceGuidsW (0x2b1f87, 0x350118, {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x63f628, (null), (null), 0x350118,): stub
[PIPELIGHT:WIN] init successful!
fixme:advapi:UnregisterTraceGuids 0: stub
[WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
答案1
您使用的说明有点不完整,因为缺少一个重要步骤。到目前为止,Pipelight 本身的安装看起来还不错,但您可能没有安装用户代理切换器。这是让(流媒体)页面认为您正在使用 Windows PC 所必需的,否则它们将拒绝访问或在 100% 加载时挂起。
以下常见问题解答条目描述了如何针对 Chrome/Firefox/Uzbl 执行此操作: https://answers.launchpad.net/pipelight/+faq/2351
答案2
您的日志与我的类似。不同之处在于我在最后收到了更多信息:
err:module:import_dll Loading library libgcc_s_sjlj-1.dll (which is needed by L"Z:\usr\share\pipelight\pluginloader.exe") failed (error c000007b).
err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\usr\share\pipelight\pluginloader.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\usr\share\pipelight\pluginloader.exe" failed, status c0000135
[PIPELIGHT] Error during the initialization of the wine process - aborting
如果您有类似的问题,您可以通过链接 wine-pipelight 安装中缺少的 dll 来解决它:
ln -s <path-to-your-crosscompiler-gcc-libs>/*.dll ~/.wine-pipelight/drive_c/windows/system32/
在我的例子中 (gentoo linux),所需的库位于/usr/lib64/gcc/i686-w64-mingw32/4.7.3/
。如果你不知道在哪里可以找到 dll,你可以使用:
locate libstdc++-6.dll.