Libwx_gtk2u-3.0.so.0: cannot open sharedobject file: No such file or directory

my inxi -Faz

Kernel: 5.15.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d4f659d4-243a-41b6-b46a-fcc138601e3f rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=UUID=ece2a76c-98ac-417c-ab9d-9ade186558a8 loglevel=3
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506II_FA506II
v: 1.0 serial:
Mobo: ASUSTeK model: FA506II v: 1.0 serial:
UEFI: American Megatrends v: FA506II.316 date: 03/12/2021
Battery:
ID-1: BAT1 charge: 37.5 Wh (100.0%) condition: 37.5/48.1 Wh (78.0%)
volts: 12.6 min: 11.7 model: ASUS A32-K55 type: Li-ion serial: N/A
status: Full
CPU:
Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600104
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 8 MiB desc: 2x4 MiB
Speed (MHz): avg: 1652 high: 3168 min/max: 1400/2900 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 1932 2: 1397
3: 1397 4: 1397 5: 1397 6: 1397 7: 1426 8: 1597 9: 2315 10: 1468 11: 3168
12: 1610 13: 1595 14: 1398 15: 1541 16: 1397 bogomips: 92628
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: ASUSTeK
driver: nvidia v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:1f95 class-ID: 0300
Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel
bus-ID: 05:00.0 chip-ID: 1002:1636 class-ID: 0300
Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus-ID: 1-4:3 chip-ID: 13d3:56a2 class-ID: 0e02 serial:
Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
loaded: modesetting,nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 res: 1920x1080 hz: 144 dpi: 142
size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.8-zen1-1-zen LLVM 13.0.0)
v: 4.6 Mesa 21.3.1 direct render: Yes
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x bus-ID: 05:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.8-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Lite-On driver: rtw_8822ce v: N/A modules: rtw88_8822ce port: d000
bus-ID: 03:00.0 chip-ID: 10ec:c822 class-ID: 0280
IF: wlp3s0 state: up mac:
Bluetooth:
Device-1: Lite-On Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 3-1:2 chip-ID: 04ca:4005 class-ID: e001 serial:
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address:
Drives:
Local Storage: total: 700.51 GiB used: 36.81 GiB (5.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
model: 2210 MTFDHBA512QFD size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial:
rev: P6MA001 temp: 43.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 model: HAZE 2.5 SSD 240GB size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: rev: 1A0 scheme: GPT
Partition:
ID-1: / raw-size: 301.77 GiB size: 301.77 GiB (100.00%)
used: 36.81 GiB (12.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 301.77 GiB size: 301.77 GiB (100.00%)
used: 36.81 GiB (12.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 301.77 GiB size: 301.77 GiB (100.00%)
used: 36.81 GiB (12.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 301.77 GiB size: 301.77 GiB (100.00%)
used: 36.81 GiB (12.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 7.25 GiB used: 1.01 GiB (13.9%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 58.0 C mobo: N/A gpu: amdgpu temp: 50.0 C
Fan Speeds (RPM): cpu: 2500
Info:
Processes: 419 Uptime: 1h 55m wakeups: 1 Memory: 7.25 GiB
used: 4.17 GiB (57.5%) Init: systemd v: 249 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1837 lib: 518 Shell: fish
v: 3.3.1 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.10

i am trying to install codeblock but it didn't work so i was building it from source code and i got
opt/codeblocks/bin/codeblocks: error while loading shared libraries: libwx_gtk2u-3.0.so.0: cannot open shared
object file: No such file or directory
[root@gopa-asustufgaminga15fa506iifa506ii codeblocks-20.03]# pacman -Qs wxgtk
local/wxgtk-common 3.0.5.1-2
Common libraries and headers for wxgtk2 and wxgtk3
local/wxgtk2 3.0.5.1-2
GTK+2 implementation of wxWidgets API for GUI
local/wxgtk3 3.0.5.1-2
GTK+3 implementation of wxWidgets API for GUI

and as iam new to linux i found this but failed to understand may it help any Weird wxWidgets failure across the system after system upgrade? / Newbie Corner / Arch Linux Forums
plz help me to install codeblocks
thanks in advance

Please put
~~~
before and after your inxi block, for readability.

How you tried to install and what was the error?
I see it should be in the arch repository, so a
sudo pacman -S codeblocks
should be the first option.

yes the error is

(codeblocks:81808): Gtk-WARNING **: 20:37:50.072: Theme parsing error: gtk-dark.css:5822:26: '-shadow' is not
a valid color name

(codeblocks:81808): Gtk-WARNING **: 20:37:50.072: Theme parsing error: gtk-dark.css:5825:14: not a number

(codeblocks:81808): Gtk-WARNING **: 20:37:50.072: Theme parsing error: gtk-dark.css:5826:13: not a number

(codeblocks:81808): Gtk-WARNING **: 20:37:50.072: Theme parsing error: gtk-dark.css:5827:11: Expected a length
Starting Code::Blocks Release 20.03 rev 11997 May 27 2020, 10:54:33 - wx3.0.5 - gcc 10.1.0 (Linux, unicode) -
64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
AStylePlugin: loaded
AutoVersioning: loaded
BrowseTracker: loaded
Cccc: loaded
CppCheck: loaded
Cscope: loaded
DoxyBlocks: loaded
EditorConfig: loaded
EditorTweaks: loaded
HexEditor: loaded
IncrementalSearch: loaded
MouseSap: loaded
NassiShneidermanPlugin: loaded
Profiler: loaded
ProjectOptionsManipulator: loaded
RegExTestbed: loaded
ReopenEditor: loaded
SmartIndentCpp: loaded
SmartIndentFortran: loaded
SmartIndentHDL: loaded
SmartIndentLua: loaded
SmartIndentPascal: loaded
SmartIndentPython: loaded
SmartIndentXML: loaded
SpellChecker: loaded
SymTab: loaded
ThreadSearch: loaded
ToolsPlus: loaded
Valgrind: loaded
Abbreviations: loaded
Autosave: loaded
BYOGames: loaded
CB_Koders: loaded
ClassWizard: loaded
CodeCompletion: loaded
CodeSnippets: loaded
CodeStat: loaded
Compiler: loaded
copystrings: loaded
Debugger: loaded
FilesExtensionHandler: loaded
cbDragScroll: loaded
EnvVars: loaded
Exporter: loaded
HeaderFixup: loaded
HelpPlugin: loaded
cbKeyBinder: loaded
lib_finder: loaded
OccurrencesHighlighting: loaded
OpenFilesList: loaded
ProjectsImporter: loaded
rndgen: loaded
ScriptedWizard: loaded
ToDoList: loaded
wxSmithAui: loaded
wxSmith: loaded
wxSmithMime: loaded
wxSmithContribItems: loaded
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
BrowseTracker plugin activated
Cccc plugin activated
CppCheck plugin activated
Cscope plugin activated
DoxyBlocks plugin activated
EditorConfig plugin for Code::Blocks plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
NassiShneidermanPlugin plugin activated
Code profiler plugin activated
Project options manipulator plugin activated
Regular expressions testbed plugin activated
ReopenEditor plugin activated
SmartIndentCpp plugin activated
SmartIndentFortran plugin activated
SmartIndentHDL plugin activated
SmartIndentLua plugin activated
SmartIndentPascal plugin activated
SmartIndentPython plugin activated
SmartIndentXML plugin activated
Detected dict path: /usr/share/hunspell
Found dictionary: en_US-large
Selected dictionary: en_US
Found dictionary: en_US
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/en_US.png' succeeded!
SpellChecker plugin activated
Symbol Table Plugin plugin activated
ThreadSearch plugin activated
ToolsPlus plugin activated
Valgrind plugin activated
Abbreviations plugin activated
Autosave plugin activated
BYO Games plugin activated
Koders query plugin activated
Class wizard plugin activated
Code completion plugin activated
Code snippets plugin activated
Code statistics plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for Android"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "LLVM Clang Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "No Compiler"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "Small Device C Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "GNU GCC Compiler for ZPU"
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Master path of compiler ID "icc" is empty -> triggers auto-detection.
Master path of compiler ID "sdcc" is empty -> triggers auto-detection.
Master path of compiler ID "tcc" is empty -> triggers auto-detection.
Master path of compiler ID "clang" is empty -> triggers auto-detection.
Master path of compiler ID "arm-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "msp430-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "tricore-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "ppc-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "powerpc-eabi" is empty -> triggers auto-detection.
Master path of compiler ID "gdc" is empty -> triggers auto-detection.
Master path of compiler ID "ldc" is empty -> triggers auto-detection.
Master path of compiler ID "dmd" is empty -> triggers auto-detection.
Master path of compiler ID "gfortran" is empty -> triggers auto-detection.
Master path of compiler ID "g95" is empty -> triggers auto-detection.
Master path of compiler ID "pgifortran" is empty -> triggers auto-detection.
Master path of compiler ID "null" is empty -> triggers auto-detection.
fish: Job 1, 'codeblocks' terminated by signal SIGSEGV (Address boundary error)

Try to give a look with the forum search.
There are some topics related to previous issues, but no one with clear indications.
I see you could try a codeblocks-svn version in the AUR and also as appimage.
Just try to give a look there...

thanks but no luck

here the error with app image

$XDG_DATA_DIRS is missing. Please run /tmp/.mount_CodeBl3vrWsz/usr/bin/codeblocks.wrapper from within an AppIm
age.
/tmp/.mount_CodeBl3vrWsz/usr/bin/codeblocks: symbol lookup error: /usr/lib/libharfbuzz.so.0: undefined symbol:
FT_Done_MM_Var

Just out of curiosity…

Why is it that you cannot follow a simple instruction like…

Also, anytime you paste in a great deal of text it should be wrapped by ~~~

3 Likes

This is all too technical for me, I hope someone can help you further.
Just in case... When installing from source, did you follow the guide in their wiki?
https://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Arch_Linux

1 Like

yes i followed this too but no luck
plz anybody help because i am a computer student and my teacher only code on codeblocks
so i have no choice

In the meanwhile you get anybody's help, you could ask in their forum:
https://forums.codeblocks.org/
Or ask your teacher :slight_smile:

1 Like

Sadly nobody likes Linux here​:zipper_mouth_face:

First, fix your wrong code style from terminal output in your posts
Second, we love Linux
Third, we do not spoon-feed
Fourth, read manual or ask there who @ filo point you.

2 Likes

Sorry but my teacher uses windows but I like Linux so basically I am own my own but thanks to your support it means a lot and sorry for my code style

Is it this bug? Did you try to apply the fix? (#2 & #3)

https://bugs.archlinux.org/task/70935?project=5&string=codeblocks

2 Likes

no it is not the problem

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.