Date
1 - 6 of 6
OpenMAMA Linux install problem
Aidan Russell
Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the binaries are not compatible with the platform below, so I cannot execute the test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
|
|
Glenn McClements <gmcclements@...>
Hi Aidan,
What error are you getting when you try to compile? I'm running on a very similar version (below), though it should work on most modern Linux distributions.
2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Glenn
From: "Russell Aidan (Ext. - UniCredit Business Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 12:05:14 +0100 To: "'openmama-users@...'" <openmama-users@...> Subject: [Openmama-users] OpenMAMA Linux install problem Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the binaries are not compatible with the platform below, so I cannot execute the test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
|
Aidan Russell
Hi Glenn,
I get the following:
bash-3.2$ make -f Makefile.sample .mamalistencpp
g++ -I../../..//include -c -o mamalistencpp.o mamalistencpp.cpp g++ -I../../..//include -rdynamic -L../../..//lib -o mamalistencpp mamalistencpp.o -Xlinker -Bstatic -lmamacpp -Xlinker -Bdynamic -Xlinker -Bdynamic -lmama -Xlinker -Bdynamic -lrt -lpthread -lm /usr/bin/ld: skipping incompatible ../../..//lib/libmamacpp.a when searching for -lmamacpp /usr/bin/ld: cannot find -lmamacpp collect2: ld returned 1 exit status make: *** [mamalistencpp] Error 1 And for the pre-compiled examples, I get the
following:
bash-3.2$ bin/mamapublisherc
bash: bin/mamapublisherc: cannot execute binary file The regular file permissions seem ok. I get this error for the 2.1
& 2.1.1.2 versions.
Thanks,
Aidan
From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 2:55 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Hi Aidan,
What error are you getting when you try to compile? I'm running on a very
similar version (below), though it should work on most modern Linux
distributions.
2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux Glenn
From: "Russell Aidan (Ext. - UniCredit Business
Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 12:05:14 +0100 To: "'openmama-users@...'" <openmama-users@...> Subject: [Openmama-users] OpenMAMA Linux install problem Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the
binaries are not compatible with the platform below, so I cannot execute the
test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686
i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
|
Glenn McClements <gmcclements@...>
Ahh just realised you're running on i686 (32 bit) whereas the binary is built for x86_64 (64 bit).
If you download the source and build from scratch it will be OK. Source for the 2.1 release is at:
Glenn
From: "Russell Aidan (Ext. - UniCredit Business Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 14:01:17 +0100 To: Glenn McClements <gmcclements@...>, "'openmama-users@...'" <openmama-users@...> Subject: RE: [Openmama-users] OpenMAMA Linux install problem Hi Glenn,
I get the following:
bash-3.2$ make -f Makefile.sample .mamalistencpp
g++ -I../../..//include -c -o mamalistencpp.o mamalistencpp.cpp g++ -I../../..//include -rdynamic -L../../..//lib -o mamalistencpp mamalistencpp.o -Xlinker -Bstatic -lmamacpp -Xlinker -Bdynamic -Xlinker -Bdynamic -lmama -Xlinker -Bdynamic -lrt -lpthread -lm /usr/bin/ld: skipping incompatible ../../..//lib/libmamacpp.a when searching for -lmamacpp /usr/bin/ld: cannot find -lmamacpp collect2: ld returned 1 exit status make: *** [mamalistencpp] Error 1 And for the pre-compiled examples, I get the following:
bash-3.2$ bin/mamapublisherc
bash: bin/mamapublisherc: cannot execute binary file The regular file permissions seem ok. I get this error for the 2.1 & 2.1.1.2 versions.
Thanks,
Aidan
From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 2:55 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Hi Aidan,
What error are you getting when you try to compile? I'm running on a very similar version (below), though it should work on most modern Linux distributions.
2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Glenn
From: "Russell Aidan (Ext. - UniCredit Business Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 12:05:14 +0100 To: "'openmama-users@...'" <openmama-users@...> Subject: [Openmama-users] OpenMAMA Linux install problem Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the binaries are not compatible with the platform below, so I cannot execute the test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
|
Aidan Russell
Thanks Glenn, I'll give it a try (I assumed the build download
was 32 bit).
regards,
Aidan From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 3:14 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Ahh just realised you're running on i686 (32 bit) whereas the binary is
built for x86_64 (64 bit).
If you download the source and build from scratch it will be OK. Source for
the 2.1 release is at:
Glenn
From: "Russell Aidan (Ext. - UniCredit Business
Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 14:01:17 +0100 To: Glenn McClements <gmcclements@...>, "'openmama-users@...'" <openmama-users@...> Subject: RE: [Openmama-users] OpenMAMA Linux install problem Hi Glenn,
I get the following:
bash-3.2$ make -f Makefile.sample .mamalistencpp
g++ -I../../..//include -c -o mamalistencpp.o mamalistencpp.cpp g++ -I../../..//include -rdynamic -L../../..//lib -o mamalistencpp mamalistencpp.o -Xlinker -Bstatic -lmamacpp -Xlinker -Bdynamic -Xlinker -Bdynamic -lmama -Xlinker -Bdynamic -lrt -lpthread -lm /usr/bin/ld: skipping incompatible ../../..//lib/libmamacpp.a when searching for -lmamacpp /usr/bin/ld: cannot find -lmamacpp collect2: ld returned 1 exit status make: *** [mamalistencpp] Error 1 And for the pre-compiled examples, I get the
following:
bash-3.2$ bin/mamapublisherc
bash: bin/mamapublisherc: cannot execute binary file The regular file permissions seem ok. I get this error for the 2.1
& 2.1.1.2 versions.
Thanks,
Aidan
From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 2:55 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Hi Aidan,
What error are you getting when you try to compile? I'm running on a very
similar version (below), though it should work on most modern Linux
distributions.
2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux Glenn
From: "Russell Aidan (Ext. - UniCredit Business
Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 12:05:14 +0100 To: "'openmama-users@...'" <openmama-users@...> Subject: [Openmama-users] OpenMAMA Linux install problem Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the
binaries are not compatible with the platform below, so I cannot execute the
test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686
i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
|
Aidan Russell
Hi Glenn,
Sorry about this, I get the following error building from the
src tar:
/bin/sh ../../libtool --tag=CXX --mode=link
g++ -g -O2 -L/opt/openmama/lib -L./../cpp -L./../cpp/mamda
-L./../cpp/options -L./../../../../mama/c_cpp/src/c
-L./../../../../mama/c_cpp/src/cpp -rdynamic -o comboticker comboticker.o
parsecmd.o dictrequester.o -lwombatcommon -lmamda -lmamacpp -lmama
-lpthread -ldl -lnsl -lm
libtool: link: g++ -g -O2 -rdynamic -o .libs/comboticker comboticker.o parsecmd.o dictrequester.o -L/opt/openmama/lib -L./../cpp -L./../cpp/mamda -L./../cpp/options -L./../../../../mama/c_cpp/src/c -L./../../../../mama/c_cpp/src/cpp /opt/openmama/lib/libwombatcommon.a /opt/home/tuinct/tmp/dev/openmama/OpenMAMA-2.1/mamda/c_cpp/src/cpp/.libs/libmamda.so -luuid -lmamacpp -lmama -lpthread -ldl -lnsl -lm -Wl,-rpath -Wl,/opt/home/tuinct/tmp/dev/openmama/OpenMAMA-2.1/mamda/c_cpp/mamda_6.0.0rc19/lib /usr/bin/ld: cannot find -lmamacpp I cannot find the mamacpp lib. I did the
following : untar; ./configure; make.
thanks,
Aidan From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 3:14 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Ahh just realised you're running on i686 (32 bit) whereas the binary is
built for x86_64 (64 bit).
If you download the source and build from scratch it will be OK. Source for
the 2.1 release is at:
Glenn
From: "Russell Aidan (Ext. - UniCredit Business
Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 14:01:17 +0100 To: Glenn McClements <gmcclements@...>, "'openmama-users@...'" <openmama-users@...> Subject: RE: [Openmama-users] OpenMAMA Linux install problem Hi Glenn,
I get the following:
bash-3.2$ make -f Makefile.sample .mamalistencpp
g++ -I../../..//include -c -o mamalistencpp.o mamalistencpp.cpp g++ -I../../..//include -rdynamic -L../../..//lib -o mamalistencpp mamalistencpp.o -Xlinker -Bstatic -lmamacpp -Xlinker -Bdynamic -Xlinker -Bdynamic -lmama -Xlinker -Bdynamic -lrt -lpthread -lm /usr/bin/ld: skipping incompatible ../../..//lib/libmamacpp.a when searching for -lmamacpp /usr/bin/ld: cannot find -lmamacpp collect2: ld returned 1 exit status make: *** [mamalistencpp] Error 1 And for the pre-compiled examples, I get the
following:
bash-3.2$ bin/mamapublisherc
bash: bin/mamapublisherc: cannot execute binary file The regular file permissions seem ok. I get this error for the 2.1
& 2.1.1.2 versions.
Thanks,
Aidan
From: Glenn McClements [mailto:gmcclements@...] Sent: Wednesday, July 11, 2012 2:55 PM To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'openmama-users@...' Subject: Re: [Openmama-users] OpenMAMA Linux install problem Hi Aidan,
What error are you getting when you try to compile? I'm running on a very
similar version (below), though it should work on most modern Linux
distributions.
2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux Glenn
From: "Russell Aidan (Ext. - UniCredit Business
Integrated Solutions)" <aidan.russell.extern@...>
Date: Wed, 11 Jul 2012 12:05:14 +0100 To: "'openmama-users@...'" <openmama-users@...> Subject: [Openmama-users] OpenMAMA Linux install problem Hi,
I downloaded the OpenMAMA 2.1 Linux package, and installed. However the
binaries are not compatible with the platform below, so I cannot execute the
test programs, or compile a test program (lib not compatible).
Can you help ?
bash-3.2$ uname -a
Linux gbsh232 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686
i686 i386 GNU/Linux
Thanks,
Aidan
regards,
Aidan Russell
Quoting Systems Development
Unicredit Group
0049 89 378 12843
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
|