I'm afraid this is yet another annoying Ubuntu question but I'll ask here anyway. I just got a new laptop machine with Ubuntu 15.04 pre-installed. Can someone remind me of the short list of 32-bit libraries that need to be installed? Sorry for the newbie question but I'm trying to avoid cluttering a new system with random package installs. So far I have: sudo apt-get install lib32z1 sudo apt-get install libbx11-6:i386 Presumably I'm missing a package related to X11 because I am getting the (possibly misleading) "could not find display driver vm-display-X11" runtime error. Thanks, Dave |
On 08/17/2015 06:41 PM, David T. Lewis wrote: > > I'm afraid this is yet another annoying Ubuntu question but I'll ask > here anyway. > > I just got a new laptop machine with Ubuntu 15.04 pre-installed. > > Can someone remind me of the short list of 32-bit libraries that need > to be installed? Sorry for the newbie question but I'm trying to avoid > cluttering a new system with random package installs. > > So far I have: > > sudo apt-get install lib32z1 > sudo apt-get install libbx11-6:i386 > > Presumably I'm missing a package related to X11 because I am getting the > (possibly misleading) "could not find display driver vm-display-X11" > runtime error. > > Thanks, > Dave My setup-pharo.sh script is this dpkg --add-architecture i386 apt-get update apt-get --yes install cmake zip bash-completion ruby git xz-utils debhelper devscripts apt-get --yes install libc6-dev:i386 libasound2:i386 libasound2-dev:i386 libasound2-plugins:i386 apt-get --yes install libssl-dev:i386 libssl1.0.0:i386 libssh2-1:i386 libfreetype6-dev:i386 libx11-dev:i386 libsm-dev:i386 libice-dev:i386 apt-get --yes install build-essential gcc-multilib g++ apt-get --yes install libgl1-mesa-dev:i386 libgl1-mesa-glx:i386 It gets Pharo and Squeak up and running. I do not know what the minimum subset of this would be. I harvested this from some script many years ago and just added when necessary. Hope this helps. Jimmie |
In reply to this post by David T. Lewis
Hi David,
and thanks to Jimmie for his list. But let me recommend http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild. And can I encourage people like Jimmy building their own VMs to read this file and send updates to me. AFAIA Andreas introduced the HowToBuild files in the Qwaq VM build and they;re invaluable. See also On Mon, Aug 17, 2015 at 4:41 PM, David T. Lewis <[hidden email]> wrote:
_,,,^..^,,,_ best, Eliot |
for Pharo to run properly, we need this: sudo apt-get -qq install libc6:i386 sudo apt-get -qq install libuuid1:i386 sudo apt-get -qq install libkrb5-3:i386 libk5crypto3:i386 zlib1g:i386 libcomerr2:i386 libkrb5support0:i386 libkeyutils1:i386 sudo apt-get -qq install libssl1.0.0:i386 sudo apt-get -qq install libfreetype6:i386 but you also have a ppa: Esteban
|
Thanks Esteban (and also Jimmie and Eliot), This looks like the list I was looking for, much appreciated. Oddly, I still get the "could not find display driver vm-display-X11" error on any 32-bit VM (including interpreter VM). I'm sure I must be doing something dumb, but just to check - is anyone else using Ubuntu 15.04? Dave On Tue, Aug 18, 2015 at 11:34:16AM +0200, Esteban Lorenzano wrote: > > for Pharo to run properly, we need this: > > sudo apt-get -qq install libc6:i386 > sudo apt-get -qq install libuuid1:i386 > sudo apt-get -qq install libkrb5-3:i386 libk5crypto3:i386 zlib1g:i386 libcomerr2:i386 libkrb5support0:i386 libkeyutils1:i386 > sudo apt-get -qq install libssl1.0.0:i386 > sudo apt-get -qq install libfreetype6:i386 > > but you also have a ppa: > > http://pharo.org/gnu-linux-installation#ubuntu-ppa-headless-vm <http://pharo.org/gnu-linux-installation#ubuntu-ppa-headless-vm> > > Esteban > > > > On 18 Aug 2015, at 05:56, Eliot Miranda <[hidden email]> wrote: > > > > Hi David, > > > > and thanks to Jimmie for his list. But let me recommend http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild>. And can I encourage people like Jimmy building their own VMs to read this file and send updates to me. AFAIA Andreas introduced the HowToBuild files in the Qwaq VM build and they;re invaluable. See also > > > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32ARM/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32ARM/HowToBuild> > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild> > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux64x64/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux64x64/HowToBuild> > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos32x86/HowToBuild> > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos64x64/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos64x64/HowToBuild> > > http://www.squeakvm.org/svn/squeak/branches/Cog/build.win32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.win32x86/HowToBuild> > > > > On Mon, Aug 17, 2015 at 4:41 PM, David T. Lewis <[hidden email] <mailto:[hidden email]>> wrote: > > > > I'm afraid this is yet another annoying Ubuntu question but I'll ask > > here anyway. > > > > I just got a new laptop machine with Ubuntu 15.04 pre-installed. > > > > Can someone remind me of the short list of 32-bit libraries that need > > to be installed? Sorry for the newbie question but I'm trying to avoid > > cluttering a new system with random package installs. > > > > So far I have: > > > > sudo apt-get install lib32z1 > > sudo apt-get install libbx11-6:i386 > > > > Presumably I'm missing a package related to X11 because I am getting the > > (possibly misleading) "could not find display driver vm-display-X11" > > runtime error. > > > > Thanks, > > Dave > > > > > > > > > > -- > > _,,,^..^,,,_ > > best, Eliot > |
On Tue, Aug 18, 2015 at 9:20 AM, David T. Lewis <[hidden email]> wrote:
I do, using ppa:pharo/stable on unbuntu 15.04 64 bits. Reviewing my packages on synaptic i see pharo-vm-core-i386:i386 seem to depend on: libasound2 libc6 libfreetype6 libgl1-mesa-glx | libgl1 libssl1.0.0 libx11-6. You may want to just install pharo-vm-core-i386 package to get the dependencies and then use that vm or any other you want. Cheers
Javier Pimás Ciudad de Buenos Aires |
> On Tue, Aug 18, 2015 at 9:20 AM, David T. Lewis <[hidden email]> > wrote: > >> >> Thanks Esteban (and also Jimmie and Eliot), >> >> This looks like the list I was looking for, much appreciated. >> >> Oddly, I still get the "could not find display driver vm-display-X11" >> error >> on any 32-bit VM (including interpreter VM). >> >> I'm sure I must be doing something dumb, but just to check - is anyone >> else >> using Ubuntu 15.04? >> > > I do, using ppa:pharo/stable on unbuntu 15.04 64 bits. Reviewing my > packages on synaptic i see pharo-vm-core-i386:i386 seem to depend on: > > libasound2 > libc6 > libfreetype6 > libgl1-mesa-glx | libgl1 > libssl1.0.0 > libx11-6. > > You may want to just install pharo-vm-core-i386 package to get the > dependencies and then use that vm or any other you want. > Thanks Javier, That's a good idea, I will try pharo-vm-core-i386 when I get home tonight. Maybe the mesa GL lib is what I was missing. Thanks, Dave |
In reply to this post by David T. Lewis
Hi David-- > This looks like the list I was looking for, much appreciated. > > Oddly, I still get the "could not find display driver vm-display-X11" > error on any 32-bit VM (including interpreter VM). You can use 'ldd vm-display-X11.so' (or whatever library file) to get a list of libraries that it needs in turn, with indications as to which of those is not installed. -C -- Craig Latta netjam.org +31 6 2757 7177 (SMS ok) + 1 415 287 3547 (no SMS) |
In reply to this post by David T. Lewis
Hi Dave, check the "install-libs32" script in the All-in-One. It works for 14.04, but not sure about 15.04. My guess is you need to install: libice6:i386 libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386 libsm6:i386 On Tue, Aug 18, 2015 at 7:20 AM, David T. Lewis <[hidden email]> wrote: > > Thanks Esteban (and also Jimmie and Eliot), > > This looks like the list I was looking for, much appreciated. > > Oddly, I still get the "could not find display driver vm-display-X11" error > on any 32-bit VM (including interpreter VM). > > I'm sure I must be doing something dumb, but just to check - is anyone else > using Ubuntu 15.04? > > Dave > > > On Tue, Aug 18, 2015 at 11:34:16AM +0200, Esteban Lorenzano wrote: >> >> for Pharo to run properly, we need this: >> >> sudo apt-get -qq install libc6:i386 >> sudo apt-get -qq install libuuid1:i386 >> sudo apt-get -qq install libkrb5-3:i386 libk5crypto3:i386 zlib1g:i386 libcomerr2:i386 libkrb5support0:i386 libkeyutils1:i386 >> sudo apt-get -qq install libssl1.0.0:i386 >> sudo apt-get -qq install libfreetype6:i386 >> >> but you also have a ppa: >> >> http://pharo.org/gnu-linux-installation#ubuntu-ppa-headless-vm <http://pharo.org/gnu-linux-installation#ubuntu-ppa-headless-vm> >> >> Esteban >> >> >> > On 18 Aug 2015, at 05:56, Eliot Miranda <[hidden email]> wrote: >> > >> > Hi David, >> > >> > and thanks to Jimmie for his list. But let me recommend http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild>. And can I encourage people like Jimmy building their own VMs to read this file and send updates to me. AFAIA Andreas introduced the HowToBuild files in the Qwaq VM build and they;re invaluable. See also >> > >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32ARM/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32ARM/HowToBuild> >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32x86/HowToBuild> >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux64x64/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux64x64/HowToBuild> >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos32x86/HowToBuild> >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos64x64/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.macos64x64/HowToBuild> >> > http://www.squeakvm.org/svn/squeak/branches/Cog/build.win32x86/HowToBuild <http://www.squeakvm.org/svn/squeak/branches/Cog/build.win32x86/HowToBuild> >> > >> > On Mon, Aug 17, 2015 at 4:41 PM, David T. Lewis <[hidden email] <mailto:[hidden email]>> wrote: >> > >> > I'm afraid this is yet another annoying Ubuntu question but I'll ask >> > here anyway. >> > >> > I just got a new laptop machine with Ubuntu 15.04 pre-installed. >> > >> > Can someone remind me of the short list of 32-bit libraries that need >> > to be installed? Sorry for the newbie question but I'm trying to avoid >> > cluttering a new system with random package installs. >> > >> > So far I have: >> > >> > sudo apt-get install lib32z1 >> > sudo apt-get install libbx11-6:i386 >> > >> > Presumably I'm missing a package related to X11 because I am getting the >> > (possibly misleading) "could not find display driver vm-display-X11" >> > runtime error. >> > >> > Thanks, >> > Dave >> > >> > >> > >> > >> > -- >> > _,,,^..^,,,_ >> > best, Eliot >> > |
On Tue, Aug 18, 2015 at 08:38:07PM +0200, Craig Latta wrote: > > Hi David-- > > You can use 'ldd vm-display-X11.so' (or whatever library file) to > get a list of libraries that it needs in turn, with indications as to > which of those is not installed. > D'oh! <head smack> Thanks Craig. $ ldd *X11 | grep 'not found' libGL.so.1 => not found libXext.so.6 => not found libSM.so.6 => not found libICE.so.6 => not found On Tue, Aug 18, 2015 at 03:26:40PM -0500, Chris Muller wrote: > > Hi Dave, check the "install-libs32" script in the All-in-One. It > works for 14.04, but not sure about 15.04. > > My guess is you need to install: > > libice6:i386 libgl1-mesa-dri-lts-utopic:i386 > libgl1-mesa-glx-lts-utopic:i386 libsm6:i386 > I think you are right, although the script for 14.04 gives some errors, and loading those two packages did not seem to resolve the GL libraries. But now I'm down to just these two missing libraries: $ ldd *X11 | grep 'not found' libGL.so.1 => not found libXext.so.6 => not found On Tue, Aug 18, 2015 at 12:10:50PM -0300, Javier Pim??s wrote: > > I do, using ppa:pharo/stable on unbuntu 15.04 64 bits. Reviewing my > packages on synaptic i see pharo-vm-core-i386:i386 seem to depend on: > > libasound2 > libc6 > libfreetype6 > libgl1-mesa-glx | libgl1 > libssl1.0.0 > libx11-6. > > You may want to just install pharo-vm-core-i386 package to get the > dependencies and then use that vm or any other you want. > I installed pharo-vm-core-i386 and it works fine. Thank you! :-) Dave |
cool! did apt-get tell which libraries were missing? On Tue, Aug 18, 2015 at 7:24 PM, David T. Lewis <[hidden email]> wrote:
Javier Pimás Ciudad de Buenos Aires |
On Wed, Aug 19, 2015 at 04:52:45PM -0300, Javier Pim??s wrote: > > cool! did apt-get tell which libraries were missing? I don't think that apt-get showed what was missing, although the 'ldd vm-display-X11.so' command that Craig suggested did identify the missing libraries. I still had a hard time relating those libraries to the actual :i386 packages that needed to be installed, and in the end I just followed your advice of loading the Pharo vm package. This worked fine, and it also installed a couple of pharo VMs that I am happy to have on my system. So I still do not know what is the "Minimum 32-bit libs for Ubuntu" but I guess I don't really need to worry about that. It works now and I am happy. Thanks! Dave > > On Tue, Aug 18, 2015 at 7:24 PM, David T. Lewis <[hidden email]> wrote: > > > > > On Tue, Aug 18, 2015 at 08:38:07PM +0200, Craig Latta wrote: > > > > > > Hi David-- > > > > > > You can use 'ldd vm-display-X11.so' (or whatever library file) to > > > get a list of libraries that it needs in turn, with indications as to > > > which of those is not installed. > > > > > > > D'oh! <head smack> > > > > Thanks Craig. > > > > $ ldd *X11 | grep 'not found' > > libGL.so.1 => not found > > libXext.so.6 => not found > > libSM.so.6 => not found > > libICE.so.6 => not found > > > > > > On Tue, Aug 18, 2015 at 03:26:40PM -0500, Chris Muller wrote: > > > > > > Hi Dave, check the "install-libs32" script in the All-in-One. It > > > works for 14.04, but not sure about 15.04. > > > > > > My guess is you need to install: > > > > > > libice6:i386 libgl1-mesa-dri-lts-utopic:i386 > > > libgl1-mesa-glx-lts-utopic:i386 libsm6:i386 > > > > > > > I think you are right, although the script for 14.04 gives some errors, > > and loading those two packages did not seem to resolve the GL libraries. > > > > But now I'm down to just these two missing libraries: > > > > $ ldd *X11 | grep 'not found' > > libGL.so.1 => not found > > libXext.so.6 => not found > > > > On Tue, Aug 18, 2015 at 12:10:50PM -0300, Javier Pim??s wrote: > > > > > > I do, using ppa:pharo/stable on unbuntu 15.04 64 bits. Reviewing my > > > packages on synaptic i see pharo-vm-core-i386:i386 seem to depend on: > > > > > > libasound2 > > > libc6 > > > libfreetype6 > > > libgl1-mesa-glx | libgl1 > > > libssl1.0.0 > > > libx11-6. > > > > > > You may want to just install pharo-vm-core-i386 package to get the > > > dependencies and then use that vm or any other you want. > > > > > > > I installed pharo-vm-core-i386 and it works fine. Thank you! > > > > :-) > > > > Dave > > > > > > > -- > Javier Pim??s > Ciudad de Buenos Aires |
Hi David,
On Wed, Aug 19, 2015 at 3:49 PM, David T. Lewis <[hidden email]> wrote:
Please add your best recollection of what to add to the build.linux32x86/HowToBuild file. Pretty please :-)
_,,,^..^,,,_ best, Eliot |
> Hi David, > > On Wed, Aug 19, 2015 at 3:49 PM, David T. Lewis <[hidden email]> > wrote: > >> >> On Wed, Aug 19, 2015 at 04:52:45PM -0300, Javier Pim??s wrote: >> > >> > cool! did apt-get tell which libraries were missing? >> >> I don't think that apt-get showed what was missing, although the >> 'ldd vm-display-X11.so' command that Craig suggested did identify the >> missing libraries. I still had a hard time relating those libraries to >> the actual :i386 packages that needed to be installed, and in the end I >> just followed your advice of loading the Pharo vm package. This worked >> fine, and it also installed a couple of pharo VMs that I am happy to >> have on my system. >> >> So I still do not know what is the "Minimum 32-bit libs for Ubuntu" >> but I guess I don't really need to worry about that. It works now >> and I am happy. >> > > Please add your best recollection of what to add to the > build.linux32x86/HowToBuild file. Pretty please :-) > Hi Eliot, I'm afraid that I do not really know what all got loaded. All I can say for sure is that I was having trouble locating the right GL package to load on this version of Ubuntu, and that the Pharo VM package loaded up enough stuff to provide the required 32-bit runtimes. Note that this is a runtime library (not *-dev) issue, and it is more of an Ubuntu distro question than a VM question. I have not yet tried a Cog/Spur build on that laptop (although I did do the interpreter build in both 32 and 64 bit variations, so it should work). Dave |
In reply to this post by Eliot Miranda-2
Hi Eliot, These days I had to document the setup needed on Debian 8 to run Cuis and Cuis made applications. This is described at: https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted-UsingGitAndCommandline.md .. The relevant parts here, the minimum set of 32 bit libs to run under Debian is: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6-i386 # This (libc6-i386) was needed to make ldd work on 32 bit programs and dynamic libraries # So, we can do stuff like $ ldd coglinuxht/lib/squeak/4.5-3370/squeak to find about missing libraries sudo apt-get install libuuid1:i386 sudo apt-get install libX11-6:i386 sudo apt-get install libXext6:i386 sudo apt-get install libsm6:i386 # Next 3 are only needed for experimenting with OpenCL sudo apt-get install mesa-common-dev:i386 sudo apt-get install libgl1-mesa-dev:i386 cp /usr/lib/i386-linux-gnu/libOpenCL.so.1 libOpenCL.so This was tested after a fresh OS install. HTH, Juan Vuletich Quoting Eliot Miranda <[hidden email]>: > Please add your best recollection of what to add to the > build.linux32x86/HowToBuild file. Pretty please :-) |
Free forum by Nabble | Edit this page |