?
Solved

libraries not found for ssh-keygen

Posted on 2005-03-22
7
Medium Priority
?
941 Views
Last Modified: 2013-12-27
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
Comment
Question by:wfaleiro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 13

Expert Comment

by:gripe
ID: 13602038
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
 
LVL 1

Author Comment

by:wfaleiro
ID: 13602156
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
 
LVL 1

Author Comment

by:wfaleiro
ID: 13602292
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
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!

 
LVL 13

Expert Comment

by:gripe
ID: 13602648
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
 
LVL 13

Expert Comment

by:gripe
ID: 13602656
Remember also to pkgrm the sol8 packages you have installed.
0
 
LVL 13

Accepted Solution

by:
gripe earned 150 total points
ID: 13602673
(And the sol9 packages too. :)
0
 
LVL 1

Author Comment

by:wfaleiro
ID: 13607324
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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question