Math libraries: libm.so.1 vs. libm.so.2 and iropt

I am getting the following error during compile:
ld.so.1: iropt: fatal: libm.so.2: open failed: No such file or directory
cc: Fatal error in /static/sunstudio12.1/prod/bin/iropt : Killed
*** Error code 9
I don't have libm.so.2 on my machine. I looked up the differences between these math libraries (libm.so.1 and libm.so.2) and it looks like the difference is that the .2 version is c99 compliant, while the .so.1 is not. Can I download libm.so.2 for SPARC anywhere? If not, is it safe to simply make libm.so.2 a link to libm.so.1 on my machine?
Thanks!
JJ
Edited by: JJones2 on Jul 26, 2010 7:45 AM

Apparently you are trying to run the compiler on a version of Solaris that is too old, Solaris 9 or earlier.
As indicated in the Release Notes [http://docs.sun.com/source/821-0080/index.html]
Sun Studio 12u1 requires Solaris 10, Open Solaris 2008.11, or Open Solaris 2009.06.
These releases do have libm.so.2.
And no, you should not create a symbolic link for .2 pointing to .1. The missing library error is probably hiding other things that won't work.
Edited by: clamage45 on Jul 26, 2010 8:42 AM

Similar Messages

  • Libm.so.1 and other libraries, missing after install

    I'm running into problems because libm.so.1 and some other libraries are missing after install.
    - Solaris 8
    - Not an LD_LIBRARY_PATH issue, I did a full FIND and it did not show up.
    Any information as to why these libraries may have gone missing and what I might do to get around this problem would be appreciated.
    Thanks,
    -Ken

    Cause: The installation which caused this symptomology was based on a boot from a downloaded ISO designated "Installation CD" (Solaris 8). Booting from, and installing based on this CD caused a incomplete installation, with many libraries missing.
    Solution: Just by chance, on a re-installation attempt I booted from 'Software 1 of 2 CD" (Solaris 8). Installation based this boot yielded a complete installation - no libraries missing.
    Thanks for the suggestions,
    -Ken

  • HT1660 I have two iTunes libraries on two different pc's (one windows and one Mac).  Can I consolidate these on an external hard drive?

    I have two iTunes libraries on two different pc's (one windows and one Mac).  Can I consolidate these on an external hard drive?

    I'm sorry I just saw the last post. I had two users on my hard drive, one for me and one for my daughter, but I am not sure what you mean by partioning my external????? I have heard the term before, but don't know how to do it. I am having serious crashing issues with this computer and believe I really need to do a clean install. I just want to make sure everything for both ipods is safe (is???? I think so, everything is......I hate when the English language does this to me!)

  • HT4557 Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!

    Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!
    The home sharing is now off and still has all the songs one there. Even rebooted the wifi modem, supporting hard drives and all computer involved in this catastrophe!! :( all computer are all updated and updated to the new iTunes.
    Please any help would be greatly appreciated and any more questions welcome. Thanks

    Basically anything not purchased from iTunes that is on my iPhone 6 will not sync over to my MacBook. I have tried to just manually back it up but only the purchased music will sync over to iTunes.

  • HELP!! I had two libraries in iPhoto, Photos imported the wrong one, and now I have lost 10,000  photos. How can I get them back??

    I originally had two libraries in iPhoto, my wife and I share two iMacs at different locations but we wanted to share the photos and it was set up this way Apple Geniuses at the store I have no idea why. Anyway, I updated to OS X Yosemite Version 10.10.3 with the new 'photos' app. It asked me to choose one of the libraries and evidently I assume I must have chosen the wrong one. It only imported 322 random photos, not the 10,000+ we had in iPhoto. I can no longer find these photos or the other library anywhere, it appears to have been deleted. I have tried 'alt' clicking the icon which used to open a 'choose library' box, but this no longer works in photos or iPhoto. I have no idea where it has gone and it contains precious memories over the years including the birth of our children. Can someone please help???

    Where is your iPhoto library stored? 
    my wife and I share two iMacs at different locations but we wanted to share the photos and it was set up this way Apple Geniuses at the store I have no idea why.
    Since you are sharing it between two Macs, is the library on an external drive or a NAS, or another remotely mounted volume?
    If the library is not on a directly connected disk, formatted MacOS Extended, move the original iPhoto Library to a directly connected, correctly disk.
    And the try first the iPhoto Library First Aid Tools on that library.  Repair the permissions, and repair the database in iPhoto.  Then try to migrate again to Photos.
    To repair hold down the  alt/option and the command key simultaneously while double clicking the iPhoto Library to launch the iPhoto Library First Aid tools. Hold down both keys firmly and long enough, until the First Aid panel will appear.
    The select "Repair Permissions". And then repeat, but select "Repair Database"
    But make a current backup of your iPhoto Library before you try this.

  • Why can't Apple TV's and iOS devices see home sharing on my Windows 7 computer when iTunes libraries on other computers on the same network and connected to the same Home Sharing can?

    I have never previously had any problems with Home Sharing, I have always found it to be completely reliable as advertised. I have 2 computers in the house, (one MacBook and one Windows Desktop) connected to the same Home Sharing account, connected to the same BT Home Hub 4. My situation is that I have nearly 2TB of data of which I would like to share with the home wirelessly, in my mind the desktop is the logical place for this to be shared from.
    When running, iTunes on this desktop broadcasts to other iTunes libraries, but no other iOS devices or Apple TV's connected to the same Home Sharing account cannot see it.
    I have tried turning Home Sharing off, and then turning it back on, closing iTunes, restarting the computer, going to Network and Sharing Centre and unticking IPv6 in the network adapter properties, even completely wiping the computer and reinstalling Windows 7.
    One of the Apple TV's in the house was recently purchased by my parents with the promise from me that everything would work seamlessly... so far it isn't and I am frustrated that the Apple technology that I have come to rely on isn't working as expected.
    One thing that has occurred to me upon writing this is that it is a very large amount of data, and I have not attempted to share this with another computer that is currently working and broadcasting it's Home Share fine.
    I am sorry if I have ommitted any important details, any further questions don't hesitate to ask. I would be so grateful of any suggestions, my parents are depending on me.

    I have found with AppleTV that it is the IPV6 on the computer you want to access is the problem.  The issue is that Homegroup on Win 7 or Win 8 requires IPV6 to work, but AppleTV won't work with IPV6.  (So maybe double check you have IPV6 turned off)
    So you have to make a choice - Homegroup or AppleTV.... but you can't have both, until Apple brings ATV up to date. (crazy that it does not recognise IPV6 - c'mon Apple!)
    You can set up sharing individually in Win 7 or 8 and have the ATV access files that way.
    Having said that, there is always the exception.. I have an old HP home server running Win8 and it services ATV - but is part of the Homegroup... have no idea why it works on both, but no other machine on the home network will talk to both ATV and Homegroup at the same time!

  • How do i share music libraries between an older Mac running iTunes 4 and a new one running iTunes 11?

    I have an older G4 Mac laptop that I use exclusively for playing music.  Trouble is that it's limited to an older system and thus runs iTunes 4.  Much of my music is on my newer machine which runs iTunes 11.x.  I have made certain libraries available for sharing on my newer machine, but cannot see those libraries on the shared list on the older Mac.  How do I get both machines to see each other.  Note: they also do not see each other if I try to Go -> Connect to server -> Browse.  However, they will connect if I type in the address (e.g. afp...) of the machine that I'm trying to connect to.  Anyway, I'm hoping there's some soft of back compatability setting that I've overlooked.
    rr

    This article has the directions:
    http://support.apple.com/kb/HT1203
    The important steps for you are these
    +To listen to another account's music files+
    +Open iTunes.+
    +From the iTunes menu, choose Preferences.+
    +Click Advanced.+
    +Deselect the "Copy files to iTunes Music folder when adding to library file" option.+
    +Click OK.+
    +From the File menu, choose Add File to Library.+
    +Note: Windows users can also choose Add Folder to Library to add a folder of songs.+
    +Navigate in the Add File To Library window to the location where the other user's music is saved (the iTunes Music folder in the case above).+
    +Click Open.+
    +Repeat these steps for each account that is listening to shared music.+
    +When another user of the computer has imported new music from CD, repeat steps 6 through 8 to add the music to your library.+

  • What is the best way to deal with iTunes libraries that have more than 25,000 songs and iTunes match?

    Hello,
    My library approaches the 25,000 songs limit from iTunes match mainly because I have a lot of custom mixes with loads of different tracks.
    On those songs there are some that I would like iTunes match to ignore. But I still want to keep them in my iTunes library so i can sync them with my ipod and i can keep my metadata tracking. What would be a sensible way to do that?
    Duplicate the current iTunes library, and create 2 iTunes libraries children on the same PC, one sync-ed with match and the other not? Would that work with the same apple id // ipod? I just have no clue and apple support is not helping.
    thanks in advance for your thoughts

    Hi,
    Read this discussion about managing large libraries https://discussions.apple.com/thread/496687
    Jim

  • I see the other libraries but don't get the "import" ribbon and buttom at the bottom

    I just added a new computer to the homesharing and while I see the other libraries, I don't get the ribbon at the bottom that has the import button. This is only happening on the new system. How can I get the ribbon to come up

    are you using a Mac or PC ?

  • I have 3 computers with 3 different iTunes libraries can I download all to itunes match and have one library?

    I have 3 computers with 3 different iTunes libraries, can i set up iTunes Match download each library and have all of my music in one place in the cloud?

    Yes.  By enabling iTunes Match on each computer, each library will be scanned and the Songs will be Matched or Uploaded to the cloud.
    Do look carefully at the User Tips area of this forum to help you with the neatest route to success.

  • How do I change the name of my hard drive which the photos and libraries are located on without having to relink and recreate folders for photos?

    When I have tried to change the name of my hard drive which my photos and catalog are stored on, when I try and access the new catalog in the new destination yet still same physical hard drive it unlinks all the photos and the folder structure.
    Any way to keep the photos or at least the year folders so as to more easily relink?

    In the Library module, in the Folders tab on the left, do a right-click "show parent" until you can see the root of the drive.
    From there, if you cannot rename the drive from there, then rename it in the OS finder/explorer. Then you just need to reconnect that one root directory or drive entry and Lightroom will do all the work for you.

  • How do I have the same libraries of music on both my windows laptop and iphone

    . I had a full library on my laptop with windows software and now all I see are three albums. All the music is on my IPhone.I want them to be the same Not sure where the laptop music went to or how to retrieve it. Any help?

    Hello BillyFranke,
    The following article has a few steps worth looking into that may be a quick and simple manner of restoring your iTunes Library.
    No content shows up in iTunes after updating
    http://support.apple.com/kb/TS1967
    If your media is still missing, this next article goes into a bit more detail regarding how to locate the actual media.
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Also, any content that was purchased from the iTunes Store can be easily redownloaded to the computer.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Best regards,
    Allen

  • [solved] googleearth-bin and libm.so.6

    I'm getting this error when trying to run Google Earth.  It's the bin32-google-earth package in the AUR.
    ./googleearth-bin: error while loading shared libraries: libm.so.6: wrong ELF class: ELFCLASS64
    What can I do to make it work?
    Last edited by synthead (2008-04-26 23:28:01)

    I figured it out, sorry
    I had to reinstall lib32-glibc.

  • Problem with the math library functions

    Hi,
    I encountered a problem related to some functions provided by math library on sun. I narrowed it down to the following test program:
    ========================================================
    #include<stdio.h>
    #include<math.h>
    void pow_res()
    double x = 10.0;
    double y = 2.5;
    printf("pow(%.2e, %.2e):%.20e\n", x, y, pow(10.0, 2.5));
    void cos_res()
    double x = -6.433230338433114370e-02;
    printf("x:%.20e cos(x):%.20e\n", x, cos(x));
    int main()
    pow_res();
    cos_res();
    return 0;
    ========================================================
    The above test program has to be linked with any math library. It is �libm� for amd64/linux, but for sparc we have choice between �libm� and �libmopt�. I am compiling above program with "cc <test_program.c> <-lm/-lmopt>" command.
    On sparc, if the above test program is getting linked with �-lm" then it gives same results for the �cos� on both amd64 and sparc, but gives different results (16th decimal digit onward) for �pow�. If it is getting linked with �-lmopt� then it gives same result for the �pow� on both the platforms, but gives different results for �cos�. Linux results match with the amd64 results.
    The �Numerical Computation Guide� provided by SUN (ftp://docs-pdf.sun.com/802-5692/802-5692.pdf page 40, table 2.10 ) says that you can trust only 15-17 decimal digits for double calculation. But here the requirement is to match the sparc results exactly with the amd64/linux or at least match the result till 20th decimal digit. I guess it is something to do with the FPU setting either through compiler options or code. I tried many different compiler options, like -fast, different combinations of compiler options provided by -fast macro, but nothing helped.
    Following is the system configuration:
    Amd64:
    gcc version: 3.3.6
    OS: RedHat Enterprise Linux 3.0 U7 (Linux 2.4.21-40.ELsmp x86_64)
    Sparc:
    cc version: Sun C 5.8 Patch 121015-01
    OS: SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-280R
    It will be great if somebody can explain the problem and the solution to get rid of it.
    Many thanks,
    Sunil

    Transcendental functions are not specified to be correctly rounded in the same
    sense as +-*/.     So it's entirely possible, and often observed, that libraries of equal
    quality deliver slightly different results.
    To simplify, suppose one wanted to compute x = 4*atan(1.0)
    which happens to be the
    transcendental number pi which is roughly, in hex and in decimali:
    .C90F DAA2 2168 C234 C... * 2^4 or 3.141592653589793239...
    But binary floating-point arithmetic can only represent certain rational numbers of
    the form of an integer of at most 53 significant bits times a power of two. The
    nearest double-precision number to pi is
    .C90F DAA2 2168 C * 2^4 or roughly 3.141592653589793116...
    This particular number has a large but finite decimal expansion. And if you
    do printf with %e.20 you will get the 20 decimal digits of that double-precision
    number's expansion, not the 20 decimal digits of pi, which only agrees to the
    15 significant decimals 3.141592653589793 and differs afterward.
    In the case of pow(10.0,2.5), (which happens to be sqrt(1.0e5))
    the correct result in hex looks something like
    .9E1D 276F D4BA C410 C... * 2^9 or roughly 3.162277660168379332...E+2
    in hex notation, while the closest double precision number is
    .9E1D 276F D4BA C8 * 2^9 or roughly 3.162277660168379612...E+2
    but it's only slightly closer than the next closest double precision number
    .9E1D 276F D4BA c0 *2^9 or roughly 3.162277660168379043...E+2
    Either answer is a good answer, and math libraries might that only aspire to
    deliver results that are close to correctly rounded might deliver either, depending
    on which approximation algorithm is used, which might depend on what's fastest
    on a particular processor.
    So why don't math libraries deliver correctly rounded results instead of almost?
    Because the slight extra increase in accuracy doesn't do much good for most
    people, and the major decrease in performance is noticeable by lots of people.
    The main payoff of correctly rounded transcendental functions is that they
    promote uniform numerical results across platforms, which is worth something
    to some people but not much to many people.
    So for those who find it worthwhile, there are correctly rounded transcendental
    function libraries available. Sun's development version is available at
    http://www.sun.com/download/products.xml?id=41797765
    Another solution for some people is to change double variables and functions
    to long double, using powl and cosl in the examples. That increases the
    accuracy to almost 20 digits on x86 and over 30 digits on SPARC, and while
    the same issues eventually arise, most users would never encounter them.
    The SPARC long double implementation is in software rather than hardware,
    and so entails a major performance reduction compared to double.
    The Numerical Computation Guide at docs.sun.com discusses many of these
    issues at greater length.

  • Can fdlibm (native math library) be replaced?

    Looking at the jdk1.4.1 source code java.lang.Math class delegates most of its calls to java.lang.StrictMath. According to the documentation, the native calls in StrictMath are done in fdlibm. Does anyone know where/how fdlibm is loaded? Is this library accessed via JNI or some other jvm-specific mechanism? The reason why I am asking this is because I would like to replace fdlibm by a different (much faster) math library without incurring JNI method call overhead. Is this possible or am I stuck using my own native math library accessed via JNI? On my system, using the system native math library (libm), the time required to calculate sin(x) is about the same as the JNI method call overhead?
    Thanks,
    Dale

    Just because the source for java.lang.Math appears to delegate the calculation to StrictMath, doesn't mean that the JVM actually does this. It can easily replace these methods with something else provided that the specification is observed. It is clear from timing the calls that Math.sin is faster than StrictMath.sin although still significantly slower than the Intel FSIN instruction. The Math code appears to be reducing the argument range to +-PI/4 using the technique used in fdlibm and then using FSIN on this reduced range.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • My external hard drive does not appear.

    So I have a 500 GB USB 3.0 HDD. It does not show up in the Finder. It also doesn't show up in Disk Utility, Time Machine, or the terminal command diskutil. I used both USB ports and it still doesn't work. I even tried a normal USB 2.0 cable and it st

  • Next Slide Problem with Flash In PowerPoint

    When I embed a Flash file into a PPT presentation and play Slide Show, my page down (Slide Show advance) key doesn't work once the animation is underway.  If I mouse-click the outside borders, it advances properly. Any suggestions on preventing this?

  • Dreamweaver CS3 instead CS4 for optimization on older hardware . . .

    Dreamweaver CS3 instead CS4 for optimization on older hardware . . . I do design for print and every year more and more customers have asked me if I would design their web site after I have designed their brochures and other collateral. For the last

  • HP 8600 Printer setting changes do not work with internet explorer v11 and win7

    I can connect to my printer using my IP address in ie 11, and i can look at lots of things, but if i attempt to change something simple, like the time, i get an error message back that says invalid input.  However, if i use Firefox v26.0, it works fi

  • After updating the ios 7.0.4 getting battery performance issue

    I just did the update on last day and after I unplugged from charging overnight my battery drained over 19% in a 2 hours on standby!!!! Even i had everything turned off like wi-fi,cellular data, background app refresh etc...but the result is same.I a