Community
EAGLE Forum
Welcome to Autodesk’s EAGLE Forums. Share your knowledge, ask questions, and explore popular EAGLE topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Eagle fails to run: symbol lookup error: /lib/x86_64-linux-gnu/libGLX_mesa.so.0

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
keen101
6542 Views, 6 Replies

Eagle fails to run: symbol lookup error: /lib/x86_64-linux-gnu/libGLX_mesa.so.0

I'm having the same issue on Pop!_OS 19.10 / Ubuntu Linux 19.10 on a System76 Darter Pro.

 

andrew@pop-os:~/eagle-9.5.2$ ./eagle
./eagle: symbol lookup error: /lib/x86_64-linux-gnu/libGLX_mesa.so.0: undefined symbol: xcb_dri3_get_supported_modifiers

 

Two workarounds do work for me to allow the program to be run and opened manually, but they are not perfect solutions, because i can't figure out how to get the code to run in a .desktop launcher. Perhaps there is a more elegant one line bash script that will do the trick, but i don't know enough to figure that out. I'm a moderate linux user, not a noob, but not a wizard.

 

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 ./eagle

this code does work, but gives this error in the terminal, which does not seem critical.

 

Sandboxing disabled by user.
inotify_add_watch("/home/andrew/.local/share/Eagle/cloud-processing/3d-models-jobs-200809200372004.json") failed: "No such file or directory"


Also using the readme file with this code seems to work for a while, but not everytime, and not when i try to create my launcher for Ubuntu / PopOS / Debian. The code was suggested for nvidia graphics, but i'm actually using Intel® UHD Graphics, so i'm not exactly sure why it works or what it is doing.

 

export LIBGL_ALWAYS_SOFTWARE=1
./eagle

 

Here is the code for my desktop launcher that i can't figure out how to get working with either of these workarounds:

 

/usr/share/applications/eagle.desktop
[Desktop Entry]
Version=9.5.2
Type=Application
Name=Eagle
GenericName=EagleCAD
Comment=EagleCAD
Exec=/home/andrew/eagle-9.5.2/eagle
Icon=/home/andrew/eagle-9.5.2/bin/eagle-logo.png
Terminal=false
Categories=Development;IDE;Electronics;
Keywords=embedded electronics;electronics;avr;microcontroller;eagle;eaglecad;cad;

The Exec line is the one I'm having issues with running the workaround code with. Perhaps someone more experienced with Linux bash commands can help me with an elegant one-line solution that will work in place of what is currently there or a better fix with the broken libraries? I'm surprised the developers upstream have not fixed this by default yet considering how popular Ubuntu Linux is.

 

I can currently run EagleCAD from the terminal with the workarounds, but i just want it to run with a standard launcher and icon logo.

6 REPLIES 6
Message 2 of 7
one-of-the-robs
in reply to: keen101


@keen101 wrote:

Two workarounds do work for me to allow the program to be run and opened manually, but they are not perfect solutions, because i can't figure out how to get the code to run in a .desktop launcher. Perhaps there is a more elegant one line bash script that will do the trick, but i don't know enough to figure that out. I'm a moderate linux user, not a noob, but not a wizard.

 

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 ./eagle

this code does work, but gives this error in the terminal, which does not seem critical.

 

Sandboxing disabled by user.
inotify_add_watch("/home/andrew/.local/share/Eagle/cloud-processing/3d-models-jobs-200809200372004.json") failed: "No such file or directory"

 


OK, if that works and the inotify warning doesn't matter (which I don't think it does) then that's the command you want to run.

 


@keen101 wrote:

Here is the code for my desktop launcher that i can't figure out how to get working with either of these workarounds:

 

/usr/share/applications/eagle.desktop
[Desktop Entry]
Version=9.5.2
Type=Application
Name=Eagle
GenericName=EagleCAD
Comment=EagleCAD
Exec=/home/andrew/eagle-9.5.2/eagle
Icon=/home/andrew/eagle-9.5.2/bin/eagle-logo.png
Terminal=false
Categories=Development;IDE;Electronics;
Keywords=embedded electronics;electronics;avr;microcontroller;eagle;eaglecad;cad;

The Exec line is the one I'm having issues with running the workaround code with.


