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 » libmqic. can not open shared object file

Post new topic  Reply to topic
 libmqic. can not open shared object file « View previous topic :: View next topic » 
Author Message
kashifchughtai
PostPosted: Sun Jun 28, 2009 4:08 am    Post subject: libmqic. can not open shared object file Reply with quote

Newbie

Joined: 28 Jun 2009
Posts: 4

i hav installed mq on linux 64 bit. even i m able to complile my proc file sucessfully but when it gives me error at execution time.
libmqic.so can not open shared object file.

I have already included /opt/mqm/lib64 in LD_LIBRARY_PATH
and that how i m creating the "so" file

/usr/bin/ld -shared -L/opt/mqm/lib64 -o libmqs.so mqs.o -L/opt/mqm/lib64 -lmqic -lmqmcs -lmqmzse -L/opt/oracle/product10gR2/lib -lclntsh `cat /opt/oracle/product10gR2/lib/sysliblist` -ldl -lm

can you help me out?
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Jun 28, 2009 8:59 am    Post subject: Re: libmqic. can not open shared object file Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kashifchughtai wrote:
can you help me out?


Have you checked the file permissions?

Have you checked the instructions in the APG?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 28, 2009 9:59 am    Post subject: Re: libmqic. can not open shared object file Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kashifchughtai wrote:
i hav installed mq on linux 64 bit. even i m able to complile my proc file sucessfully but when it gives me error at execution time.
libmqic.so can not open shared object file.

I have already included /opt/mqm/lib64 in LD_LIBRARY_PATH
and that how i m creating the "so" file

/usr/bin/ld -shared -L/opt/mqm/lib64 -o libmqs.so mqs.o -L/opt/mqm/lib64 -lmqic -lmqmcs -lmqmzse -L/opt/oracle/product10gR2/lib -lclntsh `cat /opt/oracle/product10gR2/lib/sysliblist` -ldl -lm

can you help me out?

Check that all the libraries are at the right compatibility level... You might need a java patch...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kashifchughtai
PostPosted: Sun Jun 28, 2009 7:56 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2009
Posts: 4

permission are as follows:

drwxr-xr-x 2 mqm mqm 4096 Jun 23 08:22 3.3
drwxr-xr-x 2 mqm mqm 4096 Jun 23 08:22 3.4
-r-sr-sr-x 1 mqm mqm 38522 Oct 2 2006 amqccgsk
-r-sr-sr-x 1 mqm mqm 39634 Oct 2 2006 amqccgsk_r
-r-sr-sr-x 1 mqm mqm 194507 Oct 2 2006 amqcctca
-r-sr-sr-x 1 mqm mqm 202247 Oct 2 2006 amqcctca_r
-r-sr-sr-x 1 mqm mqm 105513 Oct 2 2006 amqcltca
-r-sr-sr-x 1 mqm mqm 109003 Oct 2 2006 amqcltca_r
lrwxrwxrwx 1 root root 35 Jun 23 08:22 libimqb23gl_r.so -> /opt/mqm/lib64/3.3/libimqb23gl_r.so
lrwxrwxrwx 1 root root 33 Jun 23 08:22 libimqb23gl.so -> /opt/mqm/lib64/3.3/libimqb23gl.so
lrwxrwxrwx 1 root root 35 Jun 23 08:22 libimqc23gl_r.so -> /opt/mqm/lib64/3.3/libimqc23gl_r.so
lrwxrwxrwx 1 root root 33 Jun 23 08:22 libimqc23gl.so -> /opt/mqm/lib64/3.3/libimqc23gl.so
-r-xr-xr-x 1 mqm mqm 18189 Oct 2 2006 libmqcxa64_r.so
-r-xr-xr-x 1 mqm mqm 17944 Oct 2 2006 libmqcxa64.so
-r-xr-xr-x 1 mqm mqm 16280 Oct 2 2006 libmqcxa_r.so
-r-xr-xr-x 1 mqm mqm 16195 Oct 2 2006 libmqcxa.so
-r-xr-xr-x 1 mqm mqm 26345 Oct 2 2006 libmqicb_r.so
-r-xr-xr-x 1 mqm mqm 26313 Oct 2 2006 libmqicb.so
-r-xr-xr-x 1 mqm mqm 184061 Oct 2 2006 libmqic_r.so
-r-xr-xr-x 1 mqm mqm 178852 Oct 2 2006 libmqic.so
-r-xr-xr-x 1 mqm mqm 512765 Oct 2 2006 libmqiz_r.so
-r-xr-xr-x 1 mqm mqm 499996 Oct 2 2006 libmqiz.so
-r-xr-xr-x 1 mqm mqm 65777 Oct 2 2006 libmqjx_r.so
-r-xr-xr-x 1 mqm mqm 2353428 Oct 2 2006 libmqmcs_r.so
-r-xr-xr-x 1 mqm mqm 2228493 Oct 2 2006 libmqmcs.so
-r-xr-xr-x 1 mqm mqm 8381 Oct 2 2006 libmqmzse.so
[crisops@itlinuxbl79 lib64]$ pwd
/opt/mqm/lib64

@fjb_saper
: what patch we need? i m not aware of it. can you please elaborate?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 28, 2009 8:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you check the requirements (we use AIX) there is a specific patch level that is a minimum for the java version....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kashifchughtai
PostPosted: Sun Jun 28, 2009 11:42 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2009
Posts: 4

there are the RPMs installed which includes MQSeriesJava-6.0.1-0 also.

is there anything else required.

MQSeriesRuntime-U806667-6.0.2-0
MQSeriesJava-U806667-6.0.2-0
MQSeriesKeyMan-6.0.1-0
MQSeriesClient-U806667-6.0.2-0
MQSeriesKeyMan-U806667-6.0.2-0
MQSeriesTXClient-U806667-6.0.2-0
MQSeriesRuntime-6.0.1-0
MQSeriesSamples-6.0.1-0
MQSeriesJava-6.0.1-0
MQSeriesSDK-6.0.1-0
MQSeriesSamples-U806667-6.0.2-0


and getting the following info when doing LDD on so.

ldd libmqs.so
/stub/$LIB/libcwait.so => /stub/lib64/libcwait.so (0x0000002a95665000)
libmqic.so => /opt/mqm/lib64/libmqic.so (0x0000002a95766000)
libmqmcs.so => /opt/mqm/lib64/libmqmcs.so (0x0000002a9588e000)
libmqmzse.so => /opt/mqm/lib64/libmqmzse.so (0x0000002a95b52000)
libclntsh.so.10.1 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95c6f000)
libm.so.6 => /lib64/libm.so.6 (0x0000002a95d73000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000002a95ef9000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000002a9608e000)
libc.so.6 => /lib64/libc.so.6 (0x0000002a961a6000)
libmqiz.so => /opt/mqm/lib64/libmqiz.so (0x0000002a963da000)
/lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)


urgent help required.

thanks
MQSeriesSDK-U806667-6.0.2-0
MQSeriesClient-6.0.1-0
MQSeriesTXClient-6.0.1-0
Back to top
View user's profile Send private message
kashifchughtai
PostPosted: Mon Jun 29, 2009 2:04 am    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2009
Posts: 4

updated info

there are the RPMs installed which includes MQSeriesJava-6.0.1-0 also.

is there anything else required.

MQSeriesRuntime-U806667-6.0.2-0
MQSeriesJava-U806667-6.0.2-0
MQSeriesKeyMan-6.0.1-0
MQSeriesClient-U806667-6.0.2-0
MQSeriesKeyMan-U806667-6.0.2-0
MQSeriesTXClient-U806667-6.0.2-0
MQSeriesRuntime-6.0.1-0
MQSeriesSamples-6.0.1-0
MQSeriesJava-6.0.1-0
MQSeriesSDK-6.0.1-0
MQSeriesSamples-U806667-6.0.2-0


and getting the following info when doing LDD on so.

ldd libmqs.so
/stub/$LIB/libcwait.so => /stub/lib64/libcwait.so (0x0000002a95665000)
libmqic.so => /opt/mqm/lib64/libmqic.so (0x0000002a95766000)
libmqmcs.so => /opt/mqm/lib64/libmqmcs.so (0x0000002a9588e000)
libmqmzse.so => /opt/mqm/lib64/libmqmzse.so (0x0000002a95b52000)
libclntsh.so.10.1 => /opt/oracle/product10gR2/lib/libclntsh.so.10.1 (0x0000002a95c53000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a97031000)
libm.so.6 => /lib64/libm.so.6 (0x0000002a97135000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000002a972bb000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000002a97450000)
libc.so.6 => /lib64/libc.so.6 (0x0000002a97568000)
libmqiz.so => /opt/mqm/lib64/libmqiz.so (0x0000002a9779c000)
libnnz10.so => /opt/oracle/product10gR2/lib/libnnz10.so (0x0000002a9790f000)
/lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)

any idea?
thnks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 29, 2009 11:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Do you have /opt/mqm/lib64/ on your java.library.path ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » libmqic. can not open shared object file
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.