Sapjco3 mac libsapjco3.jnilib: mach-o, but wrong architecture

Hi,
I'am new by developing with sap.
I want to connect to SAP with an mac OS X Version 10.5.8, java 1.6 and sapjco3. After running I get the following exception:
java.lang.UnsatisfiedLinkError: /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib:  no suitable image found.  Did find:  /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib: mach-o, but wrong architecture  /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib: mach-o, but wrong architecture
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1861)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1778)
     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     at java.lang.System.loadLibrary(System.java:1045)
What' s wrong?
Thanks
Claudia

Hello Claudia,
on Mac OS X Version 10.5.X,  JSE 6 is only available for Intel 64-bit.
From your post, it looks like you have installed JCo for Intel 32-bit.
The 64-bit Java runtime can not load a 32-bit library.
I recomment to install JCo for darwin-intel64 and try again.
Best regards
Rolf-Martin

Similar Messages

  • /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture

    Hello every one,
    I am an absolutely new mac user. I need to run a couple of softwares for my research but I faced errors that I really can not understand. There is an Unix executable and a .f Fortran file in each folder that I use. As I run the executable the following error appears:
    dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
    Referenced from: /Users/somaiehbeladi/Desktop/100601stereo/combine_segments/combinesegs
    Reason: no suitable image found. Did find:
    /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture
    /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture
    Trace/BPT trap
    logout
    However, the libgfortran.3.dylib is already in the mentioned directoty and I used the File command on it which gives
    Somaieh-Beladis-MacBook:lib somaiehbeladi$ File libgfortran.3.dylib
    libgfortran.3.dylib: Mach-O dynamically linked shared library ppc
    Then I tried the otool -L command
    Somaieh-Beladis-MacBook:combine_segments somaiehbeladi$ otool -L combine_segs
    -bash: otool: command not found
    So, could you please let me know how I should find out the proper architecture for my executable and then how to change the architecture.
    Many thanks in advance.

    It looks as though you are using an executable compiled for an Intel processor but have the PowerPC versions of the gfortran libraries installed.
    How did you install this software?
    Which version of OS X are you using?
    Ar you using a PowerPC-based Mac, or an Intel-based Mac?

  • My mac book pro is on, but the power light indicator is not on, the battery charging light is not on, and the computer is making a whirring sound, what is wrong

    My mac book pro is working, but my power light is off, the battery power light is not on and my battery power symbol is a black x. My computer is making a whirring sound sort of like it does when  loading a CD. I had a hard time getting the computer to turn on, used the command, option, P and R buttons to turn in on. I have tried restart, but I still get the whirring sound. What is wrong and what do I do?

    Didn't do an SMC reset. But in attempting to find out about what that was I found some things to try first. Also, when I went to system preferences - hardware, I couldn't find anything regarding power and battery info. Finally, I unplugged the computer for several seconds, then shut it down, removed the battery, put the battery back in. Then I turned on the computer, plugged in the power cord. Problem solved- no whirring sound, battery charging light is on.
    Thanks for getting me in the right direction.

  • I want to download an app, it keeps telling me my password is wrong, I changed it on my mac and it was accepted, but the iphone still says it's wrong

    i want to download an app, it keeps telling me my password is wrong, I changed it on my mac and it was accepted, but the iphone still says it's wrong

    This same thing happend to me,  you have to make a new account and you have to chose your birthday as if your under 18 or 16,  because if you dont own a credit card,  you shouldnt be over this age,  so basictly just make a new email and appleID and when you chose your birthday,  do it under 16 years of age (or your REAL birthday) and you should have an option of clicking "none" for credit card options,  but if you want to buy something,  you will have to do the credit card stuff,  or you can just buy an apple gift card at basictly any store,  So this is how i fixed my problum,  i hope it works for you,  write back your responce of how it worked out please!

  • HT1222 I was trying to run ITunes 10.7 update on my Mac Pro with Retina display but the message appeared "An error has occurred" so I can proceed with the update. I dont' see any other messages. Any ideas what could go wrong?

    I was trying to run ITunes 10.7 update on my Mac Pro with Retina dispaly but "An error has occurred" and I was not able to proceed with the update. The message says "The operation was cancelled. (3072)." I have no other messages. Any ideas why I cannot install this update

    Scott's solution fixed the problem.  It would have been helpful if the update message in the App Store had reported that.  I had first tried B Noir's solution -- and received a helpful warning message that a guest user was still logged in to iTunes.  I switched over, logged the guest user out, switched back and the update within the App store worked perfectly.
    It seems to me that Apple should invest a little time and effort in making their error/warning messages easier to decipher.  I have to come to the forum every time something happens.  Why not simply have a dialogue window that opens up to explain the most likely issues?

  • SAP JCO 3 UnsatisfiedLinkError: /Library/Java/Extensions/libsapjco3.jnilib:

    Hi i'm building an app using Sap JCo 3 migrating from 2.1.8.  I imported the example apps and had problems in eclipse running it.   So i dropped the process all together because of past frustrations with jco i didn't have the time or patience. A month or so later I'm trying again, but this time i packaged my app in a jar then ran java -cp /Library/Java/Extensions/sapjco.jar:myapp.jar StepByStepClient.java and it worked from the command line.
    I was inspired again.  However I wrote a junit test and I still get the same problem (java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path) when running inside eclipse.  Despite it being listed in my classpath in eclipse.  In fact when i try to add the external jar it fails because its already listed.  The native library is in the same folder as sapjco3.jar.
    So i went into project properties, libraries and under JRE System Library, i saw a Native Library Location  and edited it to add /Library/Java/Extensions and tried to run it again.  Now I have different error:
    java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libsapjco3.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1715)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.loadLibrary(DefaultJCoRuntime.java:423)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.registerNativeMethods(DefaultJCoRuntime.java:292)
         at com.sap.conn.jco.rt.JCoRuntime.registerNatives(JCoRuntime.java:862)
         at com.sap.conn.rfc.driver.CpicDriver.<clinit>(CpicDriver.java:947)
         at com.sap.conn.rfc.engine.DefaultRfcRuntime.getVersion(DefaultRfcRuntime.java:41)
         at com.sap.conn.rfc.api.RfcApi.RfcGetVersion(RfcApi.java:213)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:186)
         at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:77)
         at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
         at com.sap.conn.jco.rt.RuntimeEnvironment.setDestinationDataProvider(RuntimeEnvironment.java:117)
         at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:174)......
    Any advice would be appreciated.
    Thanks in advance.
    Joe

    Thanks.  I should have pointed out that I'm running mac os x 10.5.5.
    And I have in /Library/Java/Extensions/ (which is in java.library.path)
    libsapjco3.jnilib       sapjco3.jar
    Also, when i run it from the command line it works fine, however when running from eclipse it fails.  So i guess more specifically this is a question on using Eclipse with JCO3 on Mac.
    Thanks again,
    Joe

  • I just got my Mac Pro repaired from Apple but I am experiencing the same issue: Screen freezes and shows funny rectangular bars. I shut it down manually and when I try to turn it back on it beeps 3 times. I know its the RAM but is there a way I can fix it

    I just got my Mac Pro repaired from Apple but I am experiencing the same issue: Screen freezes and shows funny rectangular bars. I shut it down manually and when I try to turn it back on it beeps 3 times. I know its the RAM but is there a way I can fix it

    If you just got it back and it isn't fixed or something else is wrong with it take it back and have them do the repair correctly.

  • Download from internet to my mac an then to USB, but from UBC in can't download to PC! Why?

    Download from internet to my mac an then to USB, but from UBC in can't download to PC! Why?

    Appologize for wrong typing (UBC instead of USB!)   I would to know why when I download music to my mac laptop (that goes to itunes), and download to USB, why tthrough that USB the music can't be transfered to a PC type computer or or cell phone (not iphone) through that USB?
    Is it itues that doen't work for PC, or it's the same USB that can't work with both mac and PC?

  • Have a new mac andi want reinstall os but i don't have high internet how can reinstall?

    have a new mac andi want reinstall os but i don't have high internet how can reinstall?

    Why do you want to reinstall the OS on a new Mac?  That should not be necessary.  If you tell us what's wrong that is making you want to do that, we can better advise you.
    As to reinstalling the OS, on a Mac with Lion (Mac OS X 10.7.x), you need to either have an internet connection capable of downloading several GB of data or you need to buy the Lion flash drive from the Apple Store.
    To save an installer for future re-use, you could try this:
    Re: Backup disk for OS 10.7 needed

  • Today I cannot transfer photos from iPhone to Mac; yesterday I could; What is wrong?

    Today I cannot transfer photos from Iphone to Mac; yesterday I could; what is wrong? Used Image Capture but today it says no camera is connected; but it is.
    Totally confused. Thanks for any help!

    Yes I did; From another post I noticed the reply about email photos sometimes interferring; deleted those and will now try again. Any other suggestions if that doesn't work?
    Thanks for the speedy reply!

  • Greeting,  I want to reformat my external hard drive using Mac OS Extended (Journaled, Encrypted ) but before formatting it, I want to make sure that if I loose the hard drive or the hard drive get stolen, no one will be able to retrieve or recover the in

    Greeting,
    I want to reformat my external hard drive using Mac OS Extended (Journaled, Encrypted ) but before formatting it, I want to make sure that if I loose the hard drive or the hard drive get stolen, no one will be able to retrieve or recover the information on it so could you tell me what kind of encryption will be used or is there any way to recover the information?
    Thanks!

    I think FileVault is used to encryp internal hard drive but I wanna encrypt an external hard drive with Mac OS Extended Journaled Encrypted which is completely different!

  • Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi Lawrence1981,
    Thanks for visiting Apple Support Communities.
    You may want to check this article for additional troubleshooting steps:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Cheers,
    Jeremy

  • One of my movies I bought shows up on my mac in the itunes library but not on the apple tv.

    I own about 30 movies on my apple tv and one of my movies I bought shows up on my mac in the itunes library but not on the apple tv. How do I fix this issue and get it to show up on my apple tv?

    Two things to check
    1st
    Settings
    Mail, Contacts, Calendars
    AccountsHow many accounts are there?
    2nd
    From Home screen press Mail app
    Press the top left button (next to Inbox)
    You'll see all the Inboxes for the accounts present
    You'll know either way whether one or more accounts has been setup.
    SIDE NOTE: Not too sure about MobileMe though, might be integrated with iCloud, not sure.

  • My mac's launchpad is working but i am not able to use the apps that are provided in the launchpad

    my mac's launchpad is working but i am not able to use the apps that are provided in the launchpad

    Well, everything that you have bought with her Apple ID prior to getting your own Apple ID is forever hers. Apple will not transfer content from one ID to another. But in the case of the Mac, contact iTunes Customer Service and request that they send your issue to the Account Security Team and ask that the Mac be released form your mother's account so you may register it with your account. Then you can accept the iLife apps into your account for any future updates.
    iTunes Support -
    http://www.apple.com/support/itunes/

  • I have a MacBook Pro.  My mac can detect wifi.  But will not connect. I did get connected vis TCP/IP settings but I can't connect to any wifi anywhere.  Network diagnostic has a green light for wi-fi and wi-fi settings.  Red light for the rest.

    I have a MacBook Pro.  My mac can detect wifi.  But will not connect anywhere. I did get connected via TCP/IP settings but I can't connect to any wifi anywhere.  Network diagnostic has a green light for wi-fi and wi-fi settings.  Red light for the rest. (Network settings, ISP, Internet and server.)

    Hello NotAppleSavy,
    Thanks for the question. After reviewing your post, it sounds like the computer wont connect to networks. I see you have used network diagnostic. I would recommend that you read this article, there are a lot of other things you can do in this article that may be able to help you resolve or isolate the issue.
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

Maybe you are looking for