seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

libftd2xx.so - there is no such file or directory

Fri Nov 07, 2014 4:38 pm

Hello! I'm using Raspberry Pi B+ with Raspbian on board. I want to install library libftd2xx 1.1.12. I already compiled that (http://www.ftdichip.com/Support/Documen ... nux%20.pdf) but when I wan to execute some example I get the error like "error while loading shared libraries: libftd2xx.so: cannot open shared object file: No such file or directory". I put the same symlink in other directories according to files in /etc/ld.so.conf.d". I changed also "LD_LIBRARY_PATH" to "/usr/local/lib". I saw similar topic but there was no solution. Have some ideas?

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Fri Nov 07, 2014 8:22 pm

After you update /etc/ld.so.conf.d you MUST run depmod -a to ensure all the library info is built into the system files. It's not good enough to just reboot, you may need to do that after running depmod.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Fri Nov 07, 2014 8:43 pm

DougieLawson wrote:After you update /etc/ld.so.conf.d you MUST run depmod -a to ensure all the library info is built into the system files. It's not good enough to just reboot, you may need to do that after running depmod.
I didn't change nothing in /etc/ld.so.conf.d". I mean I checked what directories with libraries are written there and then I made symlinks accordingly.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Fri Nov 07, 2014 9:20 pm

If you add any new library or symlink to a library run depmod.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: libftd2xx.so - there is no such file or directory

Fri Nov 07, 2014 9:34 pm

DougieLawson wrote:If you add any new library or symlink to a library run depmod.
I think you've confused depmod (which rebuilds the kernel module dependency tables) and ldconfig (which rebuilds the system library tables).

There's no kernel modules involved here, so sudo ldconfig should be run.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 5:25 am

rpdom wrote:
DougieLawson wrote:If you add any new library or symlink to a library run depmod.
I think you've confused depmod (which rebuilds the kernel module dependency tables) and ldconfig (which rebuilds the system library tables).

There's no kernel modules involved here, so sudo ldconfig should be run.
I was puting "ldconfig" usually always after some changes in library paths.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 10:01 am

Have you followed the instructions here: http://www.ftdichip.com/Drivers/D2XX/Li ... -linux.txt
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 12:48 pm

DougieLawson wrote:Have you followed the instructions here: http://www.ftdichip.com/Drivers/D2XX/Li ... -linux.txt
I wrote in the first post I did it.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 2:08 pm

Then you'll need to ask FTDI for support.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 3:34 pm

DougieLawson wrote:Then you'll need to ask FTDI for support.
But I don't think it's a problem with device. It's a problem with OS.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Sat Nov 08, 2014 6:51 pm

seprob wrote:
DougieLawson wrote:Then you'll need to ask FTDI for support.
But I don't think it's a problem with device. It's a problem with OS.
It's their library code that you're trying to install.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Sun Nov 09, 2014 11:13 am

DougieLawson wrote:
seprob wrote:
DougieLawson wrote:Then you'll need to ask FTDI for support.
But I don't think it's a problem with device. It's a problem with OS.
It's their library code that you're trying to install.
But when I want to execute the program it doesn't see the shared object.

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: libftd2xx.so - there is no such file or directory

Sun Nov 09, 2014 12:25 pm

Go and ask the people who wrote the code. Because there's no other way to get this thing to work.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

seprob
Posts: 18
Joined: Fri Nov 07, 2014 4:23 pm

Re: libftd2xx.so - there is no such file or directory

Wed Nov 12, 2014 4:27 pm

DougieLawson wrote:Go and ask the people who wrote the code. Because there's no other way to get this thing to work.
I am so surprised but it helped. They send me back correct files (libftd2xx.so.1.1.12 and libftd2xx.a) and I replaced them and then everything went good.

jchen6668
Posts: 1
Joined: Wed Mar 25, 2015 5:50 am

Re: libftd2xx.so - there is no such file or directory

Wed Mar 25, 2015 6:05 am

Who did you ask for the libftd2xx.so.1.1.12 and libftd2xx.a from, FTDI?
I've encountered the same problem and do not know where to go.
Thanks very much in advance,
Jason

Return to “Troubleshooting”