Newsgroups: comp.sys.sun.admin
From: "Anne M. Hammond" <Anne.Hamm...@Colorado.EDU>
Date: Fri, 19 Jul 2002 13:52:46 -0600
Local: Fri, Jul 19 2002 3:52 pm
Subject: Re: Cannot find ELF
This is the result of gnu strip incorrectly stripping
parts of the object file (man strip) when the file had been compiled with gcc and when using the Solaris loader. Strip is used to save filesystem and memory space after -rwxr-xr-x 1 root 4359576 Jul 18 15:12 ./ssh To solve this problem of the executable not containing the You can diagnose this by running the ldd utility on the object lcd 255# ldd ./ssh lcd 256# ldd /usr2/newssh/bin/ssh Below is an ls of the object file in the compile directory, and -rwxr-xr-x 1 root 4359576 Jul 18 15:12 ./ssh LD_LIBRARY_PATH does not have anything to do with this problem. Another fix is to run gnu strip twice on the object file. Thanks to Tino Reinhardt for solving this problem. Anne Hammond You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||