LPCXpresso v8.2.2 Install Ubuntu 18.04 i386 libs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso v8.2.2 Install Ubuntu 18.04 i386 libs

Jump to solution
4,625 Views
a_bet
Contributor IV

Hi to you all,
I'm trying to install LPCXpresso v8.2.2 on my new Ubuntu 18.04 (amd64 of course) laptop.
Following the read me I issue the command

    sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libpangox-1.0-0:i386 \
         libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 \
        libncurses5:i386 libudev1:i386 libusb-1.0:i386 libusb-0.1:i386 \
        gtk2-engines-murrine:i386 libnss3-1d:i386

In order to install i386 compatible libraries.
Here's the output

Building dependency tree       
Reading state information... Done
Note, selecting 'libusb-1.0-0:i386' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-0-dev:i386' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-doc:i386' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-doc' instead of 'libusb-1.0-doc:i386'
Note, selecting 'libusb-0.1-4:i386' for regex 'libusb-0.1'
Package libnss3-1d:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

When then I try to execute the installer with

sudo ./Installer_LPCXpresso_8.2.2_650_Linux-x86

Simply nothing happens.
Has anyone already had similar issues?

Best,
Andrea

0 Kudos
Reply
1 Solution
4,331 Views
a_bet
Contributor IV

So I got it to work. Thanks nxf46838‌ for the hint.
What I needed was

sudo apt-get install libnss3:i386

sudo apt-get install libgtk-3-0:i386
sudo apt-get install libxtst6:i386

Hope this helps someone with the same problem.

Regards,
Andrea

View solution in original post

0 Kudos
Reply
7 Replies
3,136 Views
robin48gx
Contributor I

Having problems installing this, gives the following

 

$ cd ~/Downloads/lcpxpresso/
NOVAi5 2022-10-26_11:40 ~/Downloads/lcpxpresso
$ sudo ./Installer_LPCXpresso_8.2.2_650_Linux-x86
invalid command name "bind"
while executing
"::unknown bind Text <Tab>"
("uplevel" body line 1)
invoked from within
"uplevel 1 $next $args"
(procedure "::obj::Unknown" line 3)
invoked from within
"bind Text <Tab>"
(procedure "::InstallJammer::InitializeGui" line 19)
invoked from within
"::InstallJammer::InitializeGui "
(procedure "::InstallJammer::InitInstall" line 68)
invoked from within
"::InstallJammer::InitInstall"
(file "/installkitvfs/main.tcl" line 39322)
NOVAi5 2022-10-26_11:40 ~/Downloads/lcpxpresso
$ uname -a
Linux robin-MS-7586 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
NOVAi5 2022-10-26_11:40 ~/Downloads/lcpxpresso
$

 

0 Kudos
Reply
3,137 Views
robin48gx
Contributor I

Hi mine fails to install and gives the following

 

NOVAi5 2022-10-26_11:33 ~/Downloads/lcpxpresso
$ sudo ./Installer_LPCXpresso_8.2.2_650_Linux-x86
invalid command name "bind"
while executing
"::unknown bind Text <Tab>"
("uplevel" body line 1)
invoked from within
"uplevel 1 $next $args"
(procedure "::obj::Unknown" line 3)
invoked from within
"bind Text <Tab>"
(procedure "::InstallJammer::InitializeGui" line 19)
invoked from within
"::InstallJammer::InitializeGui "
(procedure "::InstallJammer::InitInstall" line 68)
invoked from within
"::InstallJammer::InitInstall"
(file "/installkitvfs/main.tcl" line 39322)
NOVAi5 2022-10-26_11:33 ~/Downloads/lcpxpresso
$

0 Kudos
Reply
4,331 Views
jakubr
Contributor I

Would it be a problem for NXP to update INSTALL.txt file to avoid this installation issue?

0 Kudos
Reply
4,332 Views
a_bet
Contributor IV

So I got it to work. Thanks nxf46838‌ for the hint.
What I needed was

sudo apt-get install libnss3:i386

sudo apt-get install libgtk-3-0:i386
sudo apt-get install libxtst6:i386

Hope this helps someone with the same problem.

Regards,
Andrea

0 Kudos
Reply
4,331 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

As per in your log I see that you wasn't able to download one of the packages,

seems like the package isn't available for ubuntu 18.04, could you please try

sudo apt-get libnss3:i386

Then try to run the installation please,

 

Hope this helps!

Regards,

Aldo.

0 Kudos
Reply
4,331 Views
a_bet
Contributor IV

Thanks for the reply.
I solved the lib error as per here.

The right command was:

sudo apt-get install libnss3:i386

Still, I'm not able to run LPCXpresso.
Here's the log as I try to launch:

!SESSION 2019-03-28 19:09:05.635 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2019-03-28 19:09:06.146
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /home/abet/.eclipse/org.eclipse.platform_4.5.2_820701010_linux_gtk_x86/configuration/org.eclipse.osgi/240/0/.cp/libswt-pi-gtk-4530.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /home/abet/.swt/lib/linux/x86/libswt-pi-gtk-4530.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /home/abet/.swt/lib/linux/x86/libswt-pi-gtk.so

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
    at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:38)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:134)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:774)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:169)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:111)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
0 Kudos
Reply
4,331 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

 

Thank you for the update, I missed that one,

As I see you have some issue with another library for your Ubuntu version,

I will be worth trying installing a newer one (i.e. libgtk-3-0), also it is recommended to use our newer tool MCUXpresso which you can download right here:

[https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-t...]

 

Regards,
Aldo.

0 Kudos
Reply