ld.so: object ‘/usr/NX/lib/libnxegl.so’ from LD_PRELOAD cannot be preload

Forum / NoMachine for Linux / ld.so: object ‘/usr/NX/lib/libnxegl.so’ from LD_PRELOAD cannot be preload

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53186
    kladizkov
    Participant

    After uninstalling the NoMachine remote desktop software from my Linux system, I’ve started seeing the following error whenever I open a terminal or log in via SSH:

    ERROR: ld.so: object ‘/usr/NX/lib/libnxegl.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

    There is no such file as /usr/NX/lib/libnxegl.so on the system anymore, which makes sense since NoMachine has been removed. However, it seems like something is still referencing it via the LD_PRELOAD environment variable.

    I’ve checked the following places for leftover environment variable settings:

    ~/.bashrc

    ~/.bash_profile

    ~/.profile

    /etc/environment

    /etc/profile

    /etc/profile.d/*

    /etc/ld.so.preload

    But I haven’t been able to locate where LD_PRELOAD is being set to include /usr/NX/lib/libnxegl.so.

    Has anyone encountered this after removing NoMachine? Any ideas on where else to check or how to fully clean up this leftover configuration?

    Thanks in advance for your help!

    #53197
    Britgirl
    Keymaster

    Hi, can you tell us the exact distribution and desktop environment on that Linux machine. What NoMachine version did you uninstall?

    #53198
    kladizkov
    Participant

    I’m using Kubuntu 24.04. The nomachine version that I uninstalled was 8.16.1.1

    #53208
    Britgirl
    Keymaster

    Are you connecting to a KDE or Gnome desktop on the Kubuntu host, something else?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Please login .