Using OCI on Mac OS X

Hi,
I've already post this topic on Apple technologie forum but I have no answer...
i'm trying to use OCI with XCode but I can't...
When I try to build, it make this error :
TestOracle:0: table of contents for archive: /Users/oracle/TestOracle/libocci9.a is out of date; rerun ranlib(1) (can't load from it)
I've tried to run ranlib on this library but it's the same pb...
Can anybody help me ?
How to use OCI library on MAC OS X ?
Thanks,
guillaume

Well Perhaps you would like to tell us a little bit about your installation of OSX.
keeping in mind that there is currently 4 different revisions.
but i would guess your library is out of date, VRS the library on your osx version

Similar Messages

  • Using OCI on developper tools

    Hi,
    i'm trying to use OCI with XCode but I can't...
    When I try to build, it make this error :
    TestOracle:0: table of contents for archive: /Users/oracle/TestOracle/libocci9.a is out of date; rerun ranlib(1) (can't load from it)
    I've tried to run ranlib on this library but it's the same pb...
    Can anybody help me ?
    Thanks,
    guillaume

    and to set up this var (the dynamic lib path) so that you can use your windows app from the finder or xcode, you can check this:
    "This is true, but it is also possible, and I believe Gary alluded to
    this in his post, to set environment variables for all GUI apps a user
    launches under Mac OS X. In every user's home directory, there is an
    invisible directory named:
    .MacOSX
    In that .MacOSX directory create (or add to, if it already exits) a
    .plist file named:
    .environment.plist
    The easiest way to edit .plist files is with Property List Editor Which
    is in /Developer/Applications if you've installed the Developer Tools
    (or Xcode).
    To add environment variables that will be in effect for any GUI app,
    such as the Carbon Version of Emacs, available at:
    <http://mindlube.com/products/emacs/index.html>
    add new children to the Root entry (or new siblings of existing child
    entries, same diff), one for each environment variable, and enter it's
    value on the right hand side.
    For example, to use slime with sbcl, the environment variable SBCL_HOME
    must be set (it's the directory where the sbcl core file is). So, you'd
    make a new child named SBCL_CORE and set its value to /usr/lib/sbcl (if
    that's where you've installed sbcl).
    To have a certain value of PATH in effect for all GUI apps, add (or
    modify if already existing) a child named PATH and set its value to:
    .:/another/directory/I/want/to/add:/yet/another:/another/still
    Note the .: at the beginning (dot colon) - this tells the system to add
    these entries to the existing default entries which are already in
    effect for all Mac OS X GUI apps. Note that the last entry does *not*
    need to have a colon after it.
    N.B. - For any changes to take effect, you will have to log out and log
    back in. This one has bitten me many times. Dammed aggressive caching!
    (unfortunately, merely executing:
    touch ~/.MacOSX and/or
    touch ~/.MacOSX/environment.plist
    will not work. You really do need to log out and back in again).
    Does anybody know if there's a process that can be killed and
    restarted so that logging out can be avoided (probably the
    WindowServer, so you'd lose anyway - oh well)."
    from google here:
    http://clozure.com/pipermail/openmcl-devel/2004-January/001353.html

  • Using a different .Mac account in iPhoto

    We have a .Mac family pack. My wife and I each have a personal account and we would like to use a completely different .Mac account to post our web galleries, but I don't want to have to create a new user on my Mac just to use iPhoto. Is there a way that iPhoto can use a different .Mac account than the one associated with my user account on my computer to publish galleries?
    Thanks,
    Aaron

    For POP:
    The following mail server settings will work with all AT&T email domains: @ameritech.net, @att.net, @bellsouth.net, @flash.net, @nvbell.net, @pacbell.net, @prodigy.net, @sbcglobal.net, @snet.net, @swbell.net, @wans.net.
    Email Program Settings Field:
    Enter:
    Incoming (POP)
    inbound.att.net
    Outgoing (SMTP)
    outbound.att.net(requires authentication)
    Incoming mail server:
    POP3
    Incoming/Outgoing User Name:
    Full AT&T email address, including domain (e.g., [email protected], [email protected])
    Incoming mail port #:
    995, secure connection (SSL) checked
    Outgoing mail port #
    465, secure connection (SSL) checked
    I assume the settings you are refering to gives that delay for marking the messages as read when highlighted for that period of time. Probably for scrolling through the list without changing the unread status. Lion doesn't have that selection, so I can't test that at the moment.

  • I'm using Word for Mac. Though there are various instructions on the Internet for modifying the templates, none make sense to me. They instruct to do something I can't follow. I change a template but can't save it to the template folder.

    What the ****.
    OK, I try to change a template using Word for Mac version 14.3.4 2011 edition.
    I make a change to the template but am unable to save the darned thing to the template folder; it asks for a file name like it's a new document. I want to change the blasted template but if I can't save it as a modified template, I've accomplished nothing.
    Does anyone have a solution?
    Thanks

    Support for Microsoft Office for Mac

  • How do I use my new mac instead of old one with my iphone 4

    I recently just got a new Mac and wont be able to use my old Mac because I will be leaving for college in a couple weeks. My iPhone 4 is set up with my old Mac. How do i get it to sync with my new Mac now instead of my old one? Because of space on my iPhone, I manually manage all of the music on it. When I have my iPhone connected to my new mac, it shows up in iTunes but it wont let me manage my music.

    You can use Migration Assistant to migrate your old Home folder to your new computer. Or, if all you want is your iTunes Library, then copy the /Home/Music/iTunes/ folder to an external hard drive. Then move the external drive to the new computer and restore the folder to the /Home/Music/ folder on the new computer overwriting the one that's now there.
    If you have never started up the new computer, then you can use the Setup Assistant instead of Migration Assistant to transfer your old Home folder to the new computer.
    The two computers must be connected by Firewire cable or Thunderbolt cable depending upon what they both support. The old computer is booted into Target Disk Mode while the new computer is booted normally. In Setup or Migration Assistant you would be selecting the option to migrate from another Mac or disk drive.

  • How to bind arrays to PL/SQL stored procedure using OCI?

    Hi,
    We are having problems trying to bind arrays to PL/SQL stored procedure using OCI. Here is the situation:
    - We have a stored procedure called "GetVEPFindTasks" with the following interface:
    PROCEDURE GetVEPFindTasks (
    p_ErrorCode OUT NUMBER,
    p_ErrorMsg OUT VARCHAR2,
    p_RowCount OUT NUMBER,
    p_VEPFindTasks OUT t_VEPFindTaskRecordTable,
    p_MaxTask IN NUMBER);
    t_VEPFindTaskRecordTable is a record with the following entries:
    TYPE t_VEPFindTaskRecord IS RECORD (
    RTCID NUMBER,
    TransNum NUMBER,
    TransTimestamp VARCHAR2(20),
    Pathname1 image_data.pathname%TYPE,
    Pathname2 image_data.pathname%TYPE,
    Pathname3 image_data.pathname%TYPE,
    OperatorID operator.id%TYPE);
    - Now, we are trying to call the stored procedure from C++ using OCI (in UNIX). The call that we use are: OCIBindByName and OCIBindArrayOfStruct to bind the parameters to the corresponding buffers. We bind all parameters in the interface by name. Now, we do bind the record's individual item by name (RTCID, TransNum, etc.), and not as a record. I don't know if this is going to work. Then, we use the bind handles of the binded record items (only record items such as RTCID, TransNum, and NOT error_code which is not part of the record) to bind the arrays (using OCIBindArrayOfStruct).
    All of the parameters that are binded as arrays are OUTPUT parameters. The rest are either INPUT or INPUT/OUTPUT parameters. Now, when we try to execute, OCI returns with an error "Invalid number or types of arguments" (or something to that sort... the number was something like ORA-06550). Please help...
    Is there any sample on how to use the OCIBindArrayOfStruct with PL/SQL stored procedures? The sample provided from Oracle is only for a straight SQL statement.
    Thank's for all your help.
    ** Dannil Chan **

    As you said:
    You have to pass in an array for every field and deconstruct/construct the record in the procedure. There is no support for record type or an array of records. Can you give me a example? I'am very urgently need it.
    thanks
    email: [email protected]

  • I use word for mac and keep getting an error message microsoft syn services has encountered a problem and needs to close.  tell microsoft about this problem. even if i clicked send info to m/soft the message still comes up repeatedly i've turned comp off

    i use word for mac & keep getting error message "microsoft sync services has encountered a problem & needs to close. tell m/soft about this prob" even if i tick send to m/soft and turn computer off & restart it just keeps reappearing repeatedly?

    i use word for mac & keep getting error message "microsoft sync services has encountered a problem & needs to close. tell m/soft about this prob" even if i tick send to m/soft and turn computer off & restart it just keeps reappearing repeatedly?

  • How to restore from Time Machine WITHOUT install discs using a second Mac

    It's a question that is asked repeatedly all over the web by Mac users like me that bought in to Time Machine (TM) on the assumption that if their computer died one day it would be a piece of cake to restore from it, only for that day to come and then to be told "ahh, okay the first thing is to get your computers install discs..." (loud crashing sound of world falling around ears).
    I've never been able to afford a new Mac and both of my machines were bought second-hand. Neither came with Leopard (both have Tiger and have been upgraded to Leopard via the net). This was never supposed to be a problem as I've been backing up with TM. However it appears that Tiger discs are as much use as an inflatable dart board when it comes to using TM. So I've been faced with the possibility of having to spend £130 (about two hundred Pres Sheets, Yankees) on the Leopard install discs just so that I can have the option of restoring from TM. Bonkers.
    However after much nashing of teeth, a very long weekend learning all sorts of things about 'Target Mode', 'Single User Mode', 'Verbose Mode', 'Open Source 9' etc the following solution has worked without the need to go out and buy those over-priced discs...
    What you will need:
    1 broken Mac requiring restoration
    1 second donor Mac running Leopard (or Snow Leopard so long as the broken Mac can run it)
    1 firewire cable with the correct fitting at either end to attach both Macs together
    1 Time Machine backup
    Note: The following is for when you have given up trying to boot from your hard drive. In my case I couldn't boot in to Safe Mode etc. so was forced to format my drive and re-import everything. If you've read this far I'm assuming your at the same point as well and have tried everything else that's out there first.
    Also - both my Macs are Power PC's so can't run Snow Leopard, so I can't say 100% this will work with SL (Intel) machines. From what I've read Snow Leopard will work with this procedure too, but if you've found differently please feel free to add your experiences below...
    STEP ONE: Format the corrupt Hard Drive or replace with a fresh HDD
    *Link the two computers with a firewire.
    *If you're replacing your HDD, remove your corrupted hard drive from the 'broken' machine and insert a new one.
    *Power up the broken Mac whilst holding down the 'T' key. This will start it up in Target Mode and you'll get a nice firewire symbol floating around that machine's screen.
    *Power up the second 'healthy' Mac. This will be our 'donor' machine. When it starts up after a few seconds you will see the hard drive of the broken Mac appear on the donor Mac's desktop.
    *Using your donor Mac's 'Disc Utility', format the broken Mac's hard drive (now's the time to partition it etc. if you want to).
    STEP TWO: Clone your donor Mac
    Your broken Mac is no longer broken and now needs a new OS. But you don't have the discs, right? Well get this... you can clone your donor mac on to your machine, even if they are totally different i.e. a laptop on to a tower.
    *Again using Disc Utility, click on your donor Mac's hard drive. The restore tab appears as an option.
    *Click on restore and drag the donor Mac's hard drive that contains the operating system in to the Source box.
    *Drag the newly formatted hard drive on the broken Mac in to the Destination box.
    *Click restore. Your donor Mac's hard drive will now be 'cloned' on to your no-longer-broken Mac. Once this is done, eject the first Mac's hard drive from your donor Mac's desktop. You no longer need the donor Mac.
    Ta daa! Your machine now starts up happy and smily again. Time to restore all that stuff that's been sat on your Time Machine drive...
    STEP 3: Restore from Time Machine using Migration Assistant
    This is the really clever part that prompted me to write this piece in the first place. Time Machine IS accessible without those Leopard install discs you don't have. You need to use something called 'Migration Assistant'.
    *Start up your machine as normal and you'll see it is an exact clone of the donor machine. Weird huh?
    *Attach your Time Machine hard drive. It will show up as an icon on the desktop and because of it's size, you'll be asked if you want to use it as a Time Machine backup. Err, NO YOU DON'T! Click 'cancel'.
    *Open Migration Assistant (if you can't find it just type it in to Finder and click). There are three options, the middle one being to restore from TM or another disc. Yup, you want that one.
    *Migration Assistant will now ask you what you want to restore in stages, firstly User Accounts, then folders, Apps etc. It will even import internet settings
    And that's you done. Let Migration Assistant do it's thang... altogether I had about 140gb to restore, so it wasn't exactly speedy. This wasn't helped by the fact that my TM hard drive is connected via USB (yes, I know). Just leave it alone and it'll whirr happily away...
    Before I go - you don't have an option of when to restore from, and will restore from the last Time Machine save. At least then you should be able to access TM and go 'backwards' if you need to.
    Also - for a Mac expert, the above will be up there with 'Spot Goes To The Farm' in terms of complexity. However, for the rest of us the above is only available in fragments all over the net. By far the most common response to 'how do I restore from Time Machine without install discs' is 'you can't'. If I'd found the above information in one place I could have saved a lot of hair pulling and swearing over the last couple of days, so forgive me for sharing this workaround with the rest of the world. Meanwhile your expertise will come in very handy for the inevitable questions that will get posted below, so please feel free to help those people that won't be sure if this solution is the right one for them. I'm no expert, I just want to help people that were stuck in the same situation (and looking at the web, there's a LOT of them).
    Hope this is of use to someone, thanks and *good luck*!

    Most maintenance and repair, restore and install procedures require the use
    of the correct OS X install DVD; be it an original machine-specific restore/install
    disc set or a later retail non-specific general install disc set.
    By having an unsupported system, perhaps installed via an illegal download or
    other file-sharing scheme, where no retail official discs are involved and the
    initial upgrade was done by other means outside of the License Agreements,
    you are asking us to discuss a matter of illegal installation and use of a product.
    There are no legal complete OS X system download upgrades online; only bits
    that are update segments to a retail or as-shipped machine's original OS X install.
    +{Or an installation where a previous owner had correct retail upgrade discs, &+
    +chose to not include them with the re-sale of the computer it was installed in.}+
    However, to answer the initial question. To get and use an externally enclosed
    hard drive in suitable boot-capable housing, and get a free-running Clone
    Utility (download online; often a donation-ware product, runs free) you can
    make a bootable backup of everything in your computer to an external HDD.
    This is the way to make a complete backup to restore all functions to the computer.
    The Time Machine has some limits, in that it can restore only that which it saves.
    It does not make a bootable clone of your entire computer system with apps and
    your files, to an external drive device. A clone can. And some of the clone utility's
    settings can also backup changes to an external drive's system; if that other drive
    is attached to the computer correctly.
    Carbon Copy Cloner, from Bombich Software; and also SuperDuper, another of
    the most known software names you can download and use to clone boot-capable
    system backups of your computer's hard disk drive contents, are often cited.
    However you resolve the matter of the running OS X system in your computer,
    derived from what appears to be questionable means, is part of the initial issue.
    Since you do need to be able to fix an existing installation by unmounting the
    computer's hard disk drive and run the computer from the other (install disc or
    system clone) while it is Unmounted; and use the correct Disk Utility version to
    help diagnose and perhaps be able to fix it. You can't use a Tiger version Disk
    Utility to fix a Leopard installation, and so on.
    So, the situation and replies as far as they can go (since the matter does
    constitute an illegal system, if it was arrived at without correct discs) is a
    limited one. And file sharing of copied Mac OS X (and other) software is
    also considered illegal.
    And, one way to get odd malware and unusual stuff, is to get an unauthorized
    system upgrade from an illegal source online. You never know what's inside it.
    The other reply was not a personal attack; the matter is of legal status and as
    you have a product with a questionable system, the answer is to correct it.
    And if you want to save everything in your computer, make a clone to a suitable
    externally enclosed self-powered boot capable hard disk drive. With older PPC
    Macs, that would best be to one with FireWire and the Oxford-type control chips.
    However that works out...
    Good luck & happy computing!

  • HT204074 How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    Correction, thats two itune id's

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D

    Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D
    Hi, I'm using the new Mac Pro
    2.7 GHz 12-core Intel Xeon E5
    64 GB 1867 MHz DDR3
    AMD FirePro D700 6144 MB
    OSX 10.9.2
    I'm using After Effects 12.2.1.5
    When I attempt to invoke the race trace 3D renderer in a comp, I get this error
    "After Effects Error: Ray-traced 3D: Out of paged mapped memory for ray tracer. Your project may exceed GPU limits. Try closing other applications. Try updating the CUDA driver. (5070::2)"
    My preferences are set to use the CPU for Raytraced 3D since I do not have an Nvidia card.
    So, obviously there is an issue here in that it thinks I have an Nvidia card.
    I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
    So my question is, what files can I delete/reset to cause After Effects to no longer look for CUDA files that do not exist on this machine?
    I do not have the CUDA control panel in System Prefs, so THAT did not carry over.
    Any ideas would be appreciated, thanks!

    > I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
    Ugh. That causes so many problems.
    The first thing to try is deleting the CUDA frameworks from your Mac: Look in /Library/Frameworks for the CUDA.Framework and get rid of it.

  • How can i use my ipod mac address to find it?

    simply put, i left my ipod at work. they missplaced it, now i need to locate it... p.s. its only a 3rd gen 32 gig so its not ios 7 campatible ,icloud only works if you have the device and download cloud on to it(and icloud is turned on).....not looking for opinions just looking for options such as: how can i use my ipod mac address to find it?       i do have the mac address

    You cannot.
    If you did not set up find my pod on the iPod itself, then it cannot be tracked.
    Sorry

  • Iv bought a touchpad app for my iPhone 5 to use on my Mac mini, all the functions work accept the zoom one, how can I fix this problem

    Iv bought a touchpad app for my iPhone 5 to use on my Mac mini, all the functions work apart from the zoom one. How can I fix this please

    Iv bought a touchpad app for my iPhone 5 to use on my Mac mini,''
    Considering the app for the iPhone is for iOS, you may have problems using it on the Mac (Mac OS X)
    Two different operating sysems.
    From iTunes for the touchpad app:
    Requirements: Compatible with iPhone, iPod touch, and iPad. Requires iOS 5.1 or later. This app is optimized for iPhone 5.
    From here >  https://itunes.apple.com/us/app/touchpad/id297623931?mt=8

  • How to use iPhoto on Mac and iOS in conjunction

    I'm using iPhoto on both my Mac, iPhone and iPad. After the new Photo Stream and the new iPhoto iOS app has been released I think it is all started to get a little confusing. Here is some of my thoughts.
    1) When I delete a photo from my Photo Stream the photo gets deleted on all my devices. Nice. On my Mac, iPhoto is for instance creating a "mar. 2012 Photo Stream" event, where all photos from the Photo Stream is keept -- also the deleted once. That's OK. On my Mac I can cleanup these events by deleting the unwanted photos. All my photos are synced to iPad but it seems, that I cannot cleanup these events on iPhoto on my iPad. Is that right? I'm able to "hide" the photos from the events, but that does not delete them -- and they are still visible on my Mac after their are synced.
    2) I have an "Apple iPad Camera Connection Kit" making me able to import photos from my camera to my iPad, which I do daily when I'm on vacation. I thought that I could just import the photos to my iPad, put them in an event/album, edit/retouch them -- and when my iPad gets near my Mac the events/albums gets synced to my iPhoto on my Mac (without having to import them to the Mac manually). But it seems that the Camera app on my iPad is just putting the imported Photos in the "Last Import" album. How is Apple thinking we should do this? I cannot find a way to move them to an Event.
    3) Generally, the difference between Albums and Events in iPhoto iOS seems unclear. After the new iPhoto for iOS was released, I was hoping that I could edit, retouch and choose the best photos from an Events and put them in an Album. I can create a Journal with these photos but that is not always what I want. For instance if I would like to make a slideshow for my TV, it would be nice to have a clean album where only the best photos from an event. How is Apple thinking this should be done?
    Please tell me how you are using iPhoto on Mac and iOS. For me it does not work perfectly.

    Not only do they not work perfectly, they do not work together at all. Pretty much the only thing they share is a name. They are quite independent apps. Editing history on one can not be carried over to the other, so you can't start working on shots on one device and continue on the other. Events, Albums etc have no relation with each other and so on. Perhaps the next version of iPhoto (for either OS) will move them closer together but at this time they have no relationship at all.
    Regards
    TD

  • Want to use Outlook for Mac 2011

    Hello!
    I want to use Outlook for Mac 2011 for my calendar, email, and contacts on my Macbook Air, iPhone 6, and iPad Air.  Is this possible to sync with all these devices with this program?  I am more organized with Outlook than using the different Apple programs.  It has more options. 
    Any help would be appreciated.
    Thank you in advance.

    If you have outlook on all 3 devices, should be okay. However, I am suggesting you to probably try the Apple's and get used to it as you are using all notebook, phoneme and tab with Apple. Might save you some money with that.

Maybe you are looking for

  • Error at Cancel the Billing Document

    Hi All, An error message is coming when i m using transaction VF11 "no billing document generated see log" and at error log the following message are display 0310001002 000010 The item has been fully invoiced already 0410001002 000000 Data inconsiste

  • Stupid question but it's confusing me: trash screen enlarged?

    so my macbooks working fine now, yay. and this LITTLE thing has been bugging me, you know when you click the trash icon on the dock and it shows the trash screen (???), it's huge. like, super huge, vertically, and i can't reach the little corner thin

  • Sqldeveloper do no start without internet connection!

    Hi, My pc is connected to internet . Whenever I start sqldeveloper it try to go 10.0.0.50:DNS . If my internet is down, it do not load . What is the problem ? If there is internet connection there is no problem ! Win XP,Oracle 10gr1, sqldeveloper 1.1

  • Concurrent manager hands

    Dear all, Recently I'm facing weird situation. Suddenly the concurrent manager hangs. It doesn't show "Inactive Manager" It just doesn't progress. It stays on "Pending Normal" Neither a restart of the CM, nor restart of the whole application (and the

  • Anyone teach me how to be an engineer please ?????

    Thunder and Lightning storm, alas NO phone line but strnagely broadband still working. Took all equiment off the line and plugged phone into main test socket ...A PHONE LINE THERE.... return faceplate.... NO PHONE LINE again :-(..... (Broken face pla