Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebuilt Linux binary does not work on 64-bit #166

Closed
prusnak opened this issue Dec 26, 2012 · 2 comments
Closed

Prebuilt Linux binary does not work on 64-bit #166

prusnak opened this issue Dec 26, 2012 · 2 comments

Comments

@prusnak
Copy link

prusnak commented Dec 26, 2012

When I download Linux binary form http://energia.nu/download/ and run it on 64-bit system I get:

java.lang.UnsatisfiedLinkError: /home/stick/Applications/energia-0101E0009/lib/librxtxSerial.so: /home/stick/Applications/energia-0101E0009/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver

When I explored the version built from source I found out that librxtxSerial.so and librxtxSerial64.so are the same file (64-bit), which is not true for 32-bit download.

Are we supposed to manually rename librxtxSerial64.so to librxtxSerial.so on 64-bit machine? Some autodetection in RXTXcomm.jar would be nice ...

@pauln
Copy link

pauln commented Jan 26, 2013

Manually renaming the file as above worked for me on a 64-bit system. It'd definitely be good if it could be automatically handled - or at least if it could be caught and a sensible error message given (which could state that you need to do the rename on 64-bit systems).

@ghost
Copy link

ghost commented Mar 6, 2013

Yes, I had the same issue and renaming the files was what I had to do to be able to start it at all. The second thing was another error that prevented me from compiling anything:

/home/james/Energia/energia-0101E0009/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

sudo apt-get install ia32-libs

was the solution. I'm running Ubuntu 12.10 64-bit.

@robertinant
Copy link
Member

Linux 64-bit has been added to the releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants