MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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 Discussion
»
Python pywmq
Goto page
Previous
1
,
2
Python pywmq
«
View previous topic
::
View next topic
»
Author
Message
bobbee
Posted: Mon Jul 11, 2022 1:35 pm
Post subject:
Knight
Joined: 20 Sep 2001
Posts: 545
Location: Tampa
I never did get the package move to work.
The one thing stopping me was the availability of a compiler. I fixed that.
So I am running AIX 7.1 64 bit.
I execute python3 ./setup.py install and I get the following message.
Code:
root@dev1rtpmq01 /home/mqm/modules/pymq/pymqi-1.12.8] # python3 ./setup.py install
Building PyMQI client mode 64bits
Using library_dirs:`['./lib64', '/usr/mqm/lib64']`, include:`['./inc', '/usr/mqm/inc']`, libraries:`['mqic_r']`
running install
running bdist_egg
running egg_info
writing code/pymqi.egg-info/PKG-INFO
writing dependency_links to code/pymqi.egg-info/dependency_links.txt
writing top-level names to code/pymqi.egg-info/top_level.txt
reading manifest file 'code/pymqi.egg-info/SOURCES.txt'
writing manifest file 'code/pymqi.egg-info/SOURCES.txt'
installing library code to build/bdist.aix-7105-1937-64/egg
running install_lib
running build_py
running build_ext
building 'pymqi.pymqe' extension
xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -DPYQMI_BINDINGS_MODE_BUILD=0 -I./inc -I/usr/mqm/inc -I/opt/include/python3.8 -c code/pymqi/pymqe.c -o build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o
/opt/lib/python3.8/config-3.8/ld_so_aix xlc_r -bI:/opt/lib/python3.8/config-3.8/python.exp build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o -L./lib64 -L/usr/mqm/lib64 -lmqic_r -o build/lib.aix-7105-1937-64-3.8/pymqi/pymqe.cpython-38.so
ld: 0711-736 ERROR: Input file build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o:
XCOFF64 object files are not allowed in 32-bit mode.
error: command '/opt/lib/python3.8/config-3.8/ld_so_aix' failed with exit status 8
The compile code is generated by the setup script. I did not have to override this on the other AIX machine.
Back to top
bobbee
Posted: Mon Jul 11, 2022 1:58 pm
Post subject:
Knight
Joined: 20 Sep 2001
Posts: 545
Location: Tampa
Did a little searching. Well alot. I did this and the BUILD and INSTALL worked.
Code:
export OBJECT_MODE=64
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Goto page
Previous
1
,
2
Page
2
of
2
MQSeries.net Forum Index
»
General Discussion
»
Python pywmq
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.