View previous topic :: View next topic |
Author |
Message |
administrator
Joined: 02 Apr 2002 Posts: 10
|
|
Back to top |
|
|
M@ster
Joined: 24 Oct 2002 Posts: 78 Location: Germany
|
Posted: Tue Jan 06, 2004 5:41 am Post subject: |
|
|
Which gcc version did you use to compile the agent?
I get an error:
Quote: | error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory |
on a SuSE 7.3.
Quote: | find / -name libstdc++.so
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/libstdc++.so
/usr/i486-linux-libc5/lib/libstdc++.so |
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jan 06, 2004 2:12 pm Post subject: |
|
|
gcc 3.2.2
I think simple link libstdc++.so.5 -> /usr/i486-linux-libc5/lib/libstdc++.so should resolve the problem.
Regards
Alex |
|
Back to top |
|
|
M@ster
Joined: 24 Oct 2002 Posts: 78 Location: Germany
|
Posted: Thu Jan 08, 2004 4:24 pm Post subject: |
|
|
How do I link the libraries? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Thu Jan 08, 2004 9:04 pm Post subject: |
|
|
Standard UNIX command "ln". I think better create symbolic link (using "-s" option) instead of hard link
Regards
Alex |
|
Back to top |
|
|
M@ster
Joined: 24 Oct 2002 Posts: 78 Location: Germany
|
Posted: Fri Jan 09, 2004 1:58 am Post subject: |
|
|
I already tried that. But where does the "new" file belong?
Code: | lrwxrwxrwx 1 root root 33 Jan 6 12:43 libstdc++.so -> ../../../libstdc++-libc6.2-2.so.3
lrwxrwxrwx 1 root root 33 Jan 9 09:50 libstdc++.so.5 -> ../../../libstdc++-libc6.2-2.so.3
-rw-r--r-- 1 root root 2180 Oct 25 2001 specs
hostname:/usr/lib/gcc-lib/i486-suse-linux/2.95.3 # |
With this link the agent stil won't start
OK. The link is in the wrong place. Slowly I am figuring out where to put everything
Got it! Now it works |
|
Back to top |
|
|
|