Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Problem to run SecureCRT 7.1 in gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 1:43 am    Post subject: [Solved]Problem to run SecureCRT 7.1 in gentoo Reply with quote

I formerly run SecureCRT 7.0.4 in gentoo, it works just fine.
These day I want to run 7.1 but meet this problem:
Code:

./SecureCRT: /usr/lib64/libssl.so.1.0.0: no version information available (required by ./SecureCRT)
./SecureCRT: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ./SecureCRT)

It has those libs in /usr/lib64:
Code:

$ls -l /usr/lib64/libssl*
lrwxrwxrwx 1 root root     13 Apr 18 09:18 /usr/lib64/libssl3.so -> libssl3.so.12
-rwxr-xr-x 1 root root 283336 Apr 18 09:18 /usr/lib64/libssl3.so.12
lrwxrwxrwx 1 root root     15 May  4 14:25 /usr/lib64/libssl.so -> libssl.so.1.0.0
-rwxr-xr-x 1 root root 332800 May  4 14:13 /usr/lib64/libssl.so.0.9.8
-r-xr-xr-x 1 root root 427760 May  4 14:25 /usr/lib64/libssl.so.1.0.0
$ls -l /usr/lib64/libcrypt*
-rw-r--r-- 1 root root   53492 Apr 11 11:17 /usr/lib64/libcrypt.a
lrwxrwxrwx 1 root root      18 May  4 14:25 /usr/lib64/libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1457656 May  4 14:13 /usr/lib64/libcrypto.so.0.9.8
-r-xr-xr-x 1 root root 1897664 May  4 14:25 /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root      22 Apr 17 19:29 /usr/lib64/libcryptsetup.so -> libcryptsetup.so.4.2.0
lrwxrwxrwx 1 root root      22 Apr 17 19:29 /usr/lib64/libcryptsetup.so.4 -> libcryptsetup.so.4.2.0
-rwxr-xr-x 1 root root  105304 Apr 17 19:29 /usr/lib64/libcryptsetup.so.4.2.0
lrwxrwxrwx 1 root root      25 Apr 11 11:17 /usr/lib64/libcrypt.so -> ../../lib64/libcrypt.so.1

How to solve it?
Thanks!


Last edited by beyond291 on Tue May 07, 2013 2:34 am; edited 1 time in total
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 6:57 am    Post subject: Re: Problem to run SecureCRT 7.1 in gentoo Reply with quote

beyond291 wrote:
I formerly run SecureCRT 7.0.4 in gentoo, it works just fine.
These day I want to run 7.1 but meet this problem:
Code:

./SecureCRT: /usr/lib64/libssl.so.1.0.0: no version information available (required by ./SecureCRT)
./SecureCRT: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ./SecureCRT)

It has those libs in /usr/lib64:
Code:

$ls -l /usr/lib64/libssl*
lrwxrwxrwx 1 root root     13 Apr 18 09:18 /usr/lib64/libssl3.so -> libssl3.so.12
-rwxr-xr-x 1 root root 283336 Apr 18 09:18 /usr/lib64/libssl3.so.12
lrwxrwxrwx 1 root root     15 May  4 14:25 /usr/lib64/libssl.so -> libssl.so.1.0.0
-rwxr-xr-x 1 root root 332800 May  4 14:13 /usr/lib64/libssl.so.0.9.8
-r-xr-xr-x 1 root root 427760 May  4 14:25 /usr/lib64/libssl.so.1.0.0
$ls -l /usr/lib64/libcrypt*
-rw-r--r-- 1 root root   53492 Apr 11 11:17 /usr/lib64/libcrypt.a
lrwxrwxrwx 1 root root      18 May  4 14:25 /usr/lib64/libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1457656 May  4 14:13 /usr/lib64/libcrypto.so.0.9.8
-r-xr-xr-x 1 root root 1897664 May  4 14:25 /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root      22 Apr 17 19:29 /usr/lib64/libcryptsetup.so -> libcryptsetup.so.4.2.0
lrwxrwxrwx 1 root root      22 Apr 17 19:29 /usr/lib64/libcryptsetup.so.4 -> libcryptsetup.so.4.2.0
-rwxr-xr-x 1 root root  105304 Apr 17 19:29 /usr/lib64/libcryptsetup.so.4.2.0
lrwxrwxrwx 1 root root      25 Apr 11 11:17 /usr/lib64/libcrypt.so -> ../../lib64/libcrypt.so.1

