Author |
Message
|
achrafooo2000 |
Posted: Wed Aug 05, 2009 2:28 am Post subject: mqseries and linux |
|
|
Newbie
Joined: 05 Aug 2009 Posts: 5
|
hi everyone!tthat's my frist post here and i'm very happy to be one of the greatest mqseries forums!!
i'm trying to port a product that was installed in AIX system and compiled with XLC to linux red hat entrprise 5 with GCC as compiler!!
now i'm stuck with this errors that has somthing to do with webspheremq:
Quote: |
make all
gcc -o /home/oracle/Open2/ps/BOF/exe/ps_bof_pdl /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_lettcomp.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_afp.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_pcl.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_ps.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_afpn.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_caller.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_outfilecr.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_ldmaildata.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_ldconfdata.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl_letterdata.o /home/oracle/Open2/ps/BOF/src_PDL/ps_bof_pdl.o /home/oracle/Open2/ps/BOF/lib/ps_bof_comlib.a /home/oracle/Open2/ps/lib/ps_sortlib.a /home/oracle/Open2/ps/lib/ps_sdllib.a /home/oracle/Open2/ps/lib/ps_omrlib.a /home/oracle/Open2/ps/lib/ps_cshlib.a /home/oracle/Open2/ps/lib/ps_pdllnglib.a /home/oracle/Open2/ps/lib/ps_parslib.a /home/oracle/Open2/ps/BOF/lib/ps_bof_rlslib.a /home/oracle/Open2/ps/lib/ps_dblib.a /home/oracle/Open2/ps/lib/ps_lstlib.a /home/oracle/Open2/lng/lib/lng_bclib.a /home/oracle/Open2/lng/lib/lng_API_lib.a /home/oracle/Open2/com/lib/com_API_lib.a /home/oracle/Open2/COMMON/lib/commonlib.a /home/oracle/Open2/syu/lib/su_loglib.a /home/oracle/Open2/syu/lib/su_wdlib.a /home/oracle/Open2/syu/lib/su_melib.a /home/oracle/Open2/syu/lib/su_dslib.a -L/home/oracle/Open2/lng/exe -L/usr/local/oracle/9.2.0/lib/ \
/home/oracle/Open2/lng/exe/liblng_shlib.a -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -ldl -lm -lpthread -lnsl -lirc -ldl -lm -lm -lld /usr/lpp/mqm/lib/libmqm.a /usr/lib/libiconv.a
gcc: /usr/lpp/mqm/lib/libmqm.a : Aucun fichier ou répertoire de ce type
gcc: /usr/lib/libiconv.a : Aucun fichier ou répertoire de ce type
make: *** [/home/oracle/Open2/ps/BOF/exe/ps_bof_pdl] Erreur 1 |
the product was installed with mqseries 5 in AIX system and now when i'm porting this produc i installed websphere mq 7 !!as u see he didn't found libmqm.a and i don't know if that lib is specefic for AIX or i did a wrong installation or just that websphere mq is not for linux red hat!! |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 05, 2009 3:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
-lld /usr/lpp/mqm/lib/libmqm.a /usr/lib/libiconv.a
gcc: /usr/lpp/mqm/lib/libmqm.a : Aucun fichier ou répertoire de ce type
gcc: /usr/lib/libiconv.a : Aucun fichier ou répertoire de ce type |
I am surprised that you did not find the problem yourself right away...
I doubt very much that MQ has been installed in /usr/lpp/mqm on your linux machine. You need to adjust your path for linked libraries in accordance.
Also don't know if the symlink for /usr/lib/libiconv.a is valid on Linux...
You may need to either recreate it or find its new destination...
And depending on platform check out the right suffix for the libraries...
(.a, .so .x?)
Check out /opt/mqm/lib ....
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
achrafooo2000 |
Posted: Wed Aug 05, 2009 5:08 am Post subject: |
|
|
Newbie
Joined: 05 Aug 2009 Posts: 5
|
thanks for your reply!!as i said the problem is not in the instalation folder i search the whole /opt/mqm directories for libmqm.a and i didn't find when i said the whole directoy i mean also the subdirectories as /lib /inc / java ....
really i didn't know what to do with this libmqm.a
i do command #locate libmqm.a that search fo the whole linux system and no result!!
Last edited by achrafooo2000 on Wed Aug 05, 2009 5:16 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 05, 2009 5:15 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you install MQ Server, or MQ Client? |
|
Back to top |
|
 |
achrafooo2000 |
Posted: Wed Aug 05, 2009 5:36 am Post subject: |
|
|
Newbie
Joined: 05 Aug 2009 Posts: 5
|
i installed both of them!!the client and server!! |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 05, 2009 6:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
achrafooo2000 |
Posted: Wed Aug 05, 2009 6:59 am Post subject: |
|
|
Newbie
Joined: 05 Aug 2009 Posts: 5
|
thanks man for the tips !!i will search for these libmqm and i will tray to compile!!anyway thanks man for the help and i will reply if anything new!! |
|
Back to top |
|
 |
achrafooo2000 |
Posted: Thu Aug 06, 2009 12:27 am Post subject: |
|
|
Newbie
Joined: 05 Aug 2009 Posts: 5
|
just one question the link that u give explain that libmqm.so in linux is equivalent to libmqm.a in AIX system is that right!!? |
|
Back to top |
|
 |
|