I have used libftdi in the past and compiled using the command:
gcc -lftdi -o i2csend i2csend.c
Everything went fine.
Today, on Ubuntu 12.10 I get many errors such as undefined reference to
ftdi_init'`
I understand that libftdi was renamed to libftdi1 so I tried the same command with -lftdi1
and got error:
/usr/bin/ld: cannot find -lftdi1 collect2: error: ld returned 1 exit status
Can anyone explain why?