Solaris 8 compiled binaries on solaris 10 box

Hi all,
I have a plain C code which compiles and runs fine on my solaris 8 box. I have to deploy the compiled binaries (on soalris 8) on a different machine which has solaris 10 installed.
My application uses libqt-ms.so.3, libqutil.so.1.0.0, libjpeg.so.6, libstdc++.so.2.10.0, posix threads and tcp/ip sockets.
Will this cause any problems. or will i have to make a separate binary for solaris 10. If that is the case will i need new library files or the current one will work fine
Best Regards,
Faran

well I have tried it actually. and the behavior is weird. On my solaris 8 box. Every thing works perfectly fine. But due to some reason on solaris 10 machine the values i transmit over the tcp socket totally change. i send a msgCode = 1 , 2, or 3 ... but on the other end, which is a windows machine i get strange values 210, 10, 35 49 etc etc ... is this due to version problem.

Similar Messages

  • Compiling an application for Solaris 9 on a Solaris 10 system

    Hi,
    I was wondering if it's possible to compile an application Solaris 10 in such a way that it will run on Solaris 9.
    I'm building a set of library tools and they need to run on Solaris 9 and 10, but it'd be nice if I could build this on a Solaris 10 box.
    Is this possible, and if so, how do you do it?
    thanks,
    Trevor

    I'm working on this same issue. Unfortunetly, it appears that my only option is to compile on a Solaris 10 box for running on a Solaris 8 box. Thankfully this doesn't look too bad because after doing a 'ldd', I get that the only file I'm missing is the libm.so.2. If I can specify in the makefile to use libm.so.1 only, then all should be ok.
    So I guess my question would be: What exactly do I need to do in my makefile to explicitly link to libm.so.1? I've tried the following with no luck.
    /opt/SUNWspro/bin/cc -xCC -Bdynamic -g \
    /usr/lib/libm.so.1 \
    /opt/mylibs/my_compiled_lib.lib \
    first_obj.o \
    second_obj.o \
    -o my_program
    The above returns:
    ld: fatal: file /usr/lib/libm.so.1: open failed: No such file or directory
    ld: fatal: File processing errors. No output written to macsruntime
    However, if I change my link to /usr/lib/libm.so everything works but it is linked with the /usr/lib.libm.so.2. Any help would be appreciated.

  • Running Solaris 8 and Solaris 10 on a SPARC box at the same time

    I know that this is not possible, but still... need to clear it out from the experts...
    Have a upgrade request of Solaris 8 to Solaris 10. However, Solaris 8 environment should not be disturbed. How can this be done without going for another SPARC box?
    Can I have both Solaris 8 and Solaris 10 running concurrently on the same SPARC box?
    Thanks in advance.

    Have a upgrade request of Solaris 8 to Solaris 10.
    However, Solaris 8 environment should not be
    disturbed. How can this be done without going for
    another SPARC box?
    Can I have both Solaris 8 and Solaris 10 running
    concurrently on the same SPARC box?You can add a second boot disk and use Sun's Live Update to install the upgrade on the second boot disk. Boot from either, though you can't run both simultaneously.

  • Help with Solaris on NT 4.0 box.

    I have an NT 4.0 system that I can�t disable at this time. I also want to run Solaris 8 on that same box. How can I accomplish this? Can I run Solaris 8 and NT on the same drive? Can they be run from to different partitions on the same drive? Or can they be run from two different drives in the same box? If an option is workable how do you select what OS to use when you boot the system? Thank for all help in advance.
    Mark

    Yes, you can run Solaris 8 Intel edition on an existing machine that has NT 4.0 installed onto the same drive. Also, Solaris will have be installed onto a separate partition on the drive since it uses a different file system from the Win32 platforms. Finally, you can also run Solaris on a different drive on the same box.
    The prerequisite is to have Windows NT 4.0 installed first before Solaris 8. The installation is straightforward - just need to pop the Device Configuration Assistant into the floppy drive and the Solaris 8 Installation into the CD-ROM drive and the installation menu will guide you through.
    The only caution I can give you is that at some point of the installation process, you will be asked to select the harddisk space for the Solaris OS, ensure that you select the remaining harddisk AND NOT the entire harddisk, if you select the entire harddisk, your Windows NT 4.0 OS will be erased.
    Allen Lai
    SUN Microsystems

  • Installing Solaris 8 binaries after download

    I'm a newbie and need some help!
    I have recently downloaded the Solaris 8 binaries (SPARC), I went for the the multiple file segments. However, I am unable to work out how to bind the files back together to create the CD images (bootable?). Can anyone help or provide a URL to the document that explains this, I haven't used sun.com before and cannot find anything that I'm looking for.
    Thanks in advance.

    Although for a different product, this should help. http://wwws.sun.com/software/solaris/freeware/download.html
    Basically, you need to unzip all the files, cat the unzipped files together in order into a single file with .iso extension.
    Then burn the CD from an image file. Using Easy CD Creator, as Sun suggests, you will select File -> Record CD from Image. Select the .iso file and burn.

  • Compiling .fmb on solaris

    I just developed a Form with Forms9i on Windows NT.
    Now I want to deploy this form to our Application Server (9iAS Release 2) on a Solaris Machine.
    I know I cannot transfer the (NT-) compiled FMX to Solaris - I know I have to compile the FMB directly on Solaris to get
    a correct runnable FMX-File.
    My question: How to compile FMB on Solaris? I found a script "f90genm.sh". Whats that script, how to use it? Where can i find information about compiling FMBs on Solaris without Forms-Builder? Or is it a MUST to install Forms Builder on Solaris?
    Many thx for your help!
    Greetings from Germany,
    Marc Teufel

    I hope it helps
    Usage: f90genm Module=<formname> Userid=<userid/password> [Parameters].
    Optional parameters are (default values given):
    Module_Type=FORM Module type (FORM, MENU, LIBRARY).
    Statistics=NO Show statistics.
    Logon=YES Logon to database.
    Batch=NO Don't display messages on the screen.
    Output_File=<file> Write output to file.
    Script=NO Write script file.
    Parse=NO Parse script file.
    Upgrade=NO Upgrade module to current version.
    Upgrade_Roles=NO Upgrade SQL*Menu 5.0 role information.
    Version=45 Version to upgrade (23, 30, 40, 45, or menu 50).
    Crt_File=<crt file> CRT file for version 2.x form upgrade.
    Build=Yes Build a runform/runmenu file when upgrading.
    Add_Triggers=NO Add KEY-UP/DOWN triggers during upgrade.
    Nofail=NO Add NOFAIL keyword to trigger steps.
    Debug=NO Build/Run with debug information.
    Compile_All=NO Compile all PL/SQL code.
    Strip_Source=NO Strip pl/sql source code from library.
    Window_State=Normal Root window state: (Normal, Maximize, Minimize.)
    Help=NO Show this help information.
    Options_Screen=NO Display Options window (on bitmap only).
    Widen_Fields=NO Add one character to display width.
    Print_Version=NO Print version used to save module.
    Forms_Doc=NO Print Forms Doc report.

  • Solaris INTEL Binaries Re-Download

    Hello! dear Sun Support:
    I have a problem (naah! classic). I was downloading the binaries of solaris for intel (the laaarge files) and, i left the files downloading by itself*s, when i get back to review, the computer was completly frozen (WINDOWS crahing??? Unbelievable!! ha! You see? NOW that's what im going to change my buggy plataform for solaris!!!) When I restarted, the files weren't there nor in the internet's cache. I want to Download the files but, the site detected and marked the files as "Downloaded". I need to download again but the option doesn't appear. Can you help me? for i need to download the next files again:
    *     Download Solaris 8 1/01 Installation CD ( 327.29 MB )--THIS ONE STILL APPEARS
    *     Solaris 8 1/01 Software 1 of 2 CD ( 313.20 MB ) has already been downloaded via Main component.
    *     Solaris 8 1/01 Software 2 of 2 CD ( 138.55 MB ) has already been downloaded via Main component.
    Than you so much for your kind help
    Best Regards

    Solaris 8 download for Intel has not been available for 3 months, only SPARC, so I'm not sure what you are downloading. You can purchase the media kit from:
    http://www.sun.com/software/solaris/binaries/get.html

  • Solaris 8 binary compatibility - Solaris 7

    Greetings:
    and TIA.
    Also apologies if this issue has been covered via some other resource.
    Note: Hardware Utilized - Sparc
    We have recently ported our 4.2 Forte C++/C code successfully from Solaris 6 to Solaris 8. As part of that port, we upgraded the compiler resources from 4.2 to 6.0. With these new binaries we have encountered the following runtime issue:
    Solaris 8 code runs fine on Solaris 8, however these same executables dump core on Solaris 7
    To troubleshoot this, we built the same code on a Solaris 7 platform. These executables ran fine on both Solaris 7 and Solaris 8
    My question: Are Solaris 8 binaries incompatible with Solaris 7? Is there any online documentations which provides an overview/explanation for this behavior?
    Regards:

    In general there is forward compatibility for applications between Solaris releases. There is no official backward compatibility. This means you
    should always compile on the oldest release of
    Solaris that you expectto run on. So, if you need
    to run on Solaris 5.6, 7 and 8, compile on Solaris 5.6.
    There is a tool called appcert which is shipped with
    later versions of Solaris 8 and can be downloaded from:
    http://www.sun.com/developers/tools/appcert/download.html
    That will give you a good idea of the forward and backward compatibility of your application. General ABI information can be found at:
    http://www.sun.com/developers/tools/abi/index.html
    Alan
    Sun Developer Technical Support
    http://www.sun.com/developers/support

  • Solaris 6 binary on Solaris 8 ( Multithreaded application.)

    I have to explore further, but I like to know whether any of you have faced similar problem.
    We have multithreaded server. A thread in detached mode will be created to serve each new connection. The binary was compiled on 32bit solaris environment and it was running fine on solaris 6 machines.
    Recently we switched to Solaris 8 machines. We used the same binary that was compiled on solaris 6. One problem I am noticing is some of the threads are idle and are alive for 3-4 days. We have timeouts enforced between successive transactions, inspite of that threads are alive for longer duration. We use "poll".
    Do you see any problem in Solaris 8 w.r.t Poll/Select syscall or Detached threads ( we use POSIX APIs) that were compiled on Solaris 6 ?.
    I would also like to give anyother information that would help you in identifying the problem.
    Thanks
    Mega

    we have ported our product to solaris 5.7 from solaris5.6. With this version we are unable to install the product on solaris 5.6. It is unable to find the following libraries in 5.6, while installing and finally it is failing.
    libMrm.so.4
    libXm.so.4
    libgen.so.3
    Is there any way to make my product work on both versions of solaris?

  • Migrating C/C++Development environment from Solaris 6 OS to Solaris 10 OS.

    Hi,
    I have several questions. Hope i can get some advises.
    I am tasks to do a migration for my current Development environment from Solaris 6 OS to Solaris 10 OS.
    Current Scenaros:
    =============
    My Development environment is on Solaris 6 OS machine ( 5.6 Generic_105181-31 sun4u sparc SUNW,Ultra-2 )
    and where i did my C/C++ codings and compilation for my company software application.
    We have purchased a new machine Solaris 10 OS machine ( 5.10 Generic_125100-07 sun4u sparcSUNW,Sun-Fire-V210 )
    with the objective to replace the old development H/W and OS.
    The machine ( Solaris 6 OS) where the software application currently is running will also be replace with a new machine ( Solaris 10 OS).
    The Software application is purely C/C++ codings and has no database requirements.
    The application is make up of several executables and they utilise the Solaris Unix queues.
    The source codes are compiled using Sun compiliers and libraries.
    Problems:
    ========
    I did the followings:
    1. Installed the Solaris 10 OS machine with all the necessary compilers and libraries for my C/C++ codes.
    2. I ported over all my sourcecodes and makefiles from the old machine ( Solaris 6 ) to the new machine ( Solaris 10 )
    3. I did a recompilation of the source codes on the new Solaris 10 machine and hit many errors as followings:
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The type "istream" is incomplete.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 82: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: eofbit is not a member of ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/locale.h", line 115: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 151: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwerr.h", line 197: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/cstring.h", line 347: Error: The name istream is ambiguous, istream and std::istream.
    Questions:
    ========
    1. Can anyone advise on these errors messages that i am seeing?
    2. Can i say that as long i can successful recompile my codes on Solaris 10 , my application will work?
    3. Can i simply copy my application ( Compiled in Solaris 6 ) directly to the new Solaris 10 machine and expect it to run properly? What are the concerns if i adopt this approach.
    Regards,
    Edwin

    I did the followings:
    1. Installed the Solaris 10 OS machine with all the necessary compilers and libraries for my C/C++ codes.
    2. I ported over all my sourcecodes and makefiles from the old machine ( Solaris 6 ) to the new machine ( Solaris 10 )
    3. I did a recompilation of the source codes on the new Solaris 10 machine and hit many errors as followings:
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The type "istream" is incomplete.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 82: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: eofbit is not a member of ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/locale.h", line 115: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 151: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwerr.h", line 197: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/cstring.h", line 347: Error: The name istream is ambiguous, istream and std::istream.
    Questions:
    ========
    1. Can anyone advise on these errors messages that i am seeing?My guess would be that the names have changed from Solaris 6 to Solaris 10.
    2. Can i say that as long i can successful recompile my codes on Solaris 10 , my application will work?No. I've seen GNU utilities that compile without error and then fail on make test or make check. A clean compile only means that, a clean compile nothing more.
    3. Can i simply copy my application ( Compiled in Solaris 6 ) directly to the new Solaris 10 machine and expect it to run properly? What are the concerns if i adopt this approach.It might. The easiest way to find out is to just move it and see what happens. On a test machine of course.
    alan

  • Solaris 8 in a Solaris 10 Container

    Dear all,
    we came upon the question whether it's possible to run Solaris 8 in a Solaris 10 container. Hereby, the idea is to be able to use Solaris 10 with its great ability of server virtualisation but also to use a Oracle 8i certified operating system at the same time.
    Any ideas?
    Greetings
    /Marc

    Ok, that was exactly my first impression. Anyway, i
    came to know that there's a project about running
    FreeBSD in a Solaris 10 Container. How does this work
    if there's just a single (so shared) kernel? Can't
    image a FreeBSD system running a Solaris kernel.Here's a quote from a Sun blog on the project:
    An example of what I mean is ZoneBSD, an opensource initiative with as goal "will be to factor as much Solaris code as necessary into FreeBSD in order to support running a FreeBSD container within a Solaris 10 Zone", really cool stuff... or as they say around here "Sweeet".
    (I can no longer find any current link to the project).
    So yes, it appears to have been quite an ambitious project involving merging kernel bits. Not something that's going to help you do anything with Oracle on Solaris 10 GA.
    Darren

  • Cannot start Solaris Management Console in Solaris 9

    I cannot start the Solaris Management Console in Solaris 9. The splash screen appears for a few seconds, then nothing else.
    There is a error: "Assertion Fail: Offset < fFileSize ..." something like that.
    Please help me~~~~~~~

    Java Bug 4838130:
    http://developer.java.sun.com/developer/bugParade/bugs/4838130.html
    suggests to trace the problem by running the java application with JAVA2D_DEBUGFONTS defined, so try
    env JAVA2D_DEBUGFONTS=1 smc
    The bug report also documents a workaround: Set the environment variable JAVA_FONTS to
    /usr/openwin/lib/X11/fonts/TrueType, i.e.
    env JAVA_FONTS=/usr/openwin/lib/X11/fonts/TrueType smc

  • I want to downgrade Solaris 2.7 to Solaris 2.5

    We have Solaris 2.7 pre-installed operating system. i want to change Solaris 2.7 to Solaris 2.5 operating system. Because our softwares is running under 2.5. Do you have procedure on how to downgrade OS?
    Thanks in Advance,
    [email protected] or
    [email protected]

    Might be advisable to also ask in this forum area:
    Servers and Enterprise Software
    if you still have trouble.

  • Solaris 2.6 to Solaris 8

    Hi,
    we have deliver a Motif 1.2 application to a customer a few years ago. This application is currently running under Solaris 2.6 on IBM PC computer (Pentium II), is built using X11R6 and is using MWM.
    Now this customer is replacing the old computers by new SUN Blade 150 and would like us to port our application to run on these new machines with Solaris 8.
    I'm trying to figure out the details of this port. Anyone has been through something similar? Is it as simple as recompiling the application under Solaris 8? Where can I find more information about this?
    Thanks in advance...
    Luc Leblanc

    To make sure the upgrade does not touch the mountpoints you mention, I would recommend that you comment them out of the /etc/vfstab file before the upgrade.
    RE: the HP software. You will need to check with HP to see if that version of that software is compatible with Solaris 8. The Solaris upgrade should not modify this software, but that does not guarantee it will work under Solaris 8.
    Solaris 8 does not have seperate upgrade and full versions. Any Solaris 8 media kit can be used to do an initial or upgrade installation.
    If you have sunsolve access, I recommend looking for infodoc 16141, which has a list of general suggestions to help insure the Solaris OS is upgradable.
    Something else to look at is the LiveUpgrade program. This allows you to make a copy of your current OS, upgrade the copy, and verify that its functionality meets your needs. If the upgrade is does not function as you hope, you can easily go back to the previous version of Solaris. More info can be found at http://docs.sun.com/?p=/doc/806-7933
    HTH,
    ct

  • Ldmp2v : Solaris 8 (v440 ) to Solaris 10 ldom v3 ( T4-2 )

    Hi ,
    Is it possible to do migration from solaris 8 which is on h/w V440 to Solaris 10 Oracle VM - V3 ? If yes , Can I follow the procedure provided @ link -
    Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool - Oracle VM Server for SPARC 2.1 Administration Guide
    Does ldmp2v convert upgrade to Solaris 10 directly from Solaris 8 O/S ?
    Regards,
    Satish Singh

    Yes, this is possible.
    Make sure the conditions on hardware type and prerequisites are met according to Installing the Oracle VM Server for SPARC P2V Tool - Oracle VM Server for SPARC 2.1 Administration Guide.
    Analyze whether the current running application has any dependency on current OS version.
    Check whether application downtime is acceptable in your environment. This is must for ldmp2v collection phase.

Maybe you are looking for