Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-21 Thread Ben McGinnes
On 16/02/11 9:40 AM, hare krishna wrote:
(a) What OS are you running? - UNIX
(b) Which version? - platform/SUNW,Sun-Fire-V490

There are multiple operating systems which will run on the V490,
including Solaris (of course) and OpenBSD.  Send the output of uname
-a to the list if you can't tell the difference between the name of an
OS and a registered trademark.


Regards,
Ben



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread hare krishna
Hi,

Can someone help me out why i am facing this problem.
OS - Unix.

I have set the
LD_LIBRARY_PATH=/usr/sfw/lib:/lib:/usr/lib:/usr/local/lib:/lib/64:/usr/lib/64

But when i run this command:
gpg --list-keys
i am getting this error:

*ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory
Killed*

Please help me its very urgent.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread Robert J. Hansen
On 2/15/11 4:16 PM, hare krishna wrote:
 Can someone help me out why i am facing this problem.
 OS - Unix.

There is no UNIX operating system.  I am guessing that you're running
some version of x86_64 Solaris, but am uncertain of this.  We'll have a
much easier time helping if you answer these questions:

(a) What OS are you running?
(b) Which version?
(c) From where did you acquire GnuPG?
(d) Where is GnuPG located?


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread hare krishna
This is the output of ldd /gpg/gpg1.4.9/bin/gpg


libresolv.so.2 = /lib/libresolv.so.2
libz.so.1 = /usr/lib/libz.so.1
libbz2.so.1 = /usr/lib/libbz2.so.1
libsocket.so.1 = /lib/libsocket.so.1
libnsl.so.1 = /lib/libnsl.so.1
libusb.so.1 = /usr/sfw/lib/libusb.so.1
libc.so.1 = /lib/libc.so.1
libmp.so.2 = /lib/libmp.so.2
libmd.so.1 = /lib/libmd.so.1
libscf.so.1 = /lib/libscf.so.1
libdl.so.1 = /lib/libdl.so.1
libdoor.so.1 = /lib/libdoor.so.1
libuutil.so.1 = /lib/libuutil.so.1
libgen.so.1 = /lib/libgen.so.1
libm.so.2 = /lib/libm.so.2
/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-V490/lib/libmd_psr.so.1



On Tue, Feb 15, 2011 at 2:14 PM, Robert J. Hansen r...@sixdemonbag.orgwrote:

 On 2/15/11 4:16 PM, hare krishna wrote:
  Can someone help me out why i am facing this problem.
  OS - Unix.

 There is no UNIX operating system.  I am guessing that you're running
 some version of x86_64 Solaris, but am uncertain of this.  We'll have a
 much easier time helping if you answer these questions:

(a) What OS are you running?
(b) Which version?
(c) From where did you acquire GnuPG?
(d) Where is GnuPG located?


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread hare krishna
   (a) What OS are you running? - UNIX
   (b) Which version? - platform/SUNW,Sun-Fire-V490
   (c) From where did you acquire GnuPG? i dont remember exactly
   (d) Where is GnuPG located? - /opt/app/test1/gpg/gpg1.4.9/bin/gpg


On Tue, Feb 15, 2011 at 2:30 PM, Robert J. Hansen r...@sixdemonbag.orgwrote:

 On 2/15/11 5:25 PM, hare krishna wrote:
  This is the output of ldd /gpg/gpg1.4.9/bin/gpg

 Which does not answer any of my four questions, and does not help me
 solve your problem.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread Robert J. Hansen
On 2/15/11 5:40 PM, hare krishna wrote:
(a) What OS are you running? - UNIX

Once again, there is no UNIX operating system.  There are many
different vendors who provide operating systems that conform to varying
levels of the UNIX specifications.  For instance, my Macbook Pro
conforms to the UNIX specifications, but I wouldn't say my operating
system is UNIX: I'd say it was Mac OS X.

The reason why I'm asking is because different operating systems handle
things differently.  It *looks* like you're using Solaris: but so far I
don't have much confirmation of this, nor do I know which version of
Solaris.

(c) From where did you acquire GnuPG? i dont remember exactly

Then that might be your problem.  Get a GnuPG package for your version
of Solaris, either from the Oracle open-source download page or from
Blastwave, install that, and see if it works better for you.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread David Shaw
On Feb 15, 2011, at 4:16 PM, hare krishna wrote:

 Hi,
 
 Can someone help me out why i am facing this problem.
 OS - Unix.
 
 I have set the 
 LD_LIBRARY_PATH=/usr/sfw/lib:/lib:/usr/lib:/usr/local/lib:/lib/64:/usr/lib/64
 
 But when i run this command:
 gpg --list-keys
 i am getting this error:
 
 ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory
 Killed

