Skip to content

Instantly share code, notes, and snippets.

@zeha

zeha/gist:82b0d4025c942fcd43de Secret

Created Jun 24, 2013
Embed
What would you like to do?
# State after fresh MPLAB X install:
ch@nq:/usr/local/lib % ls -l
total 252
lrwxrwxrwx 1 ch staff 19 Feb 5 13:47 libftd2xx.so -> libftd2xx.so.1.1.12*
-rwxr-xr-x 1 ch staff 223388 Feb 5 13:47 libftd2xx.so.1.1.12*
lrwxrwxrwx 1 root root 73 Jun 24 23:35 libmchpusb-1.0.so -> /opt/microchip/mplabx/mplab_ide/mplablibs/modules/lib/libusb-1.0.so.0.0.0*
lrwxrwxrwx 1 ch staff 46 Jän 8 11:10 libpcsclite.so -> /usr/lib/x86_64-linux-gnu/libpcsclite.so.1.0.0
drwxrwsr-x 3 root staff 4096 Mai 7 00:45 ocaml/
drwxrwsr-x 4 root staff 4096 Mai 10 21:17 python2.6/
drwxr-sr-x 4 ch staff 4096 Jun 14 01:18 python2.7/
drwxr-sr-x 3 ch staff 4096 Jän 21 10:17 python3.2/
drwxrwsr-x 3 root staff 4096 Apr 16 19:29 python3.3/
drwxr-sr-x 4 root staff 4096 Mai 10 21:17 site_ruby/
drwxr-sr-x 3 ch staff 4096 Jän 13 15:59 x86_64-linux-gnu/
# Run ldconfig, as the system package manager would:
23:35 ch@nq:/usr/local/lib % sudo ldconfig
# Observe the newly created libusb-1.0.so.0 symlink:
23:35 ch@nq:/usr/local/lib % ls -la
total 260
drwxr-xr-x 9 root staff 4096 Jun 24 23:35 ./
drwxrwsr-x 10 root staff 4096 Jän 8 11:13 ../
lrwxrwxrwx 1 ch staff 19 Feb 5 13:47 libftd2xx.so -> libftd2xx.so.1.1.12*
-rwxr-xr-x 1 ch staff 223388 Feb 5 13:47 libftd2xx.so.1.1.12*
lrwxrwxrwx 1 root root 73 Jun 24 23:35 libmchpusb-1.0.so -> /opt/microchip/mplabx/mplab_ide/mplablibs/modules/lib/libusb-1.0.so.0.0.0*
lrwxrwxrwx 1 ch staff 46 Jän 8 11:10 libpcsclite.so -> /usr/lib/x86_64-linux-gnu/libpcsclite.so.1.0.0
lrwxrwxrwx 1 root root 17 Jun 24 23:35 libusb-1.0.so.0 -> libmchpusb-1.0.so*
drwxrwsr-x 3 root staff 4096 Mai 7 00:45 ocaml/
drwxrwsr-x 4 root staff 4096 Mai 10 21:17 python2.6/
drwxr-sr-x 4 ch staff 4096 Jun 14 01:18 python2.7/
drwxr-sr-x 3 ch staff 4096 Jän 21 10:17 python3.2/
drwxrwsr-x 3 root staff 4096 Apr 16 19:29 python3.3/
drwxr-sr-x 4 root staff 4096 Mai 10 21:17 site_ruby/
drwxr-sr-x 3 ch staff 4096 Jän 13 15:59 x86_64-linux-gnu/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.