problem with linux: missing
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
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
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.anquetil@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
thanks for both replies. - I was under the impression that the 64bit VM was precisely intended to remove dependencies on 32bits libraries ... ? - and yes, you are right, I should have called on the plugin, not the vm thanks again nicolas On 12/01/2017 14:43, Hilaire wrote:
If you are using Pharo on a Linux 64 bits system you need the Linux 32 bits librararies. There are not installed by default on Linux.
You can follow these procedure to install the missing 32 bits libraries: http://www.drgeo.eu/faq#TOC-Debian-Jessie-Ubuntu-LinuxMint-12.04-LTS1
Le 12/01/2017 à 12:26, Nicolas Anquetil a écrit :
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
On 12/01/2017 14:44, Nicolai Hess wrote: 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.anquetil@inria.fr <mailto:nicolas.anquetil@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
-- Nicolas Anquetil -- MCF (HDR) Project-Team RMod
I don't knwo. Did you installed the 64bits VM and Pharo 64 bits image. I think it is still WIP. Le 12/01/2017 à 15:00, Nicolas Anquetil a écrit :
- I was under the impression that the 64bit VM was precisely intended to remove dependencies on 32bits libraries ... ?
-- Dr. Geo http://drgeo.eu
The main purpose of the 64bit VM is to allow an image to have a size greater than 2GB There is nothing wrong with depending on 32bit libraries With a 32bit VM you still access mora than 2GB of memory using multiple images and vm instances and IPC On Thu, 12 Jan 2017 at 16:01, Nicolas Anquetil <nicolas.anquetil@inria.fr> wrote:
thanks for both replies.
- I was under the impression that the 64bit VM was precisely
intended to remove dependencies on 32bits libraries ... ?
- and yes, you are right, I should have called on the plugin, not
the vm
thanks again
nicolas
On 12/01/2017 14:43, Hilaire wrote:
If you are using Pharo on a Linux 64 bits system you need the Linux 32
bits librararies. There are not installed by default on Linux.
You can follow these procedure to install the missing 32 bits libraries:
http://www.drgeo.eu/faq#TOC-Debian-Jessie-Ubuntu-LinuxMint-12.04-LTS1
Le 12/01/2017 à 12:26, Nicolas Anquetil a écrit :
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
On 12/01/2017 14:44, Nicolai Hess
wrote:
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.anquetil@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
--
Nicolas Anquetil -- MCF (HDR)
Project-Team RMod
The reason is that the vm binary is 64bit but the interpreter is for 32bit images. Therefor the plugins are 32bit, too. If there will be a 64bit vm plus image the dependencies would go away. We are close to that but not there. Norbert
Am 12.01.2017 um 15:00 schrieb Nicolas Anquetil <nicolas.anquetil@inria.fr>:
thanks for both replies.
- I was under the impression that the 64bit VM was precisely intended to remove dependencies on 32bits libraries ... ? - and yes, you are right, I should have called on the plugin, not the vm
thanks again
nicolas
On 12/01/2017 14:43, Hilaire wrote:
If you are using Pharo on a Linux 64 bits system you need the Linux 32 bits librararies. There are not installed by default on Linux.
You can follow these procedure to install the missing 32 bits libraries: http://www.drgeo.eu/faq#TOC-Debian-Jessie-Ubuntu-LinuxMint-12.04-LTS1 <http://www.drgeo.eu/faq#TOC-Debian-Jessie-Ubuntu-LinuxMint-12.04-LTS1>
Le 12/01/2017 à 12:26, Nicolas Anquetil a écrit :
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
On 12/01/2017 14:44, Nicolai Hess wrote: 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.anquetil@inria.fr <mailto:nicolas.anquetil@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
-- Nicolas Anquetil -- MCF (HDR) Project-Team RMod
If you are using Pharo on a Linux 64 bits system you need the Linux 32 bits librararies. There are not installed by default on Linux. You can follow these procedure to install the missing 32 bits libraries: http://www.drgeo.eu/faq#TOC-Debian-Jessie-Ubuntu-LinuxMint-12.04-LTS1 Le 12/01/2017 à 12:26, Nicolas Anquetil a écrit :
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
-- Dr. Geo http://drgeo.eu
participants (5)
-
Dimitris Chloupis -
Hilaire -
Nicolai Hess -
Nicolas Anquetil -
Norbert Hartl