How to solve it?
Thanks!


please post the output of
Code:
ldd SecureCRT

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 8:19 am    Post subject: Re: Problem to run SecureCRT 7.1 in gentoo Reply with quote

DaggyStyle wrote:

please post the output of
Code:
ldd SecureCRT

Thank you for your reply!
These are the output:
Code:

$ ldd SecureCRT
./SecureCRT: /usr/lib64/libssl.so.1.0.0: no version information available (required by ./SecureCRT)
./SecureCRT: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ./SecureCRT)
        linux-vdso.so.1 (0x00007fff75db1000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f3825efd000)
        libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f3825b3c000)
        libQtGui.so.4 => /home/xuyufeng/Downloads/scrt-7.1.0/libQtGui.so.4 (0x00007f3824e8d000)
        libQtCore.so.4 => /home/xuyufeng/Downloads/scrt-7.1.0/libQtCore.so.4 (0x00007f38249b8000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f382479a000)
        libQtNetwork.so.4 => /home/xuyufeng/Downloads/scrt-7.1.0/libQtNetwork.so.4 (0x00007f382445a000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007f3824155000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f3823e5f000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007f3823c49000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f38238a1000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f38234ce000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f38232b8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f38230b4000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f3822eb1000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f3822bf7000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f38229ed000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f38227b7000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f38225a5000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f3822269000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f3822060000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3826166000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f3821e50000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f3821c25000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f3821a04000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f3821800000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f38215fa000)
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 8:34 am    Post subject: Reply with quote

I'll take a wild guess here, try installing them with debug flag, see if it solves it.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 8:57 am    Post subject: Reply with quote

DaggyStyle wrote:
I'll take a wild guess here, try installing them with debug flag, see if it solves it.

I use
Code:
FEATURES="nostrip"  emerge openssl
to compile debug version libraries.
get the same result...................... :cry:
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 9:04 am    Post subject: Reply with quote

beyond291 wrote:
DaggyStyle wrote:
I'll take a wild guess here, try installing them with debug flag, see if it solves it.

I use
Code:
FEATURES="nostrip"  emerge openssl
to compile debug version libraries.
get the same result...................... :cry:


use the debug flag if exists too
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 9:12 am    Post subject: Reply with quote

DaggyStyle wrote:

use the debug flag if exists too

There is no debug in USE flags for openssl. :(
I have checked the size of libssl.so.1.0.0. It's bigger than former one.
So the debug info will be there.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 11:06 am    Post subject: Reply with quote

what ssl version is required for the problematic version?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 11:41 am    Post subject: Reply with quote

DaggyStyle wrote:
what ssl version is required for the problematic version?

This problematic version is for ubuntu 12.xx and 13.04. I check openssl version in ubuntu 12.04.
It's 1.0.1, while 1.0.1c in ubuntu 13.04. my gentoo box has 1.0.1c too.
I found one more strange thing. I can get version info for libc:
Code:

$ /lib/libc.so.6
GNU C Library stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.7.0 system on 2013-04-11.
Available extensions:
        C stubs add-on version 2.1.2
        crypt add-on version 2.1 by Michael Glad and others
        Gentoo 2.15-r3 p23
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

But I get error for libssl:
Code:

$ /usr/lib64/libssl.so.1.0.0
Segmentation fault
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 11:59 am    Post subject: Reply with quote

beyond291 wrote:
DaggyStyle wrote:
what ssl version is required for the problematic version?

This problematic version is for ubuntu 12.xx and 13.04. I check openssl version in ubuntu 12.04.
It's 1.0.1, while 1.0.1c in ubuntu 13.04. my gentoo box has 1.0.1c too.
I found one more strange thing. I can get version info for libc:
Code:

$ /lib/libc.so.6
GNU C Library stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.7.0 system on 2013-04-11.
Available extensions:
        C stubs add-on version 2.1.2
        crypt add-on version 2.1 by Michael Glad and others
        Gentoo 2.15-r3 p23
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


I don't follow, this is a gentoo issue or ubuntu issue?
beyond291 wrote:

But I get error for libssl:
Code:

$ /usr/lib64/libssl.so.1.0.0
Segmentation fault

that is a link to lib, you cannot execute a lib.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Mon May 06, 2013 12:15 pm    Post subject: Reply with quote

DaggyStyle wrote:

I don't follow, this is a gentoo issue or ubuntu issue?

Sorry my fault. I didn't explain what I am doing.
The official linux version of SecureCRT is just for Ubuntu 12.x/13.04, Ubuntu 11.x and Red Hat Enterprise Linux 6.0.
I downloaded the Ubuntu 12.x/13.04 version and use it in Gentoo.
For SecureCRT 7.0.4, it works just fine in my Gentoo box because it dosen't use openssl.
Code:

/opt/scrt-7.0.4 $ ldd SecureCRT
        linux-vdso.so.1 (0x00007ffff95ff000)
        libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f5e16cd1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5e16ab4000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f5e1689e000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5e1669a000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f5e16497000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5e1628e000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f5e15f6c000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5e15c76000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007f5e15a4f000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f5e15795000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f5e15546000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f5e1533e000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f5e15122000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f5e14f18000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f5e14ce2000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f5e14ad0000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f5e14794000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007f5e1448f000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007f5e14279000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5e13ed1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5e17092000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f5e13cce000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f5e13abe000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f5e138b6000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f5e136b1000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f5e13485000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f5e13264000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f5e1305f000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f5e12e59000)

