RMA Agent is not running with SUN Solaris 9

Remote Monitoring Agent for Linux, FreeBSD, and other UNIX-like platforms.
Post Reply
PanTau64
Posts: 10
Joined: Tue Jun 07, 2005 1:56 am

RMA Agent is not running with SUN Solaris 9

Post by PanTau64 »

Hi,

I have installed the RMA 1.00 for Solaris (SPARC) file, which I have downloaded from your Webside. I also installed the gcc-3.1-sol8-sparc-local.gz, which includes the libstdc++.so.4 file. I further installed the gcmn 1 Common GNU package, English. After that I entered all the apropriated Information in the rma.ini file and I have changed the PATH variable to the location of the libstdc++.so.4 library. But when I start the rma_s (./rma_s) program, I receive the following error:

ld.so.1: ./rma_s: fatal: libstdc++.so.4: open failed: No such file or directory

What I'am doing wrong? Please help urgently.

PS: Why you are using not a newer version of the gcc libraries?
PanTau64
Posts: 10
Joined: Tue Jun 07, 2005 1:56 am

Post by PanTau64 »

Hi,

I have fixed the previous mentioned problem. Now I have a following problem. When I start the rma_s program, the following error apears:

ld.so.1: ./rma_s: fatal: /usr/local/lib/libstdc++.so.4: wrong ELF data format: ELFDATA2LSB

Any suggestions?
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

The best solution - recompile agent right on your system. You just need gcc compiler 3.3 or higher. We can provide source codes, just send request to support@ks-soft.net

Regards
Alex
PanTau64
Posts: 10
Joined: Tue Jun 07, 2005 1:56 am

Post by PanTau64 »

Hi Alex,

thank you for your reply. I have fixed the problem by installation of the gcc-3.1-sol8-sparc-local.gz. Now it runs.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Great

Regards
Alex
adobe-is
Posts: 2
Joined: Tue Sep 13, 2005 11:51 am
Location: Seattle
Contact:

need source for RMA; having the same trouble

Post by adobe-is »

I cannot deploy gcc widely in my organization and I'm having trouble getting the RMA to run on Solaris. Is there a non-gcc solution to this?

thanks,
Scott
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What if you install gcc on one system and recompile agent using static link to libgcc and libstdc++
Then you will be able to use agent on other systems without these libraries.
Static link:
1) use "-static-libgcc" compiler option
2) rename or remove libstdc++.so* files, in this case gcc will use libstdc++.a

Regards
Alex
adobe-is
Posts: 2
Joined: Tue Sep 13, 2005 11:51 am
Location: Seattle
Contact:

i'll try, just need the source

Post by adobe-is »

I'll give that a try. Can you send me the source? I can be contacted at my profilke email address for details. .zip files won't make it, you can change the extension to .txt.

thanks,
Scott
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

To access your e-mail address, I need admins password to the forum
Could you please send request to support@ks-soft.net?

Regards
Alex
eestout
Posts: 2
Joined: Mon Oct 31, 2005 12:46 pm

Post by eestout »

you can save yourself some time by performing the following actions:

1.) install libgcc-3.4.1-sol8-sparc-local (pkgadd -d)
2.) export LD_LIBRARY_PATH=/usr/local/lib (add that to your .profile or /etc/profile, or your rc script for invoking the program on bootup)
3.) make a symlink from /usr/local/lib/libstdc++.so.4 to /usr/local/lib/libstdc++.whatever.version.you.got

4.) execute the program. (it WILL run under normal conditions) add your box to the rma manager.
Post Reply