Yes, that's the line to change and it should be fairly simple. I haven't tried this specific invocation (I don't have the library problem on Gentoo) but it should be:

Exec=sh -c "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 /home/andrew/eagle-9.5.2/eagle"

 The trick is to use "sh -c" to invoke a shell, then the full environment variable syntax becomes available to you.

Message 3 of 7
keen101
in reply to: one-of-the-robs

Thank you so much! That seems to have done the trick! I knew there was probably an easy way to write for a bash or shell, but i wasn't sure quite how to do it, so thanks! Worked like a charm and now i have a proper icon shortcut launcher that i can pull up in the search bar and run instead of opening up a terminal window each time!

Message 4 of 7
keen101
in reply to: keen101

I just wanted to update this as i encountered a new problem with my launcher code. Today when trying to run Eagle it no longer works as i get a black screen when the program launches. It seems to be the exact same issue as this recent report: https://forums.autodesk.com/t5/eagle-forum/black-screen-on-startup/td-p/8619674

 

This is the errors i get in the terminal:

andrew@pop-os:~/eagle-9.5.2$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 ./eagle
Sandboxing disabled by user.
inotify_add_watch("/home/andrew/.local/share/Eagle/cloud-processing/3d-models-jobs-200809200372004.json") failed: "No such file or directory"
[14031:14040:0318/152853.792820:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152853.792840:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152853.792850:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152853.793290:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152853.793298:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152853.793306:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152854.150264:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.150308:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.150344:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152854.152139:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.152172:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.152230:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152854.296772:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.296812:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.296850:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152854.298777:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.298809:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.298843:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
js: Failed to set referrer policy: The value 'same-origin' is not one of 'always', 'default', 'never', 'origin-when-crossorigin', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
[14031:14040:0318/152854.581218:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.581265:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.581323:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14040:0318/152854.583253:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.583290:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14040:0318/152854.583343:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
js: Uncaught SyntaxError: Unexpected token {
js: Uncaught TypeError: window._gdprFooterBuild is not a function
[14031:14041:0318/152855.513359:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14041:0318/152855.513409:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14041:0318/152855.513462:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[14031:14041:0318/152855.515362:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14041:0318/152855.515401:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[14031:14041:0318/152855.515451:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com

 

after viewing the other report again (https://forums.autodesk.com/t5/eagle-forum/black-screen-on-startup/td-p/8619674) i decided i needed to change the shell script code to function with the other working solution. This is the new code line to get my custom launcher to work again in Ubuntu / PopOS:

 

sudo gedit /usr/share/applications/eagle.desktop

 

Exec=sh -c "export LIBGL_ALWAYS_SOFTWARE=1 && /home/andrew/eagle-9.5.2/eagle"

Exec=sh -c "export LIBGL_ALWAYS_SOFTWARE=1 && /home/andrew/eagle-9.5.2/eagle"

 

EagleCAD now runs correctly again AND i get to use the nice launcher in the HUD system.

Message 5 of 7
one-of-the-robs
in reply to: keen101

As a possibly relevant note, although it hasn't happened with the latest update, I found back on 9.4.x that the existence of an available update caused the black login screen, which was fixed by the "LIBGL_ALWAYS_SOFTWARE" workaround, but that once I'd installed the latest version, that was no longer needed. I think it was related to my not normally having the "home" tab showing, so some web-related content stuff only happens if there's a new version to download.

As I said, this no longer seems to be an issue for me, so I can't say your experience will match mine, but it's possible that you would be able to remove the workaround if you update to V9.6.0, at least for a while.

Message 6 of 7
wb8nbs
in reply to: keen101

I am on Ubuntu 20.04 here. Eagle 9.6.2 was running in December from a shell with the hack

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 ./eagle

  But in late December it stopped working again. I have removed from libs the libxcb* files as suggested elsewhere and still wouldn't run. I finally had success by running from this shell script.

jbh@junkbox-2:~/eagle-9.6.2$ cat HacktoRun.cmd 
export LIBGL_ALWAYS_SOFTWARE=1
QTWEBENGINE_CHROMIUM_FLAGS=“--ignore-gpu-blacklist” 
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 ./eagle

First two lines are suggested in the README  file.

 

Message 7 of 7
keen101
in reply to: wb8nbs

This is what I currently have in my PopOS Eagle "desktop" menu
shortcut file. It runs fine for me. Make sure your eagle version numbers
are up to date with whatever version you have downloaded and your
home directory modified to your user name.

sudo gedit /usr/share/applications/eagle.desktop

[Desktop Entry]
Version=9.6.0
Type=Application
Name=Eagle
GenericName=EagleCAD
Comment=EagleCAD
Exec=sh -c "export LIBGL_ALWAYS_SOFTWARE=1 &&
/home/andrew/eagle-9.6.0/eagle"
Icon=/home/andrew/eagle-9.6.0/bin/eagle-logo.png
Terminal=false
Categories=Development;IDE;Electronics;
Keywords=embedded
electronics;electronics;avr;microcontroller;eagle;eaglecad;cad;

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report