That's an error from your loader.  It can't run gpg, because the gpg binary is 
built with USB smartcard reader support via libusb, but your system doesn't 
have libusb available within your LD_LIBRARY_PATH.  This isn't a gpg error - 
gpg never even got executed here.

The fix is to either figure out where you have libusb and include that in your 
path, to get libusb, or rebuild gpg to not require libusb.

David


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread hare krishna
Thanks david.. it got worked.. gr8

On Tue, Feb 15, 2011 at 9:02 PM, David Shaw ds...@jabberwocky.com wrote:

 On Feb 15, 2011, at 11:25 PM, Jason Harris wrote:

  On Tue, Feb 15, 2011 at 05:50:11PM -0500, David Shaw wrote:
  I have set the
 LD_LIBRARY_PATH=/usr/sfw/lib:/lib:/usr/lib:/usr/local/lib:/lib/64:/usr/lib/64
 
  But when i run this command:
  gpg --list-keys
  i am getting this error:
 
  ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or
 directory
  Killed
 
  That's an error from your loader.  It can't run gpg, because the gpg
 binary is built with USB smartcard reader support via libusb, but your
 system doesn't have libusb available within your LD_LIBRARY_PATH.  This
 isn't a gpg error - gpg never even got executed here.
 
  The fix is to either figure out where you have libusb and include that
 in your path, to get libusb, or rebuild gpg to not require libusb.
 
  Geez, doesn't anybody READ anymore?!  Even _I_ just managed to read:
 
  [ldd output quoted to whatever level]
  libusb.so.1 = /usr/sfw/lib/libusb.so.1
 
  So, it is in the LD_LIBRARY_PATH quoted above, and therefore
  IT IS ON THE SYSTEM, right?

 In future I will always ensure to use my time machine when replying, since
 clearly people replying to a message from 4:26 should know the information
 revealed in a completely different message from one hour later at 5:25.

 Really, it's just a shame we don't all have your amazing skills for reading
 messages that haven't been sent yet.

 David


 ___
 Gnupg-users mailing list
 Gnupg-users@gnupg.org
 http://lists.gnupg.org/mailman/listinfo/gnupg-users

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread Jason Harris
On Tue, Feb 15, 2011 at 05:50:11PM -0500, David Shaw wrote:
  I have set the 
  LD_LIBRARY_PATH=/usr/sfw/lib:/lib:/usr/lib:/usr/local/lib:/lib/64:/usr/lib/64
  
  But when i run this command:
  gpg --list-keys
  i am getting this error:
  
  ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory
  Killed
 
 That's an error from your loader.  It can't run gpg, because the gpg binary 
 is built with USB smartcard reader support via libusb, but your system 
 doesn't have libusb available within your LD_LIBRARY_PATH.  This isn't a gpg 
 error - gpg never even got executed here.
 
 The fix is to either figure out where you have libusb and include that in 
 your path, to get libusb, or rebuild gpg to not require libusb.

Geez, doesn't anybody READ anymore?!  Even _I_ just managed to read:

[ldd output quoted to whatever level]
 libusb.so.1 = /usr/sfw/lib/libusb.so.1

So, it is in the LD_LIBRARY_PATH quoted above, and therefore
IT IS ON THE SYSTEM, right?

If I were to guess, LD_LIBRARY_PATH is being ignored/reset...

-- 
Jason Harris   |  PGP:  This _is_ PGP-signed, isn't it?
jhar...@widomaker.com _|_ Got photons? (TM), (C) 2004


pgp3I91RiXIEp.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: ld.so.1: gpg: fatal: libusb.so.1: open failed: No such file or directory

2011-02-15 Thread Robert J. Hansen
On 2/15/11 11:25 PM, Jason Harris wrote:
 Geez, doesn't anybody READ anymore?!  Even _I_ just managed to read:

Some of us read quite well: others less so.

David was responding to the information he had available.  The message
you're quoting was sent *after* David sent his.

 So, it is in the LD_LIBRARY_PATH quoted above, and therefore
 IT IS ON THE SYSTEM, right?

When a system isn't working, it pays to be very cautious about making
assumptions about what's broken and what's working.  There's a big
difference between saying it might be this, and here's a test we can do
to see if it is, and saying IT IS ON THE SYSTEM! -- unless you've
done more checking, you really shouldn't say it this confidently.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users