The vm-display-X11
will be dynamically loaded, that is why you don't see the GL/X11 dependency
if you ldd on the vm (pharo-executable).

If you are on a 64Bit machine, you need to have 32Bit libraries for X11/GL
. And yes, it would be nice to have a headless vm not to depend on the
display library stuff.

2017-01-12 14:38 GMT+01:00 Nicolas Anquetil <nicolas.anque...@inria.fr>:

> more info on this,
>
> On my own computer, the dependencies are not the same:
>
> ---
>
> $ ldd pharo
>     linux-gate.so.1 =>  (0xf7751000)
>     libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76ce000)
>     libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76c9000)
>     libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76ab000)
>     libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74f5000)
>     /lib/ld-linux.so.2 (0x565c6000)
>
> ---
>
> Specifically, the two missing libraries (for hte others) are not requested
> on my computer.
>
> So why were they needed in the other cases? (I am using the same pharo5 as
> they do)
>
> nicolas
>
>
> On 12/01/2017 12:26, Nicolas Anquetil wrote:
>
>
> a fresh install of moose image failed to start on a number of Linux
> machines because of missing libraries
>
> the missing dependencies are libGL and libX11 that for some reasons were
> not installed (but it was a running linux with graphical interface).
>
> See below
>
> ---
>
> $ ldd vm-display-X11
> linux-gate.so.1 =>  (0xf7766000)
> libpthread.so.0 => /lib32/libpthread.so.0 (0xf76ff000)
> libGL.so.1 => not found
> libX11.so.6 => not found
> libc.so.6 => /lib32/libc.so.6 (0xf754b000)
> /lib/ld-linux.so.2 (0x5661f000)
>
> ---
>
> there should be a way to test that.
> Not too sure how. May be an installer in the form of a headless image
> using the system ldd (see above) command ?
>
>
> nicolas
>
> --
> Nicolas Anquetil -- MCF (HDR)
> Project-Team RMod
>
>
> --
> Nicolas Anquetil -- MCF (HDR)
> Project-Team RMod
>
>

Reply via email to