OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004992 [libkrb5_priv] packaging crash random 2012-08-22 17:48 2012-11-11 16:03
Reporter slufoot80 View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004992: ssh fails with error with "ld.so.1: ./ssh: fatal: libkrb5.so.3: open failed: No such file or directory"
Description ./ssh
ld.so.1: ./ssh: fatal: libkrb5.so.3: open failed: No such file or directory

According to pkgutil I have it installed
pkgutil -F libkrb5.so.3
/opt/csw/lib/libkrb5.so.3 CSWlibkrb5-3
/opt/csw/lib/libkrb5.so.3.3 CSWlibkrb5-3
/opt/csw/lib/sparcv9/libkrb5.so.3 CSWlibkrb5-3
/opt/csw/lib/sparcv9/libkrb5.so.3.3 CSWlibkrb5-3

but when I run ls nothing
ls /opt/csw/lib/libkrb5.so.3
/opt/csw/lib/libkrb5.so.3: No such file or directory

What do I need to do to fix this?
Additional Information
Tags No tags attached.
Attached Files

- Relationships
has duplicate 0005002closedyann openssh ssh fails with error ld.so.1 

-  Notes
(0010093)
dam (administrator)
2012-08-22 22:28

Please try to reinstall the package with
  pkgrm CSWlibkrb5-3
  pkgutil -i CSWlibkrb5-3
(0010094)
slufoot80 (reporter)
2012-08-22 23:22

I did that and it worked but now I have a new problem


./ssh
ld.so.1: ./ssh: fatal: libresolv.so.2: version `SUNW_2.2.1' not found (required by file /opt/csw/lib/sparcv8/libkrb5.so.3)
(0010095)
dam (administrator)
2012-08-23 10:09

This means that the library has been compiled on a newer version of Solaris than what you are trying to run it on. This has also appeared on other packages and a fix with mapfiles is tried right now. Please stand by until the new package is ready (or upgrade to u10).
(0010097)
dam (administrator)
2012-08-23 17:40

Updated packages will show up here shortly, please give them a try:
  http://buildfarm.opencsw.org/experimental.html#krb5 [^]
(0010109)
slufoot80 (reporter)
2012-09-05 17:01

for the csw package do I need to start the csw version of sshd in /opt/csw/sbin/
(0010116)
dam (administrator)
2012-09-17 15:01

Yes, the OpenCSW package binaries are all located in /opt/csw.
(0010117)
dam (administrator)
2012-09-17 16:56

I just pushed the updated 1.9.2,REV=2012.08.23 krb5_lib packages to unstable/.
(0010118)
slufoot80 (reporter)
2012-09-17 18:23

what does that mean, "unstable"
(0010124)
dam (administrator)
2012-09-18 17:31

See http://www.opencsw.org/2011/11/release-branches-adjusted/ [^]
(0010132)
dam (administrator)
2012-09-21 10:14

It doesn't help to open duplicate bug reports on unrelated packages. Please test the packages I provided as I am confident it fixes your issue.

Best regards -- Dago
(0010133)
slufoot80 (reporter)
2012-09-21 15:35

Ok I installed both of them, but I still have the same problem in order to get it to work I have to run
"export LD_NOVERSION=1" which I don't think I should be doing. but the command runs see at the bottom but when I go to connect I get a new error
_______________________________________________________________________________


bash-2.05# pkgutil -a krb5_lib
common package catalog size
krb5_lib_dev_stub CSWkrb5libdev 1.9.2,REV=2012.04.17 9.9 KB
krb5_lib_stub CSWkrb5lib 1.9.2,REV=2012.04.17 10.0 KB
bash-2.05# pkgutil -i -y CSWkrb5libdev CSWkrb5lib
Solving needed dependencies ...
Solving dependency order ...
10 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
        CSWkrb5lib-1.9.2,REV=2012.04.17
        CSWkrb5libdev-1.9.2,REV=2012.04.17
        CSWlibcom-err3-1.9.2,REV=2012.04.17
        CSWlibgssapi-krb5-2-1.9.2,REV=2012.04.17
        CSWlibk5crypto3-1.9.2,REV=2012.04.17
        CSWlibkrb5-3-1.9.2,REV=2012.04.17
        CSWlibkrb5-dev-1.9.2,REV=2012.04.17
        CSWlibkrb5-priv-1.9.2,REV=2012.04.17
        CSWlibkrb5support0-1.9.2,REV=2012.04.17

Nothing to do.
bash-2.05# pkgutil -i -y CSWkrb5lib
Solving needed dependencies ...
Solving dependency order ...
7 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
        CSWkrb5lib-1.9.2,REV=2012.04.17
        CSWlibcom-err3-1.9.2,REV=2012.04.17
        CSWlibgssapi-krb5-2-1.9.2,REV=2012.04.17
        CSWlibk5crypto3-1.9.2,REV=2012.04.17
        CSWlibkrb5-3-1.9.2,REV=2012.04.17
        CSWlibkrb5support0-1.9.2,REV=2012.04.17

Nothing to do.
______________________________________________________________________________
./ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
bash-2.05# ./ssh fnowicki@10.2.10.27
OpenSSL version mismatch. Built against 90817f, you have 90704f
(0010141)
dam (administrator)
2012-09-26 13:15

From the duplicate bug report I understand that you are on Solaris 9. I have made a new set of packages with downreved linker contracts which hopefully fits your system. Please retry CSWlibkrb5-3 from
  http://buildfarm.opencsw.org/experimental.html#krb5 [^]
(0010142)
slufoot80 (reporter)
2012-09-26 19:25

actually I fixed the issue to do this I added an environment variable to the
/etc/.login file and it worked

"setenv LD_NOVERSION 1"


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker