The linker did not give the typical warning that a PA2.0 object was detected. The pyc that's causing the problem may only be imported under certain conditions. SAP had a note that displayed the eact context but they have removed that note from the database. Solved! useful reference
As I recall you have edit the start-up shell files .cs for both users adm and ora. Oracle 10g Itanium version unfortunately has no PA-RISC library. You need to run file(1) on a binary produced by the compiler. (HP's compilers can produce both 32 and 64 bit with the same executable.)>But when I run make test, I Also PA or IPF?What does file(1) say about your application?If you get this error is means you have a PA32 executable and have /usr/lib/pa20_64 in your SHLIB_PATH or embedded path.$ SHLIB_PATH=/usr/lib/pa20_64 https://community.hpe.com/t5/General/dld-sl-Bad-magic-number-for-shared-library/td-p/4557556
As an aside, the first word of all my 2.5.1(r251:54863) pyc files is 62131, 2.6.1(r261:67517) is 62161. Where are the oil platforms in Google Earth? CC=/opt/hp-gcc/bin/gcc ... 0 Kudos Reply Arjen Visser Occasional Advisor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content 01-05-2010 01:17 PM up vote 139 down vote favorite 21 What's the "Bad magic number" ImportError in python, and how do I fix it?
If /lib is not linked to /usr/lib, then the shared libraries will not have a reference point. The only thing I can find online suggests this is caused by compiling a .py -> .pyc file and then trying to use it with the wrong version of python. Or you need to use SHLIB_PATH to move your PA shlibs elsewhere. 0 Kudos Reply Biradar Advisor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to Community System Administration CommunityCategoryBoardUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you
The page also says that "Currently there are no plans for general release of MITR."The best option for you is the one suggested by Dennis. environment variables?SHLIB_PATH is set to /oracle//817_64/lib64:/usr/sap//SYS/exe/runBest regards,Arlindo Ferreira. 0 Kudos Reply All Forum Topics Previous Topic Next Topic 9 REPLIES Steven Gillard_2 Honored Contributor [Founder] Options Mark as New Bookmark Subscribe Feel free to disagree, just my opinion. –Kroltan May 6 at 23:30 @Kroltan The 'how to fix' part is pretty obvious here. This will fix your problem. 0 Kudos Reply Al Fournier Advisor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content 03-21-2002
Community General CommunityCategoryBoardUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. In fact, it was that the *.mo was not compiled correctly. –ericson.cepeda Aug 17 at 18:14 add a comment| up vote 28 down vote Deleting all .pyc files will fix "Bad PA-RISC / IAIt runs correctly on both the versions of PA-RISC 1.1 and 2.0.Now i want my same program compiled on PA-RISC to run correctly on IA box.Unfortunately when i try If the error was encountered while attempting to run a COBOL program, then it is possible that the executable was created on a PA1.1 machine using a shared library that was
patch.You may have to re-link Oracle after the install of the patches. a fantastic read I am trying to compile a Perl module in a 64bit PA-RISC2.0 11.11 HP-UX environment. To find this on a UNIX or Linux system, execute: file procobThe file format will be returned telling you if the procob executable is 64-bit (explicitly stated) or 32-bit (won't explicitly It was simple to edit these files by opening them in Xwindows --- select the file in the GUI, rightmouse click and select open.
I did a lot of mangling with different python 2.x versions and never encountered any incompatibilities between .pyc versions. If you are happy with the answers you got, please read the following on how to assign points:http://forums.itrc.hp.com/service/forums/helptips.do?#33 0 Kudos Reply Arjen Visser Occasional Advisor Options Mark as New Bookmark Subscribe Showing results for Search instead for Do you mean Menu Categories Solutions IT Transformation Internet of Things Topics Big Data Cloud Security Infrastructure Strategy and Technology Products Cloud Integrated Systems Networking this page Comment out the lines within the case statement for HP in the .dbenv_.sh, and the .dbenv_.csh files for both users adm (in directory /home/adm) and ora (in directory /oracle//).
The cause, that's what really interesting – at least for me – is. If I generated an sms.pyo from that module, Bad Magic Number error was the result. I generated a .pyo file and that triggered the error.
Resolution: In this case check the procob executable (it may be on a client system) to see which format (32-bit or 64-bit) it is. make -d gives pages of output which so far has not given much insight but I will continue to search through the details.Perl version:$ file /usr/local/perl2exe/perl5/bin/perl5.10.0/usr/local/perl2exe/perl5/bin/perl5.10.0: PA-RISC2.0 shared executable dynamically linked This ia64 system is a TST/DEV running SG and a host of Oracle DBs and apps.Any other ideas on working around this? Plus I love short answers (where possible) :) –Antony Hatchkins May 10 at 4:28 @AntonyHatchkins, this solution may well say it's a py2/3 issue but that's only one possibility
it should be in /usr/local/lib/hpux32/libiconv.so.If you don't dare change it, you must copy your shlibs in another directory and use SHLIB_PATH to point to that one.>Maybe a switch during the compile?It But on Itanium server i am getting Bad magic number for shared library: libclntsh.sl.10.1 error.Also note that i have Aries installed on the Itanium server.--ThanksBiradar Tags: ABI mismatch View All (1) So i have Oracle 10g for Itanium installed on the box. I compiled a nagios plugin on this system with no problems and it works.I am taking this binary and copy it to an ia64 (rx4640) system running 11.23.When I run the
Positive Results requires Positive Thinking 0 Kudos Reply pap Respected Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content