Results 1 to 2 of 2

Thread: Compiling with Sun Studio 10

  1. #1
    mwilson is offline Registered User
    Name: Mark Wilson
    Organization: University of Rochester
    Project: Omega EP laser
    Join Date
    Jul 2005
    Location
    Rochester, NY
    Posts
    100

    Compiling with Sun Studio 10

    I downloaded the Solaris binary. When linking using CC, get:

    ld: warning: file libstdc++.so.6: required by /oudvmt/sun4u_SunOS5.9/Ice-2.1.0/lib/libIce.so, not found

    libstdc++.so is in our gcc installation. So, how do I link using CC?

    Thanks!
    Mark E. Wilson
    Lead Programmer/Analyst
    Omega EP Project
    Laboratory for Laser Energetics (www.lle.rochester.edu)
    University of Rochester
    Rochester, NY 14623

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Mark,

    I've just installed our Ice 2.1.2 Solaris binary distribution and built the Hello demo with CC 5.4 ... there is no dependency on the GCC runtime:

    sun:~/2.1.2/Ice-2.1.2-demos/demo/Ice/hello$ ldd client
    libIce.so.21 => /home/bernard/2.1.2/Ice-2.1.2/lib/libIce.so.21
    libIceUtil.so.21 => /home/bernard/2.1.2/Ice-2.1.2/lib/libIceUtil.so.21
    libpthread.so.1 => /usr/lib/libpthread.so.1
    libCstd.so.1 => /usr/lib/libCstd.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libw.so.1 => /usr/lib/libw.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libbz2.so.1 => /usr/lib/libbz2.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
    /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
    /usr/platform/SUNW,UltraAX-i2/lib/libmd5_psr.so.1

    I also checked the 2.1.0 binary distribution, and it looks good as well: built with Sun CC 5.4, with no dependency on the GCC runtime (BTW you should upgrade to 2.1.2).

    Are you sure this libIce.so comes from our binary distribution? You could try 'ldd libIce.so' or 'dump -Lv libIce.so' to check.

    Best regards,
    Bernard

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compiling on Solaris 10...
    By AlexBell in forum Help Center
    Replies: 2
    Last Post: 03-16-2011, 03:16 PM
  2. Compiler flag -xarch deprecated in Sun Studio 12
    By Markus Bernhard in forum Help Center
    Replies: 0
    Last Post: 06-05-2007, 08:29 PM
  3. Building ICE 3.0.1 on Solaris 10, Sun CC 5.8, AMD64
    By Markus Bernhard in forum Help Center
    Replies: 2
    Last Post: 06-25-2006, 09:40 PM
  4. Replies: 1
    Last Post: 11-17-2005, 09:17 AM
  5. Compiling demos on Mac OS X 10.4.2
    By CAS in forum Help Center
    Replies: 4
    Last Post: 09-30-2005, 07:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •