Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 962
  • Last Modified:

libraries not found for ssh-keygen

Hi,
I am trying to install ssh on solaris 5.7. while trying to configure sshd, i get an error when i run ssh-keygen.

 ./ssh-keygen
ld.so.1: ./ssh-keygen: fatal: librt.so.1: version `SUNW_1.2' not found (required by file ./ssh-keygen)
Killed


But when i run the command find / -name librt.so.1 -print, the library is located in /usr/local/lib.

Can i specify the location of the librares while running ssh-keygen.

Thanks
Walter
0
wfaleiro
Asked:
wfaleiro
  • 4
  • 3
1 Solution
 
gripeCommented:
Did you compile ssh or are you installing from a package? It sounds like you're trying to use software compiled and linked against a later version of Solaris. Your output is finding the correct library, it just isn't able to resolve the 'SUNW_1.2' symbol.
0
 
wfaleiroAuthor Commented:
Hi gripe,

I have installed the package the package  "openssh-3.9p1-sol8-sparc64-local"

uname -a on the machine gives "SunOS hope 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-5_10".

Is there any turnaround for this.

Thanks
Walter
0
 
wfaleiroAuthor Commented:
I have installed the following packages along with openssh


openssh-3.5p1-sol9-sparc-local.gz
openssl-0.9.6g-sol9-sparc-local.gz
zlib-1.1.4-sol9-sparc-local.gz

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
gripeCommented:
Those packages are for later versions of solaris (Solaris 8 for the first, and Solaris 9 for the other three)... you'll need to find packages compiled for Solaris 7.

Try the packages available at this repository: (Make sure you're getting the ones tagged 'sol7':

http://www.sunfreeware.com/indexsparc7.html

0
 
gripeCommented:
Remember also to pkgrm the sol8 packages you have installed.
0
 
gripeCommented:
(And the sol9 packages too. :)
0
 
wfaleiroAuthor Commented:
Now it gives the error.
./ssh-keygen
(rand child) Couldn't exec '/usr/local/libexec/ssh-rand-helper': No such file or directory
ssh-rand-helper child produced insufficient data

and i chekced that the direcotry libexec does not contain ssh-rand-helper. Did i miss out on any package installation.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now