1 |
Michael Haubenwallner wrote: |
2 |
> On Tue, 2008-07-15 at 19:09 -0500, Greg Trigg wrote: |
3 |
>> I've run into a snag trying to use ssh in AIX. When I try to ssh to |
4 |
>> another box I get this. |
5 |
>> |
6 |
>> |
7 |
>> >ssh ibm_left |
8 |
>> >exec(): 0509-036 Cannot load program ssh because of the following >errors: |
9 |
>> > 0509-022 Cannot load module |
10 |
>> >/home/greg/gentoo/usr/lib/libcrypto.a(libcrypto.so.0.9.8). |
11 |
>> > 0509-150 Dependent module libgcc_s.a(shr.o) could not be |
12 |
>> >loaded. |
13 |
>> > 0509-022 Cannot load module libgcc_s.a(shr.o). |
14 |
> |
15 |
> Congrats, after your initial troubles your AIX prefix is up-to-date |
16 |
> now ;) |
17 |
|
18 |
Thanks. It's worth the battle. |
19 |
> |
20 |
> This is why I created sys-devel/gcc-config-1.4.0-r04.4, which is still |
21 |
> in its testing phase (Darwin?), but works here so far for AIX. |
22 |
|
23 |
I was wondering what 'Darwin' was. |
24 |
> |
25 |
> Unfortunately, aixdll-query from aix-miscutils (used by this gcc-config) |
26 |
> also requires libgcc_s.a and libstdc++.a. |
27 |
> |
28 |
> To fix your currently broken prefix: |
29 |
> |
30 |
> 1) find the most recent |
31 |
> EPREFIX/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/*/libgcc_s.a |
32 |
> and copy it over to |
33 |
> EPREFIX/lib/ |
34 |
> |
35 |
> 2) find the most recent |
36 |
> EPREFIX/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/*/libstdc++.a |
37 |
> and copy it over to |
38 |
> EPREFIX/usr/powerpc-ibm-aix5.2.0.0/lib/gcc/ |
39 |
> |
40 |
> To use that gcc-config while it is package.masked, do this once: |
41 |
> $ echo '=sys-devel/gcc-config-1.4.0-r04.4' > /home/greg/gentoo/etc/portage/package.unmask |
42 |
> $ emerge -av1 gcc-config |
43 |
> This should upgrade to gcc-config from [1.4.0-r04.3] to [1.4.0-r04.4], |
44 |
> which should keep your libgcc_s.a in place permanently. |
45 |
|
46 |
Thank you very much. I have ssh'ed into another box. That's half the |
47 |
battle. Now for the important part...ssh'ing in. I really, really, |
48 |
really don't like using telnet, especially since I'm using it while |
49 |
connecting remotely through another box. It's through an ssh tunnel, |
50 |
but still... |
51 |
|
52 |
Anyways, this is what I get when I try to start the daemon. |
53 |
|
54 |
|
55 |
$ ~/gentoo/etc/init.d/sshd restart |
56 |
bash: /home/greg/gentoo/etc/init.d/sshd: /sbin/runscript: bad |
57 |
interpreter: A file or directory in the path name does not exist. |
58 |
|
59 |
|
60 |
Otherwise, it's great to be in familiar territory, using Gentoo. All |
61 |
the hard work you all are putting into this is greatly appreciated. It |
62 |
can't be easy to get all this working and for so many different archs. |
63 |
|
64 |
|
65 |
Greg Trigg |
66 |
Jacksonville, AR |
67 |
|
68 |
-- |
69 |
gentoo-alt@l.g.o mailing list |