Now I want to use SecureCRT 7.1.0 in my Gentoo box,
but it complains no version info in libssl.so.1.0.0 and libcrypto.so.1.0.0.
I google and got something about it in http://synoptist1.rssing.com/chan-2212250/all_p98.html
But I cann't download the ElfFix in that URL.
From that URL, the library's version info were stripped in Gentoo.
I get un-stripped version by following you advice but get the same result.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon May 06, 2013 2:09 pm    Post subject: Reply with quote

beyond291 wrote:
DaggyStyle wrote:

I don't follow, this is a gentoo issue or ubuntu issue?

Sorry my fault. I didn't explain what I am doing.
The official linux version of SecureCRT is just for Ubuntu 12.x/13.04, Ubuntu 11.x and Red Hat Enterprise Linux 6.0.
I downloaded the Ubuntu 12.x/13.04 version and use it in Gentoo.
For SecureCRT 7.0.4, it works just fine in my Gentoo box because it dosen't use openssl.
Code:

/opt/scrt-7.0.4 $ ldd SecureCRT
        linux-vdso.so.1 (0x00007ffff95ff000)
        libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0 (0x00007f5e16cd1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5e16ab4000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f5e1689e000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5e1669a000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f5e16497000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5e1628e000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f5e15f6c000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5e15c76000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007f5e15a4f000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f5e15795000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f5e15546000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f5e1533e000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f5e15122000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f5e14f18000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f5e14ce2000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f5e14ad0000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f5e14794000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007f5e1448f000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007f5e14279000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5e13ed1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5e17092000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f5e13cce000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f5e13abe000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f5e138b6000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f5e136b1000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f5e13485000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f5e13264000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f5e1305f000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f5e12e59000)

Now I want to use SecureCRT 7.1.0 in my Gentoo box,
but it complains no version info in libssl.so.1.0.0 and libcrypto.so.1.0.0.
I google and got something about it in http://synoptist1.rssing.com/chan-2212250/all_p98.html
But I cann't download the ElfFix in that URL.
From that URL, the library's version info were stripped in Gentoo.
I get un-stripped version by following you advice but get the same result.


ok, can you post the requirements of SecureCRT 7.1.0?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
beyond291
n00b
n00b


Joined: 22 Jan 2013
Posts: 9

PostPosted: Tue May 07, 2013 1:34 am    Post subject: Reply with quote

Update1:
It seems I solved it.
I use libssl.so.1.0.0 and libcrypto.so.1.0.0 from ubuntu 13.04 to replace those in my Gentoo box.
And copy libQtCore.so.4 libQtGui.so.4 libQtNetwork.so.4 from my Gentoo to replace those in scrt-7.1.0,
because those are Qt 4.8.3 while my Gentoo box has 4.8.4.
Then it run OK but I don't know if there is any issue. :lol:
Update2:
If I use libssl.so.1.0.0 and libcrypto.so.1.0.0 from Ubuntu 13.04 to replace those in /usr/lib64, svn program will fails.
So I move the Ubuntu version libraries to scrt-7.1.0 directory, the SecureCRT program in scrt-7.1.0 directory run OK.
It will prior use those libraries in scrt-7.1.0.
So I can keep libssl.so.1.0.0 and libcrypto.so.1.0.0 with Gentoo version without influencing other programs. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum