• AVR Freaks

Helpful Replylibmchpusb-1.0.so

Author
ch
Starting Member
  • Total Posts : 50
  • Reward points : 0
  • Joined: 2011/04/19 02:06:27
  • Location: Autriche
  • Status: offline
2013/06/11 06:48:28 (permalink)
0

libmchpusb-1.0.so

Hi,
 
on Linux, MPLAB X installs a symlink from /usr/local/lib/libmchpusb-1.0.so to /opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0.
This causes ldconfig to create another symlink, from /usr/local/lib/libusb-1.0.so.0 to /usr/local/lib/libmchpusb-1.0.so.
This additional symlink causes other programs needing libusb to fail:
% qemu
qemu: symbol lookup error: qemu: undefined symbol: libusb_get_device_speed

 
Please either really rename the library to libmchpusb, or stop installing the symlink in a public library directory.
 
Thanks,
C.
#1
prj
Super Member
  • Total Posts : 218
  • Reward points : 0
  • Joined: 2009/12/01 14:35:45
  • Location: 0
  • Status: offline
Re:libmchpusb-1.0.so 2013/06/24 14:03:57 (permalink)
0
Can you give us the exact syntax of the ldconfig command that produces this result? Thanks.
#2
ch
Starting Member
  • Total Posts : 50
  • Reward points : 0
  • Joined: 2011/04/19 02:06:27
  • Location: Autriche
  • Status: offline
Re:libmchpusb-1.0.so 2013/06/24 14:37:11 (permalink)
#3
mosesm
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2008/03/07 22:09:15
  • Location: 0
  • Status: offline
Re:libmchpusb-1.0.so 2013/07/03 09:56:51 (permalink)
0
I would like to confirm this bug and state that it is *very* annoying!  I have had this problem but not been able to pinpoint the cause of the link re-appearing every so often.  I'm using Ubuntu 12.04 and my operating procedure has been for a while to open a terminal to /usr/local/lib and run sudo rm libusb* every time I run another program that uses libusb.  The version of libusb that is included in MplabX is old which is what causes the errors.
#4
ch
Starting Member
  • Total Posts : 50
  • Reward points : 0
  • Joined: 2011/04/19 02:06:27
  • Location: Autriche
  • Status: offline
Re:libmchpusb-1.0.so 2013/07/03 10:05:54 (permalink)
0
In the meantime I have found that some program drops an old libusb-* into /usr/lib as well - I suspect this is from the MPLAB X installer, but haven't had time yet to confirm this.
 
C.
#5
ljkenny
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2013/10/15 03:52:33
  • Location: 0
  • Status: offline
Re:libmchpusb-1.0.so 2013/10/15 03:53:25 (permalink) ☄ Helpfulby jcoppens 2015/03/13 10:11:05
0
+1
 
Is anything being done about this?
#6
Jump to:
© 2020 APG vNext Commercial Version 4.5