View Single Post

   
  #4 (permalink)  
Old 01-16-2008, 09:40 AM
Flash
 
Posts: n/a
Default Re: missing librt.so.1

I am using software from sunfreeware mirrors for the sparc/5.5.1 arch. The
pkginfo for the installed openssh is:

# pkginfo -l SMCossh4
PKGINST: SMCossh4
NAME: openssh
CATEGORY: application
ARCH: sparc
VERSION: 4.0p1
BASEDIR: /usr/local
VENDOR: The OpenSSH Group
PSTAMP: Steve Christensen
INSTDATE: May 30 2005 13:27
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 96 installed pathnames
8 shared pathnames
19 directories
20 executables
1 setuid/setgid executables
4276 blocks used (approx)

I downloaded the source for this version, attempted to compile it but
received this complaint during configure:

checking for library containing basename... -lgen
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check
config.log ***

while:
# pkginfo -l SMCzlib
PKGINST: SMCzlib
NAME: zlib
CATEGORY: application
ARCH: sparc
VERSION: 1.2.2
BASEDIR: /usr/local
VENDOR: Jean-loup Gailly
PSTAMP: Steve Christensen
INSTDATE: May 29 2005 16:08
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 150 installed pathnames
6 shared pathnames
30 directories
3 executables
2323 blocks used (approx)

and:

# which libz.so
/usr/local/lib/libz.so

Are any of these products specific to Solaris 7?

Thanks


Doug McIntyre wrote:

> Flash <flas@cox.net> writes:
>
>>The above library is missing on a SunOS 5.5.1 Generic sun4m sparc
>>SUNW,SPARCstation-5. Could someone tell me what I need to install to
>>obtain the above missing library? I need it to complete an installation of
>>openssh.

>
>># ldd /usr/local/sbin/sshd
>> libpam.so.1 => (not found)
>> libdl.so.1 => /usr/lib/libdl.so.1
>> libresolv.so.2 => /usr/lib/libresolv.so.2
>> libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7
>> librt.so.1 => (not found)
>> libz.so => /usr/local/lib/libz.so
>> libsocket.so.1 => /usr/lib/libsocket.so.1
>> libsocket.so.1 (SUNW_0.7) => (version not found)
>> libnsl.so.1 => /usr/lib/libnsl.so.1
>> libnsl.so.1 (SUNW_0.7) => (version not found)
>> libnsl.so.1 (SUNWprivate_1.1) => (version not found)
>> libc.so.1 => /usr/lib/libc.so.1
>> libc.so.1 (SUNW_1.1) => (version not found)
>> libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
>> libintl.so.1 => /usr/lib/libintl.so.1
>> libmp.so.1 => /usr/lib/libmp.so.1
>> libw.so.1 => /usr/lib/libw.so.1

>
>
> Looks like you have alot of other problems too. Are you sure this
> version of OpenSSH was compiled for as far back as 5.5.1? Thats a
> pretty ancient version (around 10 years old?).
>
> I don't remember for sure, but that versioning looks like it needs at
> least Solaris 8 to run correctly. Sun guarantees forward binary
> compatibility, but not reverse compatibility. (ie. you can't run
> binaries build for Solaris 8 on Solaris 5.5.1, but you can most likely
> run binaries built for Solaris 5.5.1 on Solaris 8).
>
> Most people don't have 5.5.1 systems around anymore to do builds
> on. You most likely will need to compile this yourself on your 5.5.1
> system, or even upgrade it to a later Solaris 8 to be more current.


Reply With Quote