Hi, I'm a bit irritated: Creating symbolic link to /lib/x86_64-linux-gnu/libc.so.6 Can't find libc.so.6 in any default locations You will need to manually create a symbolic link from /usr/local/VASmalltalk/9.1x64/bin/libc.so to libc.so.6 FAILED: Press return to continue Installation of VA Smalltalk Client Completed root@emerald:/home/joachim/Downloads/VA 9.1.0_x64/IDE# find / -name libc.so.6 /lib/x86_64-linux-gnu/libc.so.6 root@emerald:/home/joachim/Downloads/VA 9.1.0_x64/IDE# ls /lib/x86_64-linux-gnu/libc.so.6 -liah 399148 lrwxrwxrwx 1 root root 12 Sep 7 09:55 /lib/x86_64-linux-gnu/libc.so.6 -> libc-2.27.so So what is actually wrong on this freshly installed Kubuntu 18.04.1 machine? Is /lib/x86_64-linux-gnu/ not a default location? What could've gone wrong? Best, Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Now that I've added the symbolic link by hand, I still cannot start environments: root@emerald:/usr/local/VASmalltalk/9.1x64/bin# ./vasetup ./environments: Zeile 42: ./es: Datei oder Verzeichnis nicht gefunden The error message means: File not found. Looking into the environments script, it seems like the $environments_folder cannot be resolved (notice I tried as root, so no file permission problems here). So I added an echo to see what that folder might be, and it is /usr/local/VASmalltalk/9.1x64/environments. There is an executable namend .es in that folder: 145338 20K -rwxr-xr-x 1 root root 18K Mai 24 2018 es But it has another size than the one in /bin: 144826 20K -rwxr-xr-x 1 root root 19K Jul 18 22:31 es Not sure if that is relevant, though. So what do I do now? Joachim
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
On Sun, Nov 25, 2018 at 7:05 AM Joachim Tuchel <[hidden email]> wrote:
That's strange... That looks like a standard path and should have been found. In the terminal I see you are running with root...I am OK to assume you run the original `vainstall` with root or at least `sudo` too, right? I know we have some bash that checks on locations etc..I will see if I have something wrong there.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
On Mon, Nov 26, 2018 at 4:25 AM Joachim Tuchel <[hidden email]> wrote:
The problem I think is that the 'environments' shipped is 32 bits, no matter what the "VA Smalltalk" is. You can consider "Enviroments" like a tool, which could have been written with X language. In this case, it just happens that it was VA too ;) But it doesn't mean that the VM and image that Environment runs is the same as the one you are installing.... So... my gut feeling is that you are missing 32 bits libs... You know..you need the classic apt-get commands to install the 32 bits libs... If you are unsure...just install the VA 32 version with the .deb so that all dependencies are in and then just remove /usr/local/VASmalltalk/9.1x86. Else, try: sudo apt-get --assume-yes install xterm sudo apt-get --assume-yes install libxm4:i386 It would be nice if "Enviroments" could be at least in the same bit (32 vs 64) so that you don't need to deal with installing 32 bits libs... But so far, I think Environments is based on 8.6.1 so we would have to first migrate that to 9.1. I will pass this info to our Environments expert and we will get back to you.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
BTW...if the apt-get didn't fix it, then please send the output of `ldd es` to the one inside Environments. Best, On Mon, Nov 26, 2018 at 11:08 AM Mariano Martinez Peck <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Mariano Martinez Peck-2
Mariano, I am indeed missing the 32 bit libs on that machine. I wanted to test the whole thing on a machine which is clear of anything 32 bits. So I have to work without environments on that machine. Not a big deal, we did that for decades. Just good to know. Joachim Am Montag, 26. November 2018 15:08:31 UTC+1 schrieb marianopeck:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Mariano Martinez Peck-2
Mariano, Am Montag, 26. November 2018 15:01:11 UTC+1 schrieb marianopeck:
agreed.
yes, I seem to remember the script will complain if it is not run with root privileges.
Well, the ckeck has been performed and printed the above ;-) Joachim
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Mariano Martinez Peck-2
ldd just says es is not dynamically bound. Haven't checked with 32 bits libraries, though, because the purpose of the test machine was to be free of anything 32 bits...
-- Am Montag, 26. November 2018 15:38:04 UTC+1 schrieb marianopeck:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
Mariano, I now created an image directory in my user's Documents folder and copied teh abt script together with abt.icx and abt.ini from the newimage folder. Here's what starting the script looks like: joachim@emerald:~/Dokumente/kto64_image$ ./abt /usr/local/VASmalltalk/9.1x64/bin/es: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory And it is right... joachim@emerald:~/Dokumente/kto64_image$ sudo find / -name libXm* /usr/lib/x86_64-linux-gnu/libXmu.so.6.2.0 /usr/lib/x86_64-linux-gnu/libXmuu.so.1.0.0 /usr/lib/x86_64-linux-gnu/libXmu.so.6 /usr/lib/x86_64-linux-gnu/libXmuu.so.1 I wonder if this is a consequence of the prematurely exited installation script or if my KUbuntu installation is broken... If I understand the vainstall script correctly, this library is part of Motif (hence its name ;-) ), which should be installed using apt-get before VAST gets installed, right? I couldn't find where the link to libc.so.6 is created, so I couldn't check if I can fix this somehow... Has anybody successfully installed VAST 64 on a pure 64 bit Ubuntu? Which (sub)distrro? Joachim
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
On Tue, Nov 27, 2018 at 6:48 AM Joachim Tuchel <[hidden email]> wrote:
I suspect the reason might be that one...that when it failed to create the libc link, the script didn't continue with installing the dependencies.
Can you tell me what's the output of `$(uname -s)` ?
You are right. I am also don't see where the libc is created and how that failing would skip the rest. I will reach the team and come back to you. As a workaround you could: apt-get --assume-yes install xterm apt-get --assume-yes install libxm4 Can you confirm that works?
Yes. Not only I use Mint 64 bits for my daily development but also, Ubuntu 18.04 64 bits was part of our official set of platforms we certify while making the release. And yeah, a fresh install that should not have had any 32bits installed...
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Mariano,
no, unfortunately not. I deleted the VM completely and am in process of installing a new one.
I seem to remember I saw these two in the vainstall script... First, I'll install a new Kubuntu VM, then I'll retry vainstall and after that I'll try this.
Yepp, I want to be sure the 64 bit stuff works before I deploy ;-) Joachim
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
So I tried again on a fresh install of Kubuntu 18.04.1 - same problem: Vorgeschlagene Pakete: xfonts-cyrillic Die folgenden NEUEN Pakete werden installiert: xterm 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 257 nicht aktualisiert. Es müssen 661 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 1.981 kB Plattenplatz zusätzlich benutzt. Holen:1 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 xterm amd64 330-1ubuntu2 [661 kB] Es wurden 661 kB in 1 s geholt (1.161 kB/s). Vormals nicht ausgewähltes Paket xterm wird gewählt. (Lese Datenbank ... 180851 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../xterm_330-1ubuntu2_amd64.deb ... Entpacken von xterm (330-1ubuntu2) ... Trigger für mime-support (3.60ubuntu1) werden verarbeitet ... xterm (330-1ubuntu2) wird eingerichtet ... Trigger für man-db (2.8.3-2) werden verarbeitet ... Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ... Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: libmotif-common Die folgenden NEUEN Pakete werden installiert: libmotif-common libxm4 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 257 nicht aktualisiert. Es müssen 1.003 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 3.125 kB Plattenplatz zusätzlich benutzt. Holen:1 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 libmotif-common all 2.3.8-2build1 [10,8 kB] Holen:2 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 libxm4 amd64 2.3.8-2build1 [993 kB] Es wurden 1.003 kB in 1 s geholt (1.552 kB/s). Vormals nicht ausgewähltes Paket libmotif-common wird gewählt. (Lese Datenbank ... 180894 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libmotif-common_2.3.8-2build1_all.deb ... Entpacken von libmotif-common (2.3.8-2build1) ... Vormals nicht ausgewähltes Paket libxm4:amd64 wird gewählt. Vorbereitung zum Entpacken von .../libxm4_2.3.8-2build1_amd64.deb ... Entpacken von libxm4:amd64 (2.3.8-2build1) ... libmotif-common (2.3.8-2build1) wird eingerichtet ... Trigger für libc-bin (2.27-3ubuntu1) werden verarbeitet ... libxm4:amd64 (2.3.8-2build1) wird eingerichtet ... Trigger für libc-bin (2.27-3ubuntu1) werden verarbeitet ... Vormals nicht ausgewähltes Paket vasmalltalk-9.1x64-admintools wird gewählt. (Lese Datenbank ... 180945 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von VASmalltalk-9.1.0-x64-adminTools.deb ... VA Smalltalk 9.1x64 Pre-Install Script for Linux completed. Entpacken von vasmalltalk-9.1x64-admintools (9.1.0) ... vasmalltalk-9.1x64-admintools (9.1.0) wird eingerichtet ... VA Smalltalk 9.1x64 Post-Install Script for Linux completed. Vormals nicht ausgewähltes Paket vasmalltalk-9.1x64-client wird gewählt. (Lese Datenbank ... 180969 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von VASmalltalk-9.1.0-x64-client.deb ... Entpacken von vasmalltalk-9.1x64-client (9.1.0) ... vasmalltalk-9.1x64-client (9.1.0) wird eingerichtet ... Linking legacy X11 directory /usr/X11R6/lib/X11 to system X11 directory Linking legacy X11 directory /usr/X11R6/bin to system X11 directory Installing default XKeysymDB file in /usr/share/X11 Creating symbolic link to /lib/x86_64-linux-gnu/libc.so.6 Can't find libc.so.6 in any default locations You will need to manually create a symbolic link from /usr/local/VASmalltalk/9.1x64/bin/libc.so to libc.so.6 FAILED: Press return to continue Am Dienstag, 27. November 2018 14:47:44 UTC+1 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Joachim, Thanks for double checking. We just had a meeting with another engineer and we understood and found the problem. The main problem is that current Environments is based on 8.6.1 which is of course 32 bits only. If you extract the .deb installer and go to control.tar, inside that you will find a file called 'postinst'. That's the guy that makes the symlink to libc. In your case, it's failing to create the symlink but not to the 64 bits version for VA (that should have been created perfectly) but to the 32 bits version, because it's needed by Enviroments (so far). The error message was misleading because it was a copy paste... if you see 'postinst' you will see what I mean. Now, for 9.2 we will: 1) Update Environemnts to 9.1 and provide 32 and 64 bits version (Case 64182) 2) The installer will install the Environments with the same bitness of the VA you are installing (Case 64262) Once we have that, you should NOT see that symlink error anymore and you should be able to run Environments 64 bits without any 32 bit lib. The final piece that is not clear to me is why the external libs were not installed (xterm, libxm4). They happens BEFORE we install our debs (and hence the symlink issue). Those should have been installed and hence you example below should have worked: joachim@emerald:~/Dokumente/kto64_image$ ./abt /usr/local/VASmalltalk/9.1x64/bin/es: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory Any idea on how that last thing could have happened? Thanks in advance, On Tue, Nov 27, 2018 at 12:40 PM Joachim Tuchel <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Mariano, Am Dienstag, 27. November 2018 17:34:14 UTC+1 schrieb marianopeck:
I see and I've found it in postinst. The error is well hidden ;-) I cannot tell if that was true in my first installation, but for this new one, I can confirm that the 64 bits link was created: root@emerald:~/Downloads/VAST9.1# cd /usr/local/VASmalltalk/ root@emerald:/usr/local/VASmalltalk# ls 9.1x64 root@emerald:/usr/local/VASmalltalk# find . -name libc.so* ./9.1x64/bin/libc.so root@emerald:/usr/local/VASmalltalk# ls 9.1x64/bin/libc.so -lisah 543613 0 lrwxrwxrwx 1 root root 31 Nov 27 16:36 9.1x64/bin/libc.so -> /lib/x86_64-linux-gnu/libc.so.6 Not sure I really checked that after the first fail, maybe I just searched for the file in /lib/x86_64... and was immediately shocked ;-)
Who am I to comment this. On a day like today...
I appreciate that. Both make perfect sense.
No, to be honest, I have no idea. But on second attempt, you can see in my pasted log that libxm was installed and this time I can create a folder and rund abt by just executing the abt script. So this time I had success, which basically looks like this: So all that was needed was a new Kubntu installation and a bit of handwork... ;-) I can go on from here. Thanks for looking into the Environments stuff and even more for adding this to 9.2 Joachim
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
On Tue, Nov 27, 2018 at 5:20 PM Joachim Tuchel <[hidden email]> wrote:
hehehehehe indeed. It took us some time to track it down and understand it ;)
Ok, I bet (and I will assume) it was generated too.
Excellent. BTW, for 9.2 what we plan to do once Environments is shipped with same bitness of the VA you are installing, is to simply copy the symlink already generated for VA...so do not look again on paths etc...just take the one you already look for VA.
I think it will just remain as a mystery why that didn't work out the first time hhahahaha.
I am glad it finally worked out. Our pleasure to help you and thanks for the report. Best regards, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |