GLIBC_2.33 files not found - flutter

When I run fluter doctor -v from VSCode the output is this :
/snap/flutter/130/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/../../../../lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/snap/flutter/130/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/../../../../lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: undefined symbol: g_tls_channel_binding_error_quark
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
What should I do to solve this problem ?

Related

Not able to compile swift on Ubuntu 18.04

I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.

Warning: Dependant package with key emulator not found! - VScode

I am running flutter on VScode and when I try downloading Buildtools or System-images through commandline, it gives this warning :
Warning: Dependant package with key emulator not found!
Warning: Unable to compute a complete list of dependencies.

Error: This application failed to start because no Qt platform plugin could be initialized (Ubuntu 18.04, Gitlab)

I try start android emulator on Ubuntu 18.04 in Gitlab CI but get error. Please, help.
Gitlab output:
$ emulator -avd Android28 -no-snapshot-save &
$ export APK_PATH=$CI_PROJECT_DIR/.../app-dev-debug.apk
$ mvn clean test
bash: строка 110: emulator: command not found
bash: строка 114: mvn: command not found
ERROR: Job failed: exit status 1
cmd output for gitlab-runner:
gitlab-runner#shafaci:/home/shafaci$ emulator -avd Android28
No protocol specified
No protocol specified
No protocol specified
emulator: INFO: QtLogger.cpp:68: Warning: could not connect to display :0 ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Info: Could not load the Qt platform plugin "xcb" in "/opt/platforms/emulator/lib64/qt/plugins" even though it was found. ((null):0, (null))
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
((null):0, (null))

PHP Startup: Unable to load dynamic library mongodb.so Symbol not found

I installed mongodb php driver on MACOS, XAMPP and PHP 7.1.11 by command line sudo pecl install mongodb then run php -v and got errors
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so, 9): Symbol not found: _zend_ce_countable
Referenced from: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
Expected in: flat namespace
in /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so, 9): Symbol not found: _zend_ce_countable
Referenced from: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
Expected in: flat namespace
in /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so in Unknown on line 0
Configuration File (php.ini) Path: /Applications/XAMPP/xamppfiles/etc
Loaded Configuration File: /Applications/XAMPP/xamppfiles/etc/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
Please help !

problems installing pdo_psql on snow leapord

I'm trying to install the pdo drivers on OSX 10.6 and I've been following the directions found here:
Installing PDO-drivers for PostgreSQL on Mac (using Zend for eclipse)
Every time I try and compile the pdo_psql.so driver it compiles fine but the 'make test' finds a problem.
PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
=====================================================================
PHP : /usr/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.3.4
ZEND_VERSION: 2.3.0
PHP_OS : Darwin - Darwin localhost 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
INI actual : /Users/me/temp/PDO_PGSQL-1.0.2/tmp-php.ini
More .INIs :
CWD : /Users/me/temp/PDO_PGSQL-1.0.2
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2011-04-12 00:35:43
=====================================================================
I'm running a 32 bit kernel and my env vars are set as such. After google-ing for hours I'm stuck. Thanks for any help you can provide.
It turns out with my new laptop I grabbed the wrong disk set for Xcode. When I installed the correct (newest) version, everything worked.