Is there an ldd or equivalent command in OS X unix?

I would like to find out what shareable libraries are linked to an app on my Mac. In HP unix or linux, I can do this with the ldd command. However, when I try that in Terminal on my Mac, I get:
-bash: ldd: command not found
I am perplexed by this. Am I missing the ldd program on my machine or is there a different command that will do the job?
Thanks,
Rich
EMAC G4 1.0 GHz   Mac OS X (10.4.3)  

Hi Scott,
The Rosetta Stone if very nice. Thanks for pointing it out. It also shows otool -L as being the ldd equivalent in Darwin. This source will be useful for other commands also.
Rich

Similar Messages

  • Migrating IOS to NX-OS equivalent command snmp-server enable traps config

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Hello,
    I am trying to figure out what is the equivalent command to configure the IOS "snmp-server enable traps config" on a Nexus 5020 running NX-OS version 4.2.1.N2.1 ,can someone please help me with this problem.
    Also I would like to know if there is a cisco howto document or tool to migrate from IOS to NX-OS  ?
    Any help is greatly appreciated
    Thanks
    Frank

    Hello,
    both Nexus 5k are not generating a trap after a config change, because on both Nexus running same NX-OS version show up the snmp-server enable traps config command. This is really strange behavior, because we are using the same software version for the Nexus 5k devices it doesn't make sense to me. In the meantime I checked the command line guide for this software version but the command wasnt showing up.
    nx5k-mt-2# show snmp trap | grep config
    nx5k-mt-2#
    nx5k-mt-2# show snmp trap
    Trap type                                                              Enabled
    entity               : entity_mib_change                            Yes
    entity               : entity_module_status_change                  Yes
    entity               : entity_power_status_change                   Yes
    entity               : entity_module_inserted                       Yes
    entity               : entity_module_removed                        Yes
    entity               : entity_unrecognised_module                   Yes
    entity               : entity_fan_status_change                     Yes
    link                 : linkDown                                     Yes
    link                 : linkUp                                       Yes
    link                 : extended-linkDown                            Yes
    link                 : extended-linkUp                              Yes
    link                 : cieLinkDown                                  Yes
    link                 : cieLinkUp                                    Yes
    link                 : connUnitPortStatusChange                     Yes
    link                 : fcTrunkIfUpNotify                            Yes
    link                 : fcTrunkIfDownNotify                          Yes
    link                 : delayed-link-state-change                    Yes
    link                 : fcot-inserted                                Yes
    link                 : fcot-removed                                 Yes
    callhome             : event-notify                                 Yes
    callhome             : smtp-send-fail                               Yes
    cfs                  : state-change-notif                           Yes
    cfs                  : merge-failure                                Yes
    fcdomain             : dmNewPrincipalSwitchNotify                   Yes
    fcdomain             : dmDomainIdNotAssignedNotify                  Yes
    fcdomain             : dmFabricChangeNotify                         Yes
    rf                   : redundancy_framework                         Yes
    aaa                  : server-state-change                          Yes
    license              : notify-license-expiry                        Yes
    license              : notify-no-license-for-feature                Yes
    license              : notify-licensefile-missing                   Yes
    license              : notify-license-expiry-warning                Yes
    scsi                 : scsi-disc-complete                           Yes
    fcns                 : reject-reg-req                               Yes
    fcns                 : local-entry-change                           Yes
    fcns                 : db-full                                      Yes
    fcns                 : remote-entry-change                          Yes
    rscn                 : rscnElsRejectReqNotify                       Yes
    rscn                 : rscnIlsRejectReqNotify                       Yes
    rscn                 : rscnElsRxRejectReqNotify                     Yes
    rscn                 : rscnIlsRxRejectReqNotify                     Yes
    fcs                  : request-reject                               Yes
    fcs                  : discovery-complete                           Yes
    fctrace              : route                                        Yes
    zone                 : request-reject1                              Yes
    zone                 : merge-success                                Yes
    zone                 : merge-failure                                Yes
    zone                 : default-zone-behavior-change                 Yes
    zone                 : unsupp-mem                                   Yes
    vsan                 : vsanStatusChange                             Yes
    vsan                 : vsanPortMembershipChange                     Yes
    fspf                 : fspfNbrStateChangeNotify                     Yes
    upgrade              : UpgradeOpNotifyOnCompletion                  Yes
    upgrade              : UpgradeJobStatusNotify                       Yes
    feature-control      : FeatureOpStatusChange                        Yes
    snmp                 : authentication                               Yes
    nx5k-mt-2#
    nx5k-mt-2#

  • Is there a way to change the VNC password thru unix command in ARD2?

    In a local network, I get access denied errors from macs that have the vnc password different than the Administrative login user password. I needed to change the Admistrator password which I did thru the Unix command in ARD2.
    Now.
    Is there a way to change the VNC password thru unix command in ARD2?
    Example:
    remote computer setup
    Panther 10.3.9
    vnc password - gopher
    user ID - testARD with admin rights
    user password - backdoor
    ARD2 Computer setup
    10.4.10
    login ID - testARD
    password - backdoor
    I get the blue icon but get an 'access denied' error.
    I change the password from backdoor to gopher.
    I get the red with dash icon but, can get access to the computer.
    What is going on? Is ARD2 using the VNC resource instead of ARDs resources?

    A quick search of Google finds this <http://www.macgeekery.com/tips/cli/settingremote_desktops_vnc_password_interminal>. I have not tested this myself.
    bill

  • Is there any Java API equivalent to Javascript eval() method?

    Is there any Java API equivalent to Javascript eval() method?
    Regards
    Rakesh

    No there isn't however you can use Jython (or another scripting language of your choice) to reproduce this functionality.

  • Equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT

    Hi,
    What is the equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT?
    - Selva

    Hi,
    I don't think you have any particular command for that in reports. but if you are talking about headers / footers then you may use the events TOP-OF-PAGE and END-OF-PAGE.
    Regards,
    Anand Mandalika.

  • Equivalent command in OAF for when when validate record in forms

    Hi,
    what is the equivalent command in OAF to when when validate record in forms
    kumar

    Hi Kumar,
    validateRow() of your XXVORowImpl is equivalent of When-Validate-Record of forms.
    This method calls validateEntity() of your XXEOImpl
    This method is generally invoked on form submits (POST Requests)
    Regards,
    Ravi

  • How can i turn off the annoying voice that is there whenever you enter a command

    How can I turn off the annoying voice that is there whenever you enter a command.

    Settings > General > Accessibility > VoiceOver > Off

  • RedirectMatch equivalent command in Sun Webserver

    I am looking for a equivalent command for this in SUN Webserver. This command is specific to IBM HTTP server.
    RedirectMatch permanent ^/$ /content/common/index.jsp
    Purpose: One of our sites www.xyz.com is redicted to URL www.xyz.com/content/common/index.jsp immediately. We are not able to carry the referral inforamtion from www.xyz.com to second URL. So we are missing some vital statistics.
    Thanks

    You didn't mention what version you're using.
    In Sun Java System Web Server 7, you could use the following:
    <Client uri="/">
    NameTrans fn="redirect" status="301" url="/content/common/index.jsp"
    </Client>In Sun ONE Web Server 6.1, things are more complicated:
    <Client uri="/">
    NameTrans fn="redirect" from="/" url="/content/common/index.jsp"
    Output fn="set-variable" code="302" error="301" noaction="true"
    </Client>(In both versions, you should place the <Client> container inside the <Object name="default"> container in the obj.conf configuration file.)

  • Why is there no Capture Pilot equivalent for Lightroom?

    Why is there no Capture Pilot equivalent for Lightroom?

    Nothing like it that I know of
    But I just +1 the idea here: Capture Pilot equivalent for LightRoom? on Adobes feedback site & suggest you do too!

  • Is there a way to remap Command-B so it changes the character style to my Emphasis style?

    I'm building a custom template where Helvetica Neue Light is the primary body text font, but going from Helvetica Neue Light to Helvetica Neue Bold is far too large a contrast for my tastes. So in this template, I set the Emphasis character style to Helvetica Neue Medium.
    I've already mapped that style to F7, but it's a pain in the butt having to hit Fn-F7 whenever I want to make text bold, rather than just using Command-B as I've been used to doing for 20+ years now. I'd like to be able to press Command-B and have my Helvetica Neue Light text turn into Helvetica Neue Medium.
    Is there a way to remap Command-B so that it changes the character style on my text to Emphasis, rather than using the Bold option on the font itself? (I wasn't able to set Command-B to change character styles through the Keyboard options in OS X Preferences, since individual character styles aren't in Pages' dropdown menus.)
    Or, alternatively, is there a way to change the preferences for that specific font—either in that specific template, in Pages, or systemwide—so that when Helvetica Neue Light is in use, making the text boldface uses the medium-weight version of the font rather than the heavier bold version?

    No, Cmd + B is for Bold. Doen't that work for you? It doesn give the same result on my computer.

  • Is there any LIKE query equivalent in XML?

    Is there any LIKE query equivalent in XML?
    I would like the display words starts with 'A' in flex list, vice versa. I send A as a input.
    Any ideas?

    Hi,
    I don't know that one - but with slight modification I can filter nodes values also - not onlyl attributes:
    var people:XML = <people>
       <person>
                        <firstName>Peter</firstName>
              </person>
       <person>
                        <firstName>Auguste</firstName>
              </person>
       <person>
                        <firstName>Gregory</firstName>
              </person>
       <person>
                        <firstName>Andy</firstName>
              </person>
    </people>
    (so we have nodes that have values - not attributtes)
    and then e.g.:
    var peopleList:XMLList = people.person.(firstName.charAt(0) == "A");
    trace(peopleList);
    (this is dynamic statement - you could replace "A" with variable reference, etc)
    Edit;
    I've googled interesting article you could read on that subject here:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=4
    hth,
    regards,
    Peter
    Message was edited by: Peter Blazejewicz

  • NI4882 equivalent command for the IVI formatted488IO ReadList command.

    I need an NI4882 equivalent command for the IVI formatted488IO ReadList command.
    This is what I have:
    using Ivi.Visa.Interop;
    using Ivi.Driver.Interop;
    formatted488Class = new FormattedIO488();
    formatted488Class.WriteString("LDATA");
    object response = formatted488Class.ReadList();
    What I need is an equivalent when instead of the IVI DLLs (Ivi.Visa.Interop and Ivi.Driver.Interop), I want to use NationalInstruments.Common, NationalInstruments.NI4882 and NationalInstruments.VisaNS.
    I.e.:
    NI4882.Device.Write("LDATA");
    and then call:
    NI4882.Device.ReadString() or NI4882.Device.ReadByteArray()
    Problem is I don't know how many bytes or strings are to be read, and even if i knew it would not help because it would still not behave the same way as IVI's Readlist.
    Can anyone point me in the right direction?
    Thanks,
    Cris

    Yes, I was using ReadString. Unfortunately, it only returns 128 values of 1000, which is what I need. If you do not specify the number of values to read, i.e,. ReadString(int numberOfBytes), it assumes a default number of 128. However, I found a solution which is more of a workaround. I read the first 128 values, and it so happens that the instrument returns as a first value the number of values to be read (1000). So I read the rest of the values in a loop. Not elegant, but it seems to work for me.

  • Is there an Oracle EF equivalent to SqlFunctions.StringConvert?

    Consider a query where I need to treat a NUMBER column as a string, either for query purposes or simply because I want a string returned. In a normal Oracle query I could use TO_CHAR and things are fine. Entity Framework doesn't let you do that directly.
    To get around the problem, Microsoft created a [url http://msdn.microsoft.com/en-us/library/dd466166.aspx] SQLFunctions class that does let you perform certain conversions inside Linq to Entities queries. It doesn't seem to work with the Oracle EF provider (which isn't surprising given that it was built for SQL Server), so I'm wondering if there's an Oracle equivalent?
    Thanks.
    Edited by: Tridus on Jun 13, 2011 9:49 AM Fixed link.

    No equivalent in ODP.NET yet.
    As a workaround, you may want to create a user defined stored function to be included in the model, and create a stub function to map to it.
    For example,
    class myFuncClass
    [EdmFunction("Model.Store", "UDF_TO_CHAR")]
    public static string ToCharFunc(decimal value, string format_mask, ...)
    throw new NotSupportedException("Direct calls are not supported");
    Where UDF_TO_CHAR is a user defined stored function that uses TO_CHAR to convert the input value with format_mask, nls_lang.
    Then use myFuncClass.ToCharFunc(value, format, nls_lang) in LINQ query.

  • Is there an MS Visio equivalent for Snow Leopard

    Is there an MS Visio equivalent for Snow Leopard which can read Visio files (*.vsd), save as Visio files, and paste drawings etc into Microsoft Office applications (Word, PowerPoint, etc)

    Since Ovation take PP slides have you tried just exporting Keynote to PP? Does that work for you?
    Haven't used Ovation myself - looked at the demos and was distinctly underwhelmed, but then I've always thought KN did what I wanted - interesting that Ovation claims to improve type legibility - with KN that comes as standard! Would love a clock timer on screen though.....

  • Can I use the Command Line Interface on Unix?

    Hi,
    We use 9iAS on Unix. We want to use Discoverer Command Line Interface on unix to export the worksheet query result. Can anyone know how to do this? I couldn't find out the command similar to dis5usr.exe for windows version.
    Thanks.
    Richard Qiu

    Hello Richard
    You can use the Discoverer EUL Command Line for Java utility. This was released with Discoverer 10g (9.0.4).
    Please refer to the documentation for more information on how to use this command line interface: 'Oracle Discoverer EUL Command Line for Java User's Guide 10g (9.0.4), Part No. B10274_01 (PDF)' The document is available from OTN at http://otn.oracle.com/documentation/discoverer.html
    Regards
    Discoverer Product Management

Maybe you are looking for