Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Congratulations on the release.

Running ./servo gives me this error.

"./servo: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory"

I guess it should be an easy fix. But if there are instructions to copy/paste that would really help. If someone has an answer, it would be great if you can please post it here.

Edit 1: I think the problem is because I am trying to run it on ubuntu 14.04 server. Also I am using xming and putty x11 forwarding. I installed libegl using 'sudo apt-get install libegl1-mesa-dev'. Now I am getting a new error.

Xlib: extension "XFree86-VidModeExtension" missing on display "localhost:12.0". thread 'main' panicked at 'Failed to create window.: NoAvailablePixelFormat', ../src/libcore/result.rs:785 note: Run with `RUST_BACKTRACE=1` for a backtrace.

So I ran with RUST_BACKTRACE=1 and this is the stack trace.

Xlib: extension "XFree86-VidModeExtension" missing on display "localhost:12.0".

thread 'main' panicked at 'Failed to create window.: NoAvailablePixelFormat', ../src/libcore/result.rs:785 stack backtrace:

   1:     0x55868358b56f - std::sys::backtrace::tracing::imp::write::h6528da8103c51ab9

   2:     0x55868359319b - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hbe741a5cc3c49508

   3:     0x558683592dff - std::panicking::default_hook::he0146e6a74621cb4

   4:     0x558683471857 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hc61828c8a9f6df01

   5:     0x558683578dcc - std::panicking::rust_panic_with_hook::h983af77c1a2e581b

   6:     0x5586835933e1 - std::panicking::begin_panic::he426e15a3766089a

   7:     0x55868357a63a - std::panicking::begin_panic_fmt::hdddb415186c241e7

   8:     0x55868359337e - rust_begin_unwind

   9:     0x5586835c997f - core::panicking::panic_fmt::hf4e16cb7f0d41a25

  10:     0x558681766ff0 - core::result::unwrap_failed::hd132ba2b7d75f379

  11:     0x558681765df4 - glutin_app::window::Window::new::h750be0f1f60f008a

  12:     0x558681764df0 - glutin_app::create_window::hae774cdda1762e66

  13:     0x55868170df45 - servo::main::h6924e5658370f6b5

  14:     0x558683592778 - std::panicking::try::call::h852b0d5f2eec25e4

  15:     0x55868359d5db - __rust_try

  16:     0x55868359d57e - __rust_maybe_catch_panic

  17:     0x55868359221e - std::rt::lang_start::hfe4efe1fc39e4a30

  18:     0x7fcc0d82eec4 - __libc_start_main

  19:     0x55868170cf09 - <unknown>

  20:                0x0 - <unknown>

Edit 2: I am not sure if this discussion belongs here. Let me know if I should move this somewhere else.


I get the same error, except that the library missing for me is "libssl.so.1.0.0".

That is on Fedora 23, and what's really strange to me, is that I compiled Servo about a week ago myself and that build works.


I get the same libssl.so.1.0.0 missing lib on F23 as well. I've tried creating a symlinked file... but it still doesn't work.


Ha, I have a VM with Fedora 23 and one on Debian 8, I got both of these errors before coming to the comments to check


Should get the dependencies first I think. The github[0] page goes into detail on what they are.

[0] https://github.com/servo/servo/


Most of those are build dependencies; so you shouldn't need to install everything there.

This is a dynamic library dependency, so you need it even if not building.

sudo apt-get install libegl on ubuntu, probably


What distro are you on? You'd have to look up what package provides libEGL.so.1 - it depends on your graphics driver and system architecture.


I am on ubuntu 14.04




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: