Operating System - HP-UX
1820638 Members
1875 Online
109626 Solutions
New Discussion юеВ

Re: gnupg 2.0.11 is not working .

 
SOLVED
Go to solution
Jitesh purohit_1
Regular Advisor

gnupg 2.0.11 is not working .

Hi Support ,

I have installed gnupg 2.0.11 on hpux 11.11 server, And installed all the necessary required Run / Build-time dependencies from HP Porting site

When i run the command from /usr/local/bin/gpg --version or any other command with related to gpg , iam getting the below message

root@test# ./gpg --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/../../../libbz2.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

root@test # file gpg
gpg: PA-RISC1.1 shared executable dynamically linked -not stripped


root@test # what core
core:
$ PATCH_11.11/PHCO_31903 Sep 2 2004 10:22:09 $
SMART_BIND
92453-07 dld dld dld.sl B.11.33 020617

Please help

Thanks
Jitesh
12 REPLIES 12
Dennis Handly
Acclaimed Contributor
Solution

Re: gnupg 2.0.11 is not working .

Where is your libbz2.sl?
Steven E. Protter
Exalted Contributor

Re: gnupg 2.0.11 is not working .

Shalom Jitesh,

Check the existance of the file mentioned in the message.

/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/../../../libbz2.sl

Check your SHLIB_PATH variable if the file it is looking for exists.

Also, the hppa2.On-hp-hpux11.00 file is a red flag as HP-UX oldest certified version is 11.11

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jitesh purohit_1
Regular Advisor

Re: gnupg 2.0.11 is not working .

Thanks everybody for quick response

I have checked the output of /etc/SHLIB_PATH, And manually added /usr/local/lib into it. But still i get the same message, when i run the /usr/local/bin/gpg --version, Do i need to install the below

1) libgcc-4.2.3
2) make - 4.2.3

Thanks
Jitesh
Steven Schweda
Honored Contributor

Re: gnupg 2.0.11 is not working .

> [...] And installed all the necessary
> required Run / Build-time dependencies
> from HP Porting site

Apparently not. It seems to be looking for
a bzip2 library. Did you install bzip2?

> Do i need to install the below
> [...]

Is one of then bzip2?

http://www.bzip.org/


Note: Saying thinks like "installed all the
[...] dependencies" is much less useful than
saying exactly what you actually installed.
I'm glad that you believe that you did
everything right, but the evidence suggests
that there's a problem, and this casts some
doubt on your opinion.
Jitesh purohit_1
Regular Advisor

Re: gnupg 2.0.11 is not working .

Hi

Thanks for quick reply,

bzip2 is already installed on the server,

root@test # swlist -l product | grep -i bzip2
bzip2 1.0.5 bzip2

Thanks
Jitesh


Steven Schweda
Honored Contributor

Re: gnupg 2.0.11 is not working .

> bzip2 is already installed on the server,

Swell.

> Where is your libbz2.sl?

> Check the existance of the file mentioned in the message.

> [...]
Jitesh purohit_1
Regular Advisor

Re: gnupg 2.0.11 is not working .

Hi Steve

libbz2.sl is under /usr/local/lib/libbz2.sl

root@test # find / -name "libbz2.sl"
/usr/local/lib/libbz2.sl

Thanks
Jitesh
Dennis Handly
Acclaimed Contributor

Re: gnupg 2.0.11 is not working .

>libbz2.sl is under /usr/local/lib/libbz2.sl

It also has to be in /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/../../../libbz2.sl
So if you don't have /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1 it will fail.

You probably can fix this by setting SHLIB_PATH to /usr/local/lib. Or "mkdir -p /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1".
Steven Schweda
Honored Contributor

Re: gnupg 2.0.11 is not working .

> You probably can fix this [...]

Or, see if there's a way to tell the
"configure" script where to look for the
bzip2 stuff. I still use GnuPG 1.x (and
mostly on VMS), so I know nothing about the
details of building 2.x on HP-UX.
Jitesh purohit_1
Regular Advisor

Re: gnupg 2.0.11 is not working .

Thanks a lot everyone, Now iam able to run the gpg on the server, After creating the directory

mkdir -p /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1

root@test # ./gpg --version
gpg (GnuPG) 1.2.4
Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Jitesh purohit_1
Regular Advisor

Re: gnupg 2.0.11 is not working .

Thanks everyone

Jitesh
Steven Schweda
Honored Contributor

Re: gnupg 2.0.11 is not working .

> I have installed gnupg 2.0.11 on hpux 11.11
> server, [...]

> root@test # ./gpg --version
> gpg (GnuPG) 1.2.4
> [...]

What's wrong with this picture?

Note that the current 1.x release looks like
this:

alp $ gpg --version
gpg (GnuPG) 1.4.9b
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /SYS$LOGIN/gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


(Ignore the "b" in "1.4.9b". That's me- and VMS-specific.)

> Thanks everyone

But if you're happy, who am I to argue?