Any tool to change load command of Mac libraries

I'm looking for a tool that can be used to remove dependency from a dylib.
To be more specific, I have a.dylib which depends on b.dylib. So by using otool -L a.dylib I could see a depends on b.
But I know a.dylib actually doesn't use b.dylib. So even if b.dylib is not available on the syetem I should still be able to use a. But I don't have source code of a so that I can't build it myself.
So the only way is to find a tool that can modify load command of a.dylib so that it never searches b.dylib. Does anyone know if there're such tools?

You're in the OS X forum, but your footer indicates OS 9; I'll assume the former here.
Donno.  I usually give the tool something else to chew on, if I'm working in this area.
That's either via patching the tool, or by providing the tool with some other b.dylib to resolve the activation to.
In addition to your use of otool, also see the dyld and install_name_tool tools.
(Semi-related discussion, and documentation.)

Similar Messages

  • Are there any Tools for changing settings of the PMU?

    Hello everybody,
    does anyone know a tool to access PMU-Settings?
    As the manual says, my PowerBook does only recharge my battery when it is below 95%. I would like to change that, so charging will commence only below 20% or so.
    With 95% I always have to remove my battery when on AC to prevent it being reloaded 4 or 5 times a day from e.g. 80% up.
    I would just like to save charging cycles and by that extend battery life.
    Thanks for any ideas.
    Andreas

    Hi Andreas --
    I'm not aware of any way to alter the re-charge settings of your PowerBook's Power Management Unit (or any other of its settings).
    However, in light of your stated concern about "saving charging cycles," I don't think you have anything to be worried about.
    Here's an excerpt from Apple's Lithium Ion Battery support page concerning the definition of a battery's "charging cycle:"
    Charge Cycle. Using and recharging 100% of battery capacity equals one full charge cycle.
    A charge cycle means using all of the battery’s power, but that doesn’t necessarily mean a single charge. For instance, you could listen to your iPod for a few hours one day, using half its power, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two, so you may take several days to complete a cycle. Each time you complete a charge cycle, it diminishes battery capacity slightly, but you can put both notebook and iPod batteries through many charge cycles before they will only hold 80% of original battery capacity. As with other rechargeable batteries, you may eventually need to replace your battery.
    My read of the above is that a charge cycle doesn't occur every time you recharge your battery, but rather every time you use all of your battery's power. So, it's of no moment whether your battery recharges once a day or five times a day, the critical issue is how much of the battery's power has been used on a cumulative basis.
    The link to the whole page is here is you're interested: http://www.apple.com/batteries/
    -- JDee

  • Previews won't update until clicking on a tool or changing modules

    Hey all,
    On my previous computer (a Toshiba Laptop, Core2Duo 2.0 GHz with 2GB RAM, Intel 950 graphics, and Vista Home Premium), LR ran pretty well. I've since sold that off and moved to an HP quad-core with 4GB of RAM, nVidia 7350, and the same Vista version. LR seems to run slower now for some reason while moving about the catalog (and I'm not running anything extra on startup...less, in fact!).
    Additionally, this new fun thing has been happening: it seems that my preview in any module will show up as pixellated (as if it's trying to load the image, but it's not SAYING so) as I move around. I can zoom and move with the hand or by using the map on the upper left...it remains pixellated. The kicker is that if I select ANY tool or change to any of the other modules, whiz-bang, the preview shows up all crystal-clear.
    What the heck is going on here? My catalog is stored on the C: drive (on a rather ample hard drive), but my photos are on a separate super-quick SATA drive (again with quite a bit of free space). I would really rather not push all my photos to the C: drive, as I like keeping them separate.
    I'm running a fully-registered version of LR 1.1 that was installed only a month ago. My catalog is only around 6500 pictures at this point, and I've been importing using the LR defaults (no standard sized previews). I saw a few postings about enabling this to speed things up. As a side-question, is there any way for me to tell LR to render these previews AFTER I've added 'em to my catalog? As in a "Select All, press Ctrl-Alt-Whatzit Button"?
    Sorry if this is a bit of a ramble...please let me know if I can provide more information to figure out just what the heck is going on! I'm looking for a miracle here, because I just discovered the joy of all the nifty new developer features in this program over the very-vanilla Camera RAW processor (that won't do my pocket JPEGS when I'm not carrying my DSLR).
    Thanks again,
    John

    okay, I don't know about the rest, but about the songs never actually loading onto your iPod, I found in another discussion how to fix that. I'm using Windows 7, so I don't know if the steps are the same, but the end result is the same. So go into your Start menu, then into accessories, right click 'Command Prompt' and click 'Run as administrator'. Then type in the following: netsh winsock reset then press Enter. After a few seconds it should tell you to to restart your computer for changes to take effect. Restart your computer, then restart iTunes, then everything should be working fine. It still takes forever sometimes to update the iPod, but eventually it will work. I've had to do this multiple times, so I'd suggest copying & pasting this solution into a notepad or Word document and saving it on your computer, so you don't have to go through the discussions again to find it. This tends to happen to me nearly every day unfortunately Hope this fixes that problem, but I'm not having any of the other problems fortunately, except for removing the artwork of the songs it updates without me asking it too. PS I think my problem may be with iOS 5, because iTunes 10.5 came out before iOS 5, and I think everything was fine before I updated my iPod, but I really don't know where the problem lies

  • Hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    what a long post....Apple, btw, does not read this stuff, so ranting, raving, and complaining here might make you feel good, but it does no good at all. That being said, I, too have a Mac Pro Quad Core Xeon with 6 gigs of ram and an nVidia 8800 GT graphics card (not as good as yours, alas) and I've had no problems at all with it. Yes, it doesn't have Thunderbolt, but maybe we Mac pro owners will get lucky and someone will come out with an adapter (probably not). No, you probably don't have to throw away your Mac Pro, but if you do, I'll take it, for a small "recycling" fee >:-) That was a joke.  Yes, the Mac Pro's future isn't quite clear, YET. Hopefully that will improve very soon. As for not being able to upgrade to Mountain Lion. Don't worry about that too much, Nobody is forcing you to do that.  Your Mac Pro won't quit working if it isn't installed. From what  I've heard, you should give the new OS a chance, and wait to get it, in case there might be some bugs, or stuff not working with the new OS, which has been known to happen. Yes, we Mac Pro owners don't like being treated like mushrooms-kept in the dark, and being fed......... but Apple is Apple and it will do what it does, and there is nothing you or me can really do to change that. All I can say is....trust, have faith, be patient, go for a walk, do something else to take your mind off of this problem. IF apple decides to drop the Mac Pro for good, and that's a big "IF", I think they will anger a whole bunch of people
    which isn't good. However, that hasn't happened...YET. Let us hope that it doesn't
    John B

  • After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • On an iMac I can't enter any text in safari or Firefox header bar. In all my program's I just have the arrow cursor and can't change to any tools in the tool bars - please help!

    I cant type any text in safari or and in all programs i have the arrow cursor and can't change to any tools in the tool bars - please help!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Does any chage on timesten using ttmodinstal tool makes changes on library?

    Hi:
    Yesterday I migrate a database from Solaris to Linux OS.
    On linux I have already installed a timesten instance before, this was listening on port 18003.
    In order to my application could get a connection on this instance, I needed to change port to 16003.
    When I tried to start some application that was running on an old datastore on this instance, it could not started, I checked libraries and I found that there were recreated yesterday at the same time I was changed the listenning port.
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [IM002]; error code [0]; [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified; nested exception is java.sql.SQLException: [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified
    java.sql.SQLException: [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver]Data source name not found and no default driver specified
    at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3184)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3318)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3283)
    at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:724)
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1783)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:303)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:159)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
    at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:315)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:109)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
    at org.hibernate.loader.Loader.doQuery(Loader.java:661)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
    at org.hibernate.loader.Loader.doList(Loader.java:2150)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
    at org.hibernate.loader.Loader.list(Loader.java:2024)
    at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
    at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300)
    at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093)
    at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    at org.springframework.orm.hibernate3.HibernateTemplate$31.doInHibernate(HibernateTemplate.java:853)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
    at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:844)
    at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:836)
    at com.bursatec.bmv.selectividad.persistence.dao.impl.FedCenlacesDaoImpl.cargarDatos(FedCenlacesDaoImpl.java:83)
    at com.bursatec.bmv.retransmision.middleware.configura.ProcesoSelectividad.cargaSelectividad(ProcesoSelectividad.java:128)
    at com.bursatec.bmv.retransmision.middleware.configura.ProcesoRetransmision.iniciaAmbiente(ProcesoRetransmision.java:68)
    at com.bursatec.bmv.retransmision.middleware.configura.ProcesoRetransmision.main(ProcesoRetransmision.java:49)
    Is it possible a recompilation could be ocurred when I reassign the timesten port??
    What could be the reason myh old application could not get a connection if no changes was made to timesten (on version)?
    Regards.

    Can you please provide full details of the Tt instance setup on Linux before you 'migrated a database' and after you 'migrated a database' and the exact sequence that you went through.
    When migrating a database (datastore) there should never be any need to change ports used by TimesTen! TimesTen uses several ports for different purposes. For example, the main daemon port number is used for internal communication. This port number is patched into the TimesTen libnraries at install time (and if you use ttModInstall); but you should never need to change this after installation time! If you are using client/server connectivity (as opposed to direct mode connectivity) then there is also a 'server port' number on which the client/server server component listens. You can change this but again there should be no need since the port number to use for connections is specifieed in the sys.ttconnect.ini file on the client side.
    I suspect that you have changed the main daemon port number; however without knowing more details including the commands you used it is hard to say for sure. The error below is a simple DSN not found error and is unlikely to be related to any port number changes.
    Chris

  • I am trying to create a new profile, but I cannot open profile manager in Mac OS 10.5.8. I get the following error: "dyld: unknown required load command 0x80000022 Trace/BPT trap".

    Hello,
    I am trying to repair my Firefox profile, but I cannot open profile manager in Mac OS 10.5.8. When I follow the directions for opening profile manager in my Terminal utility, I get the following error: "dyld: unknown required load command 0x80000022 Trace/BPT trap".
    At this point, Firefox (v 5.0 or previous versions), is not running.
    Thanks.

    [http://asqueella.blogspot.com/2010/12/dyld-unknown-required-load-command.html Here's an Explanation]. Basically you need to add "arch -i386 " at the beginning of the command because 10.5 is 32-bit only and more recent versions of Firefox default to 64-bit.

  • What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change? When we 1st got our Macbook we unknowingly set it up wrong--as 2 separate users, with separate everything. Good for contacts and email, bad for calendar, photos, music.

    What is the best way to have Mac setup for sync-ing 2 calendars?  Any way to change?  When we first got our Macbook we unknowingly set it up as 2 separate users, with separate everything.  Now I have an iphone and I want to sync calendars but not contacts or email.  Any direction you could give would help! thx

    Anyone...anyone? Bueller...Bueller?

  • Hi Any body Knows How to use CAT Tool for Up Loading?

    Hi
    If any body knows how to use CAT Tool for up loading transactions, explain the steps.
    Our requirement is, we want to up load transactions like Oppor , Quotation,Order etc...we want to up load these transcations from Local system to CRM Server
    how to do this? Let me know the steps.
    Regards
    Venkat

    If you have 10,000 or less, CATT is a reasonable method, but I would suspect that you have far more than that if you're needing to load transactions.
    LSMW is probably a better way to go if you have more than 10k, but I am not familiar with LSMW

  • HT204053 Our macs were set up with an incorrect Apple ID. Is there any way to change the Apple ID associated with these macs?

    Our macs were set up with an incorrect Apple ID. Is there any way to change the Apple ID associated with these macs? This causes increased frustration during the updating process. After maverick we cannot edit the id being used anymore.

    If you can prove ownership to the Macs, call Apple Care and request the Account Security Team.

  • I CANNOT change my phone number to an sms capable number to set-up keychain.. I have tried everything. My mobile is stuck set to @icloud and my mac to stuck set to @me and there aren't any options for changing anything. Any help appreciated.

    I CANNOT change my phone number setting to an sms capable number to set-up keychain.. I have tried everything. I am on a Mac OSX, Mavericks upgrade and an iPhone 5. My mobile is set to @icloud and my mac is stuck set on @me and there aren't any options for changing either my phone number, account, details or anything. I simply want to set-up keychain and receive an sms to my mobile and not to my sms non-compatible home phone number. Any help sooo appreciated.

    On your Mac, Sign Out of iCloud, then Sign In with the ID you want to use.

  • I want to change the command keys on my Belkin wireless number keypad and on my Mac keyboard. How can I do that?

    I want to change the command keys on my Belkin wireless number keypad and on my Mac keyboard. How can I do that?

    Command key - this one?
    I want to change the command keys
    You want to change it to what?

  • Any automatic password change tool?

    Hi Guru's,
    Is there any SAP certified tool to change SAP servers AD password automatically once in 90 days?
    regards,
    Vinay

    Hi Vinay,
    We dont have any standard tools to reset the password automatically.
    Regards,
    Naveen.

  • I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    Do you mean that you did a soft-reset ?
    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data and also Clear History
    If that doesn't fix it then try closing Safari via the iPad's multitaskingbar and see if it works when you re-open it :double-click the home button to open the taskbar and then swipe or drag the Safari app's 'screen' up and off the top of the screen to close it, and click the home button to close the taskbar.
    After trying the above you could also do a soft-reset (even if this is what you've already done it might be worth trying after clearing Safari's cache and closing the app via the taskbar) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

Maybe you are looking for

  • Is there anyone here that uses Jedit?

    I'm experimenting with Jedit and I like it but I'm trying to figure something out. I've searched the Web and YouTube and really can't find what I'm looking for. I can compile and run my Java programs fine by using the menus at the top. But I would al

  • CS5 SDK Error compiling Adobe examples.

    Hi, I downloaded the trial version of Illustrator CS5 and the CS5 SDK to be able to adapt my plugins. These plugins are for CS4. Each time I try to compile one of the samples provided in the CS5 SDK, I have the same error error: extra qualification '

  • Standard text must change its value in run time in english or in chinese

    Hi all, i have created the standard text in SO10. name is  YTEST and inside i have declared &vbdpl-idnkd& since i need to get the value of this variable. In script i have written IL    ,,&VBDPL-POSNR+03(03)&,,&ZPRN_MTRL&,, /:     INCLUDE YTEST OBJECT

  • How to undelete an email?

    I accidentally deleted an email tonight as I was reading it (hands are so cold they were shaking!). However, when I delete an email it never goes to the Trash folder so there is nothing to undelete. The email account is my Gmail account using Exchang

  • How to use Director 11.5 ByteArray data in to Flash ByteArray ?

    How to use Director 11.5 ByteArray data in to Flash ByteArray ?