Go Back   The UNIX and Linux Forums > Operating Systems > AIX


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-08-2010
Registered User
 
Join Date: May 2009
Posts: 58
Thanks: 11
Thanked 1 Time in 1 Post
module has an invalid magic number

Hello everybody:

I have a trouble running an application which connects to an Oracle server, I got this message:


Code:
Dependent module /opt/oracle/product/10.2/lib/libclntsh.so could not be loaded.
The module has an invalid magic number.

Running ldd MyApp doesn't report missing symbols, I've tried to fix this by changing the LIBRARY_PATH AND LD_LIBRARY_PATH to /opt/oracle/product/10.2/lib32 but the same error persists, even by changing the LIBPATH to lib32, the program tries to load the lib/libclntsh.so.

How can I fix this error? any advice would be appreciated.
Sponsored Links
    #2  
Old 07-09-2010
Registered User
 
Join Date: Mar 2010
Posts: 141
Thanks: 0
Thanked 19 Times in 19 Posts
Hi
it's link
/opt/oracle/product/10.2/lib32 and /opt/oracle/product/10.2/lib
you rather look for /opt/oracle/product/10.2/lib64
please look,
http://www.unix.com/aix/59058-error-0509-036-a.html
The Following User Says Thank You to john1212 For This Useful Post:
edgarvm (11-10-2010)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Bad magic number on /dev/md0 ravinandan UNIX for Advanced & Expert Users 0 08-17-2007 07:56 AM
Bad Magic Number wesweshahaha Filesystems, Disks and Memory 0 05-18-2006 01:28 PM
bad magic number rein UNIX for Advanced & Expert Users 5 01-05-2005 10:27 AM
Xlib: Invalid MIT-MAGIC-COOKIE-1 errolg UNIX for Dummies Questions & Answers 1 07-25-2002 04:05 PM



All times are GMT -4. The time now is 11:18 PM.