ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » mqseries and linux

Post new topic  Reply to topic
 mqseries and linux « View previous topic :: View next topic » 
Author Message
achrafooo2000
PostPosted: Wed Aug 05, 2009 2:28 am    Post subject: mqseries and linux Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 05, 2009 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
achrafooo2000
PostPosted: Wed Aug 05, 2009 5:08 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 05, 2009 5:15 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Did you install MQ Server, or MQ Client?
Back to top
View user's profile Send private message
achrafooo2000
PostPosted: Wed Aug 05, 2009 5:36 am    Post subject: Reply with quote

Newbie

Joined: 05 Aug 2009
Posts: 5

i installed both of them!!the client and server!!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 05, 2009 6:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Then there should be a libmqm file of some extension or another somewhere.

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/fg16440_.htm
Back to top
View user's profile Send private message
achrafooo2000
PostPosted: Wed Aug 05, 2009 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message
achrafooo2000
PostPosted: Thu Aug 06, 2009 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » mqseries and linux
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.