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

Ubuntu 64-bit libftdi.so.1 not found #8

Open
vicatcu opened this issue Sep 28, 2013 · 2 comments
Open

Ubuntu 64-bit libftdi.so.1 not found #8

vicatcu opened this issue Sep 28, 2013 · 2 comments

Comments

@vicatcu
Copy link

vicatcu commented Sep 28, 2013

While running the Papilio-Loader_GUI when trying to load the Hello World image a message is displayed in the console window indicating that libftdi.so.1 is not found. We did a bunch of digging and patching and got it to work though.

The solution was to rebuild the papilio-prog executable from source. Then we made a linux64 folder in the Papilio-Loader/Java-GUI/programmer folder and copied the contents of the adjacent linux32 folder into it. We then replaced the papilio-prog executable in the linux64 folder with the one we built from source. Lastly, we modified the PapilioLoader.java file to change line 224 from:

programmerPath = new File(rootProgrammerPath, "linux32");

to

programmerPath = new File(rootProgrammerPath, "linux64");

We then ran build.sh to rebuild the class files for java, and launched the newly created local jar file by running java -jar papilio-loader.

Worked like a charm after that.

@karma0
Copy link

karma0 commented Jan 26, 2014

I'm having the same exact problem -- I'm on 64-bit Ubuntu 13.10.

The shared object exists here on my system: /usr/lib/x86_64-linux-gnu/libftdi.so.1

I'll see if I can fix it using vicatcu's solution. Thanks, vicatcu!

@karma0
Copy link

karma0 commented Jan 26, 2014

I followed vicatcu's instructions and everything seemed to work fine. In order to use papilio-prog from the command line, you will need to do the following:

sudo unlink /usr/local/bin/papilio-prog
sudo ln -s /opt/GadgetFactory/papilio-loader/programmer/linux64/papilio-prog /usr/local/bin/

The reason is that the install script still points the link to the 32-bit version. The java file that he mentions to edit is located here: Java-GUI/src/net/gadgetfactory/papilio/loader/PapilioLoader.java

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

No branches or pull requests

2 participants