nickguletskii / GLXOSD

GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
https://glxosd.nickguletskii.com
MIT License
123 stars 20 forks source link

ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. #110

Open Tricui11 opened 5 years ago

Tricui11 commented 5 years ago

Hi guys! All day I try to work GLXOSD on Half-Life 2 and Shadow Warrior 2013 on ubuntu x64 but every time i've got an error ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Allready read https://github.com/nickguletskii/GLXOSD/issues/21 https://github.com/nickguletskii/GLXOSD/issues/15 but didn't find solution. Installed GLXOSD from here https://launchpad.net/~nickguletskii200/+archive/ubuntu/glxosd/+packages and also compiled from source using instruction https://glxosd.nickguletskii.com/install/ please help me! snapshot attached http://www.picshare.ru/view/8911184/

VanackSabbadium commented 5 years ago

I solved this issue doing:

sudo apt-get install glxosd:i386 glxosd-libs-amd64

That should install the i386 AND x64 version of glxosd, which works with both 32 and 64 bit applications.