Initial problems with Berkeley DB on Solaris

Hi,
I am new to Berkeley DB.
I am trying to build Berkeley Db on Solaris.
I am not sure if the configure is working fine.
When i run , ../dist/configure i am getting the below output
../dist/configure
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-cxx option specified... no
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-pthread_api option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for ar... no
configure: error: No ar utility found.
Can you pls help me out?

Hi,
I have fixed the problem encountered, the problem was that "ar" utiltity was not in the PATH
Sorry for the trouble.
However, the second step is failing now
make
/usr/bin/sh ./libtool --mode=compile cc -Xc -D__EXTENSIONS__ -c -I. -I../dist/..  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS  -O ../dist/../mp/mp_sync.c
cc -Xc -D__EXTENSIONS__ -c -I. -I../dist/.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O ../dist/../mp/mp_sync.c -KPIC -DPIC -o .libs/mp_sync.o
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ucbcc: Warning: "-Xc" redefines compatibility mode from "SunC transition" to "strict ANSI"
Notice: The Early Access serial number will expire in -7 days.
In order to purchase the product, visit http://www.sun.com/forte/buy.html
or contact your Forte Tools reseller.
"/usr/ucbinclude/sys/wait.h", line 68: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 69: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 70: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 71: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 84: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 85: warning: nonportable bit-field type
"/usr/ucbinclude/sys/wait.h", line 86: warning: nonportable bit-field type
"/usr/ucbinclude/unistd.h", line 97: warning: macro redefined: PCLAST
"/usr/ucbinclude/unistd.h", line 117: warning: macro redefined: POSIXVERSION
ucbcc: Fatal error in iropt: Segmentation Fault (core dumped)
make: *** [mp_sync.lo] Error 1
I think this has something to do with the c++ compiler, but i am not sure how to fix this, can anybody help me?
Thanks & Regds,
Gururaj

Similar Messages

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • Problem with native ldapsearch in Solaris 10

    Hi all,
    someone could tell me please why native ldapsearch in Solaris 10 do not work with SSL connection when same command comes with Sun Directory Server 5.2 works perfectly ?
    With native ldapsearch in Solaris 10, I get the error message "Can't contact LDAP server":
    # /bin/ldapsearch -v -h ldapserver -p 636 -Z -P /var/ldap -b dc=exemple,dc=fr -s base objectclass=\*
    ldap_init( ldapserver, 636 )
    filter pattern: objectclass=*
    returning: ALL
    filter is: (objectclass=*)
    ldap_search: Can't contact LDAP server
    When, on the same host, on which Directory server is installed, there's no problem:
    # /var/opt/mps/serverroot/shared/bin/ldapsearch -v -h ldapserver -p 636 -Z -P /var/ldap -b dc=exemple,dc=fr -s base objectclass=\*
    ldap_init( exemple, 636 )
    ldaptool_getcertpath -- /var/opt/mps/serverroot/alias
    ldaptool_getkeypath -- /var/opt/mps/serverroot/alias
    ldaptool_getdonglefilename -- (null)
    filter pattern: objectclass=*
    returning: ALL
    filter is: (objectclass=*)
    version: 1
    dn: dc=exemple,dc=fr
    nisDomain: exemple.fr
    objectClass: top
    objectClass: domain
    objectClass: nisDomainObject
    1 matches
    What can I do to bind to ldap server with SSL connection from an ordinary work station?
    Thank you in advance.
    Dra

    Hi :
    "The /usr/bin/ldapsearch is an old version that does not support the "-Z" and "-P" flags to test SSL connection on port 636, use the ldapsearch command from SUN DS5.0/5.1 that comes bundled with Solaris9 and usually installed at /usr/iplanet/ds5 (DS5.0/5.1) or /var/Sun/mps (DS5.1/5.2) or /var/opt/mps/serverroot (DS5.2)"
    Source : http://forums.sun.com/thread.jspa?threadID=5089467
    Hope this can help,
    Regards,
    Groucho_fr

  • Problems with 8.1.7 Solaris/32bits

    I tried to download the 8.1.7 for Sparc Solaris 32bits but when I called gzip it returned a message that it is not on gzip format. I downloaded again and the same message was reported by gzip. I compared the two files and no differences was encountered. Is there any problem with the image ?
    File : 817solaris.cpio.gz
    Browser : M$-Internet Explorer 5.0 on Window$ 2000
    OS : SPARC Solaris 8
    Thanks,
    Daniel Vermes

    Hans,
    It is a known problem on Windows 98, Windows and Windows 2000 if you are using Intel Pentium 4 processor with Sun JRE and Symantec JIT. I had the same problem with Windows 98. Oracle has a patch. Please see Note:131299.1 on metalink for details.

  • Has the initial problem with Mavericks with the inability to send a group email been resolved?

    Has the initial problem of the inability of Mavericks Mail to send a Group Email been resolved?

    I can't try what you suggest since I have not reinstalled Mavericks. I don't want the hassle to recover all my files if I have to return to Mountain Lion (again). I was one of the first users of Mavericks when it rolled out and I was not able to "drag and drop" group emails from my Contacts App. I had to do them one at a time--which was a pain when sending the same email to over 50 persons. I do a lot of them to different groups. I have not been able to confirm with Apple that Mavericks works correctly with mail. Thus I need to rely on users such as you to determine if it is safe to install Mavericks (again). If the mail program works correctly I should be able to drag and drop a group or type the group name into "To", "cc" or "bcc". What say you?

  • Initial problem with JSP Custom Tag devolopment

    Hi ,
    I have encountered a problem with my JSP application which utilizes a simple custom tag.
    First I created followinng directories.
    1. %TOMCAT_HOME%\webapps\testTags
    2. %TOMCAT_HOME%\webapps\testTags\META-INF
    3. %TOMCAT_HOME%\webapps\testTags\WEB-INF
    4. %TOMCAT_HOME%\webapps\testTags\WEB-INF\tlds
    5. %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes
    6. %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes\com
    7. %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes\com\tek271
    8. %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes\com\tek271\testTags
    I created the essential four files, that is named as follows.
    1.TagError.java
    2.web.xml
    3.testTld.tld
    4.testJsp.jsp
    Then i put the files under these directories as given below
    testJsp.jsp under %TOMCAT_HOME%\webapps\testTags.
    web.xml under %TOMCAT_HOME%\webapps\testTags\WEB-INF
    TagError.java under %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes
    TagError.class under %TOMCAT_HOME%\webapps\testTags\WEB-INF\classes\com\tek271\testTags
    testTld.tld %TOMCAT_HOME%\webapps\testTags\WEB-INF\tlds
    Here is the content inside the files.
    1.TagError.java
    package com.tek271.testTags;
    import java.io.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TagError extends TagSupport {
    private String mColor = "red";
    public void setColor(String aColor) {
    mColor = aColor;
    } // setColor
    public int doStartTag() throws JspException {
    try {
    JspWriter out = pageContext.getOut();
    out.print("<font color=\"");
    out.print(mColor);
    out.print("\"><b>Error: ");
    } catch (IOException ex) {
    throw new JspTagException(ex.getMessage());
    return EVAL_BODY_INCLUDE; // other return: SKIP_BODY
    } // doStartTag()
    public int doEndTag() throws JspException {
    try {
    JspWriter out = pageContext.getOut();
    out.println("</b></font><br>");
    } catch (IOException ex) {
    throw new JspTagException(ex.getMessage());
    return EVAL_PAGE; // other return: SKIP_PAGE
    } // doEndTag()
    } // TagError
    2.web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app>
    <taglib>
    <taglib-uri>/testTaglib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/testTld.tld</taglib-location>
    </taglib>
    </web-app>
    3.testTld.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>testTld</shortname>
    <info>Testing jsp tags</info>
    <tag>
    <name>tagError</name>
    <tagclass>com.tek271.testTags.TagError</tagclass>
    <bodycontent>JSP</bodycontent> <!-- Also: empty, tagdependent -->
    <info>Show a string as an error message</info>
    <attribute>
    <name>color</name>
    <required>false</required>
    </attribute>
    </tag>
    </taglib>
    4.testJsp.jsp
    <%@ taglib uri="/testTaglib" prefix="test" %>
    <html>
    <head>
    <title>Testing Tag Library</title>
    </head>
    <body>
    <test:tagError>Invalid user name</test:tagError>
    <test:tagError color="blue">Invalid Password</test:tagError>
    </body>
    </html>
    but i am getting the following error.
    Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: File "/testTaglib" not found
    at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:214)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
    at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1162)
    at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:758)
    at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    at java.lang.Thread.run(Thread.java:536)
    why is it like this ?please give me a solution.
    Thanking in advance.
    From
    Vinod A.

    Dear patreck ,
    It does not work.
    I have replaced the line
    <%@ taglib uri="/testTaglib" prefix="test" %>
    with
    <%@ taglib uri="WEB-INF/tlds/testTaglib" prefix="test" %>
    but now it shows the error ,
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: File "/testTags/WEB-INF/tlds/testTaglib" not found
    any more suggestion ?
    From Vinod A.

  • New with initial problems with Dreamweaver

    I am working on a large project, think of a multimedia-pedia.
    As I wish to do it by years, from 1950 to present, with 7 sub
    pages for each, I will end up with about 500 pages to horse around
    when I am done, which I expect to take a year or so. I have put up
    the first three years to test things and see how search engines see
    it and that kind of thing. It will not be viable of course until I
    am done with 1969 and I will have something to sell, THE SIXTIES.
    If you would like to see the project:
    http://1960.yearthatwas.com
    Perhaps someone could give me a few conceptual ideas on how
    best to do this in the first place...
    I only have a day looking over Dreamweaver but I have run
    into one problem that I need resolved before I can commit to it and
    DELETE that sorryass Frontpage I been messing with for most of ten
    years. :)
    This concerns just HTML at the moment.
    I loaded the 1960 page created in FP into DW.
    I created new tables at the top, moved the content into them
    and deleted the old tables. Hopefully ridding myself of bad old FP
    code.
    There are lots of new things I am having problems with but
    most will be resolved as I move along.
    But this one is stopping me in my tracks
    Design window:
    Returns to add lines between text and text and text and jpgs
    and jpgs and jpgs often do not show properly in IE and FF, and a
    few style formats, like center show differently in IE and FF.
    I can look at the code and the added lines are there, but a
    few never show up in the review.
    I am using
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    If that has anything to do with it.
    Sure FP with WYSIWYG is flaky, but I know how to deal with
    it, do I have to learn new flakyness all over again? :)

    > Sure FP with WYSIWYG is flaky, but I know how to deal
    with it, do I have
    > to
    > learn new flakyness all over again? :)
    >
    There is no such thing as WYSIWYG on the web or in web
    authoring.
    What you need to learn all over again is HTML and CSS, as
    recommended by
    Michael. DW will be a walk in the park with even an
    introductory
    familiarity with these notions.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "rack22" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am working on a large project, think of a
    multimedia-pedia. :)
    > As I wish to do it by years, from 1950 to present, with
    7 sub pages for
    > each,
    > I will end up with about 500 pages to horse around when
    I am done, which I
    > expect to take a year or so. I have put up the first
    three years to test
    > things
    > and see how search engines see it and that kind of
    thing. It will not be
    > viable
    > of course until I am done with 1969 and I will have
    something to sell, THE
    > SIXTIES.
    >
    > If you would like to see the project:
    >
    http://1960.yearthatwas.com
    > Perhaps someone could give me a few conceptual ideas on
    how best to do
    > this in
    > the first place...
    >
    > I only have a day looking over Dreamweaver but I have
    run into one problem
    > that I need resolved before I can commit to it and
    DELETE that sorryass
    > Frontpage I been messing with for most of ten years. :)
    > This concerns just HTML at the moment.
    >
    > I loaded the 1960 page created in FP into DW.
    > I created new tables at the top, moved the content into
    them and deleted
    > the
    > old tables. Hopefully ridding myself of bad old FP code.
    > There are lots of new things I am having problems with
    but most will be
    > resolved as I move along.
    > But this one is stopping me in my tracks
    >
    > Design window:
    > Returns to add lines between text and text and text and
    jpgs and jpgs and
    > jpgs
    > often do not show properly in IE and FF, and a few style
    formats, like
    > center
    > show differently in IE and FF.
    > I can look at the code and the added lines are there,
    but a few never show
    > up
    > in the review.
    > I am using
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > If that has anything to do with it.
    >
    > Sure FP with WYSIWYG is flaky, but I know how to deal
    with it, do I have
    > to
    > learn new flakyness all over again? :)
    >
    >
    >
    >

  • Problem with zone creation in Solaris 10 6/06

    Hi,
    I have configured and installed a non-global zone following the example given in the guide http//www.sun.com/software/solaris/howtoguides/posgresqlhowto.jsp. My zone has the following configuration:
    # zonecfg -z pg_zone
    zonecfg:pg_zone> info
    zonepath: /export/zones/pg_zone
    autoboot: true
    pool:
    fs:
    dir: /pg_log
    special: /dev/dsk/c1d0s0
    raw: /dev/rdsk/c1d0s0
    type: ufs
    options: []
    net:
    address: 192.168.10.100/24
    physical: bge0
    zonecfg:pg_zone> exit
    The installation completed but I got the following errors:
    # zoneadm -z pg_zone install
    Preparing to install zone <pg_zone>.
    Creating list of files to copy from the global zone.
    Copying <130101> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    Preparing to initialize <1059> packages on the zone.
    Initialized <1059> packages on zone.
    Zone <pg_zone> is initialized.
    Installation of these packages generated errors: <SUNWgnome-a11y-libs-share>
    Installation of <63> packages was skipped.
    The file </export/zones/pg_zone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
    When examined the logs there were several messages like this:
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWamutl> was not installed:
    The package <SUNWamutl> is registered to be installed in the
    global zone only. The package may have been installed in the global
    zone using the pkgadd '-G' option, or the package may contain a
    request script, or the package may directly set the package attribute
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWiimdv> was not installed:
    The package <SUNWiimdv> is either not fully installed in the
    global zone, or the package contains a request script. Only packages
    that are fully installed in the global zone and that do not contain a
    request script can be installed when a new zone is created. If this
    package does not contain a request script, you can correct this
    problem by removing and reinstalling the package in the global zone.
    And when I try to boot the zone I get this error:
    # zoneadm -z pg_zone boot
    zoneadm: zone 'pg_zone': "/usr/lib/fs/lofs/mount -o zonedevfs /export/zones/pg_zone/dev /export/zones/pg_zone/root/dev" failed with exit code 33
    zoneadm: zone 'pg_zone': call to zoneadmd failed
    Any suggestion how to solve this problem?
    thanks

    To answer your question wangzh: Yes I did. I actually followed exactly the procedure on the how-to-uides: http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp.
    I think the problem here might reside in the script supplied in the solaris distribution for creating zones. For example, in the default configuration script, the package directories /lib /platform /var and /usr are by default set to be automatically imported. But when I try to create a zone using these defaults settings, it ends up with an mounting error that prevents the installation of the zone. only when I remove manually those directories from the configuration then the installation continues.
    And during the installation process there are number of packages that are by default imported via the installation script and this is some of those packages that cause the errors here. I also tried to exclude the offending packages as suggested by henryC but I couldn't find all of them and the creation still fails at the booting.

  • Problem with JNI in a Solaris shared library

    Hi,
    I have a problem.
    I have used JNI in my .dll on Windows & .so on Solaris . I have also used the same JNI code in a .exe on Windows & an executable on Solaris. 3 out of the above 4 combinations work & 1 doesen't. When I use JNI from a .so on Solaris 8(with/without the J2SE recommended patch), the JVM seems to have some exception & dumps core when I invoke CreateJavaVM(). See Below - I've included the output on the screen & the output from 'pstack core' :
    Unexpected Signal : 11 occurred at PC=0xFED29D44
    Function=[Unknown. Nearest: JVM_GetMethodIxExceptionIndexes+0x1994]
    Library=/usr/java/jre/lib/sparc/libjvm.so
    Current Java thread:
    Dynamic libraries:
    0x10000 SblSim
    0xff280000 /usr/lib/libnsl.so.1
    0xfec00000 /usr/java/jre/lib/sparc/libjvm.so
    0xff370000 /usr/lib/libpthread.so.1
    0xff350000 /usr/lib/librt.so.1
    0xff260000 /usr/lib/libsocket.so.1
    0xff390000 /usr/lib/libdl.so.1
    0xff230000 /usr/lib/libCrun.so.1
    0xff200000 /usr/lib/libm.so.1
    0xff340000 /usr/lib/libw.so.1
    0xff1b0000 /usr/lib/libthread.so.1
    0xff080000 /usr/lib/libc.so.1
    0xff180000 /usr/lib/libmp.so.2
    0xff160000 /usr/lib/libaio.so.1
    0xff1f0000 /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
    0xfebd0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
    0xfeba0000 /usr/j2se/jre/lib/sparc/libverify.so
    0xfeb60000 /usr/j2se/jre/lib/sparc/libjava.so
    0xfeb40000 /usr/j2se/jre/lib/sparc/libzip.so
    0xfe920000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xf1400000 ./libaicd.so
    0xfc480000 ./libmttoolkit.so
    0xfdfe0000 ./libmttlogger.so
    0xfdfb0000 /usr/j2se/jre/lib/sparc/libnet.so
    Local Time = Tue Nov 12 09:51:37 2002
    Elapsed Time = 29
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002D5 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
    # An error report file has been saved as hs_err_pid3120.log.
    # Please refer to the file for further information.
    Abort(coredump)
    Below is the output of 'pstack core'
    $ pstack core
    core 'core' of 3120: SblSim libaicd.so 127.0.0.1 9999
    ----------------- lwp# 1 / thread# 1 --------------------
    ff1c9764 __sigprocmask (ff1cbf60, 0, 0, 565f8, ff1de000, 0) + 8
    ff1be110 _sigon   (565f8, ff1e5930, 6, ffbedba4, 565f8, 6) + d0
    ff1c1150 thrpkill (0, 1, 6, ff1de000, 1, ff140450) + f8
    ff0cb900 raise (6, 0, 0, ffffffff, ff1403bc, 4) + 40
    ff0b58ec abort (ff13c000, ffbedcf8, 0, fffffff8, 4, ffbedd19) + 100
    feee2700 ???????? (1, fef98e50, ffbedd98, 0, feffc130, feee1258)
    feee12c8 ???????? (60650, b, fed29d44, ffbeeab8, b, 0)
    fede77c0 ???????? (fed29d44, ffbeeab8, ffbee800, fed29d44, fed03744, 0)
    ff1cb824 __sighndlr (b, ffbeeab8, ffbee800, fede6f38, 5669c, 5668c) + c
    ff1c84d8 sigacthandler (b, 565f8, 0, 0, 0, ff1de000) + 708
    --- called from signal handler with signal 11 (SIGSEGV) ---
    fed29d44 ???????? (0, 60650, 0, 0, 0, 0)
    fed2d7d4 ???????? (606e4, 0, 0, ffbeed00, 0, 0)
    f172e818 __1cHJNIEnv_JNewObject6MpnH_jclass_pnK_jmethodID_E_pnI_jobject__ (606e4, 0, 0, ffbeed70, 39, 107f90) + 70
    f172dbf8 __1cGJEvent2t5B6M_v_ (107f60, f1a877f4, db088, ff0c1c44, 107f48, 0) + 80
    f16f2864 __1cGCEvent2t6Mii_v_ (107f60, 0, 1, ff13c000, 107f48, 0) + 7c
    f16e62e8 __1cVCISCHelperThreadMutex2t6M_v_ (107f50, 0, 560ac, 30f68, fefe4000, 0) + c0
    f16ddc34 __1cLinitGlobals6F_v_ (0, 1, 19a, f1a198ec, f1a198ec, 0) + 5c
    f16de4e4 CreateISCDriverInstance (0, 5cc40, 0, 57608, 565e8, 0) + 554
    00034f08 __1cJRunSblSim6F_v_ (1, ffbef322, ffbef32c, ff13fc70, 100d4, 0) + 320
    00035588 main (4, ffbef1dc, ffbef1f0, 55c00, 0, 0) + 1a8
    00018460 _start   (0, 0, 0, 0, 0, 0) + 108
    ----------------- lwp# 2 / thread# 2 --------------------
    ff11e958 _signotifywait (ff1de000, 59, 0, 0, 0, 0) + 8
    ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 3 --------------------------------
    ff1c9774 private___lwp_cond_wait (ff075d70, ff1ded9c, ff1de000, 0, 0, 4) + 8
    ff11c554 doorreturn (ff075cb0, ff1ba740, 0, 0, 0, 0) + 68
    ----------------- lwp# 4 / thread# 4 --------------------
    ff11efbc ___lwp_cond_wait (60048, 60030, fe901ad0, 0, 0, fe901ac8) + 8
    ff116610 lwpcond_timedwait (1cb8c88, 3dd1157a, fe901ba4, 60030, 60048, 1) + 98
    fecfc7d8 ???????? (0, 1, 0, 581b8, feffa26c, 0)
    fecfcfd4 ???????? (ff00a15c, feffa4b8, feffa4b4, 0, 0, 0)
    fecfccc0 ???????? (d3980, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d3980, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d3980, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 5 --------------------------------
    ff11c4fc doorreturn (4, ff1df688, ff1df6a0, 3, ff1de000, 1) + 10
    ff1ba740 lwpstart (fea95d70, 0, 6000, ff075b74, 0, 0) + 18
    ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 6 / thread# 5 --------------------
    ff11efbc ___lwp_cond_wait (d5720, d5708, 0, fed10a40, 0, 0) + 8
    fed110d4 ???????? (d56c8, 0, 5000, 5210, d4d38, 4d24)
    fed10824 ???????? (fdf8172c, 0, 0, d4d38, d4d38, 30dec8)
    fed103b0 ???????? (d4dcc, fdf81824, 0, 0, 0, 0)
    fa40cc94 ???????? (f2000380, b6, fdf818a4, ffffffff, 0, fdf817c0)
    fa405da0 ???????? (f2000380, b6, fdf818a8, fa415444, 0, fdf81840)
    fa405da0 ???????? (fdf81938, 0, 0, fa4157a4, 2f4210, fdf818d8)
    fa400438 ???????? (fdf819c0, fdf81c08, a, f6050b68, fa40bc8c, fdf81b50)
    fecfe2f8 ???????? (fdf81c00, fdf81a88, fdf81b48, d4d38, d4d38, fdf81a9c)
    fed0ff90 ???????? (fefe4000, d5298, fdf81b3c, fdf81b38, fdf81b48, d4d38)
    fed0fdf0 ???????? (fdf81c00, fdf81bfc, fdf81bf0, fdf81be8, fdf81be0, d4d38)
    fed0fd78 ???????? (d4d38, d4d38, ac9a0, d5298, 2d4488, fed0fa60)
    fed0fa88 ???????? (d4d38, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d4d38, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d4d38, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 7 / thread# 6 --------------------
    ff11efbc ___lwp_cond_wait (d7040, d7028, 0, 1, 0, 0) + 8
    fed110d4 ???????? (d6fe8, 0, 5000, 5210, d6658, 4d24)
    fed10824 ???????? (fa38169c, 0, 0, d6658, d6658, 30dec8)
    fed103b0 ???????? (d66ec, fa38179c, 0, 0, 0, 0)
    fa40cc94 ???????? (f2000490, b6, fa3817a0, fa414050, 0, fa381730)
    fa405da0 ???????? (f2000478, b6, fa3818b4, fa415444, 0, fa3817d8)
    fa405c4c ???????? (f2000478, b6, fa381934, fa415444, d6658, fa381858)
    fa405c4c ???????? (fa381938, 0, 0, fa38197c, 2f4210, fa3818d8)
    fa400438 ???????? (fa3819c0, fa381c08, a, f60520b8, fa40bc8c, fa381b50)
    fecfe2f8 ???????? (fa381c00, fa381a88, fa381b48, d6658, d6658, fa381a9c)
    fed0ff90 ???????? (fefe4000, d6bb8, fa381b3c, fa381b38, fa381b48, d6658)
    fed0fdf0 ???????? (fa381c00, fa381bfc, fa381bf0, fa381be8, fa381be0, d6658)
    fed0fd78 ???????? (d6658, d6658, ac9e0, d6bb8, 2d4488, fed0fa60)
    fed0fa88 ???????? (d6658, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d6658, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d6658, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 8 / thread# 7 --------------------
    ff11d194 _poll    (0, 0, 0, fa281a28, ff13f1b4, fa281a28) + 8
    ff1cb134 select (0, a, 0, ff1de000, fa281e14, 0) + 34
    fed32afc ???????? (d8040, 0, a, 0, 0, 0)
    fed328b4 ???????? (d8040, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d8040, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d8040, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 9 / thread# 8 --------------------
    ff11efbc ___lwp_cond_wait (5f998, 5f980, 2e7aa0, ff1de000, fa181e14, 0) + 8
    fecfc634 ???????? (5f950, 0, 0, 0, feffa26c, 0)
    fed3371c ???????? (3c00, 3f44, 0, 0, 0, 0)
    fecfcbd0 ???????? (d81a8, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d81a8, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 10 / thread# 9 --------------------
    ff11f008 lwpsema_wait (f1f81e30, ff1de000, 0, f1f81d70, ff3e2628, 0) + c
    ff1b94c0 _swtch   (f1f81d70, ffffffff, ff1de000, 5, 1000, 0) + 158
    ff1bcc64 sema_wait (ff020fe0, ff1e98e4, 5000, 10000, 534d, 1) + bc
    fed345c8 ???????? (0, 6, b, a, 1, 0)
    fed34254 ???????? (ff002ae4, ff00a5a0, ff00a5d4, dab90, 2d4488, fed0fa60)
    fed0fa88 ???????? (da630, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (da630, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (da630, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 11 / thread# 10 --------------------
    ff11efbc ___lwp_cond_wait (604e8, 604d0, 2e7aa0, feffa26c, 106c40, 0) + 8
    fecfc88c ???????? (604a0, 0, 0, dbbd0, feffa26c, 0)
    fed349ac ???????? (db670, db670, dbfd0, dbbd0, 2d4488, fed0fa60)
    fed0fa88 ???????? (db670, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (db670, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (db670, 0, 0, 0, 0, 0) + 40
    -------------------------- thread# 3 --------------------
    ff1bddbc reapwait (ff1e29e0, 20520, 0, ff1de000, 0, 0) + 38
    ff1bdb14 _reaper  (ff1dee30, ff1e4740, ff1e29e0, ff1dee08, 1, fe400000) + 38
    ff1cb728 threadstart (0, 0, 0, 0, 0, 0) + 40

    This is an update to the original message -
    I have tried both HotSpot & Server JVMs but still see the
    same behavior. I'm using 1.4 .
    I'd like to provide more information to those who can help
    me. I have a feeling there might be something wrong in my
    CC options. Thus you will find below what my CC statement
    looks like for one of the files in my project & for the
    linking of the final shared library. I also have
    provided the output of ldd on my shared library libaicd.so
    & for comparison the output of ldd on libjvm.so as that
    might provide some usefull information just incase
    something looks suspecious & might ring a bell.
    /opt/SUNWspro.cc6/bin/CC -c -KPIC -g -DDEBUG=DEBUG -
    D_DEBUG -mt -DSOLARIS -DSTD_STREAM -
    I/vob1/qwsrc/fw/include -I.-I/vob4/source/idl -
    I/vob4/source/mttoolkit -I/vob4/source/mttoolkit/tools -
    I/vob4/source/integrations/siebel/aicd -
    I/vob4/source/include -I/vob1/qwsrc/fw/include -
    I/vob4/source/source -I/vob4/source/mttoolkit -
    I/vob1/external/platform_neutral/siebel/scapi/include -
    I/external/sparc/Sun/jdk/1.3.1/include -
    I/external/sparc/Sun/jdk/1.3.1/include/solaris -
    I/vob4/source/idl -I/vob4/source/mttoolkit -
    I/vob4/source/mttoolkit/tools -
    I/vob4/source/mttoolkit/vnet -
    I/vob4/source/mttoolkit/bool -DUNIX -
    D_USE_MTTServerToolkit -D_JAVA_ WIAcceptTimeOut.cpp -
    o /space/users/janak/buildoutput/sparc/debug/obj/integratio s/siebel/aicd/WIAcceptTimeOut.o
    /opt/SUNWspro.cc6/bin/CC -G -
    o /space/users/janak/buildoutput/sparc/debug/lib/fw/libaicd.so
    /space/us
    ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
    cd/AgentService.o /space/users/janak/buildoutput/sparc/debug
    /obj/integrations/siebel/aicd/AgentServiceCmds.o /space/user
    s/janak/buildoutput/sparc/debug/obj/integrations/siebel/aicd
    /AgentServiceEvents.o /space/users/janak/buildoutput/sparc/d
    ebug/obj/integrations/siebel/aicd/AgentServiceICAReq.o /spac
    e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
    l/aicd/AgentServiceICEvents.o /space/users/janak/buildoutput
    /sparc/debug/obj/integrations/siebel/aicd/AgentServiceUtilit
    ies.o /space/users/janak/buildoutput/sparc/debug/obj/integra
    tions/siebel/aicd/AvMc.o /space/users/janak/buildoutput/spar
    c/debug/obj/integrations/siebel/aicd/InternationalStrings.o
    /space/users/janak/buildoutput/sparc/debug/obj/integrations/
    siebel/aicd/JEvent.o /space/users/janak/buildoutput/sparc/de
    bug/obj/integrations/siebel/aicd/JMultipleEvents.o /space/us
    ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
    cd/JNIObject.o /space/users/janak/buildoutput/sparc/debug/ob
    j/integrations/siebel/aicd/JObject.o /space/users/janak/buil
    doutput/sparc/debug/obj/integrations/siebel/aicd/JSemaphore.
    o /space/users/janak/buildoutput/sparc/debug/obj/integration
    s/siebel/aicd/JWorkerThread.o /space/users/janak/buildoutput
    /sparc/debug/obj/integrations/siebel/aicd/MultipleEvents.o /
    space/users/janak/buildoutput/sparc/debug/obj/integrations/s
    iebel/aicd/Param.o /space/users/janak/buildoutput/sparc/debu
    g/obj/integrations/siebel/aicd/ParamQueue.o /space/users/jan
    ak/buildoutput/sparc/debug/obj/integrations/siebel/aicd/RefC
    ount.o /space/users/janak/buildoutput/sparc/debug/obj/integr
    ations/siebel/aicd/SiebelDriver.o /space/users/janak/buildou
    tput/sparc/debug/obj/integrations/siebel/aicd/SiebelEvent.o
    /space/users/janak/buildoutput/sparc/debug/obj/integrations/
    siebel/aicd/SiebelWorkItem.o /space/users/janak/buildoutput/
    sparc/debug/obj/integrations/siebel/aicd/SingleEvent.o /spac
    e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
    l/aicd/SmartPtr.o /space/users/janak/buildoutput/sparc/debug
    /obj/integrations/siebel/aicd/StdAfx.o /space/users/janak/bu
    ildoutput/sparc/debug/obj/integrations/siebel/aicd/ThreadPoo
    l.o /space/users/janak/buildoutput/sparc/debug/obj/integrati
    ons/siebel/aicd/Utilities.o /space/users/janak/buildoutput/s
    parc/debug/obj/integrations/siebel/aicd/WIAcceptTimeOut.o -
    lnsl -lc -lCstd -
    L/space/users/janak/buildoutput/sparc/debug/lib/cti -
    lmttoolkit -
    L/space/users/janak/buildoutput/sparc/debug/lib/fw -
    lmttlogger -
    L/space/users/janak/buildoutput/sparc/debug/lib/fw -
    lqwlicmtt -
    L/external/sparc/Sun/jdk/1.3.1/jre/lib/sparc/server -
    Bdynamic -ljvm -mt -lpthread -lposix4
    $ ldd /usr/j2se/jre/lib/sparc/libjvm.so
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libw.so.1 => /usr/lib/libw.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
    $ ldd libaicd.so
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libmttoolkit.so => ./libmttoolkit.so
    libmttlogger.so => ./libmttlogger.so
    libjvm.so => /usr/java/jre/lib/sparc/libjvm.so
    libpthread.so.1 => /usr/lib/libpthread.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libw.so.1 => /usr/lib/libw.so.1
    /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1

  • Problem with luactivate procedure in Solaris 10 Update 5

    We are having some issues with Live Upgrade procedures with Solaris 10 Update 5 on SUN Enterprise T5240 servers.
    We have successfully performed those procedures earlier on SUN Fire v240 using Solaris 10 Update 3.
    Here is the problem statement:
    1. Created a Flar image successfully
    2. Installed on a 5240 machine from InstallServer and using jumpstart profile using a sysidcfg and flash_prof
    3. The first installation is successful and system picks up configuration information from sysidcfg file on the install server.
    4. Now we use lucreate to create another BE (Boot Environment) BE_2.
    5. BE_2 is upgraded with luupgrade using the same flar as used in step 2.
    6. Issuing command:
    luactivate -s BE_2
    7. After a init 6, system tries to boot from BE_2. This time instead of copying system files from BE_1 due to -s options specified, it instead runs the sysconfig command that asks for all the configuration options again.
    8. When we were using these steps in Solaris 10 update 3 on Sun Fire v240, everything was working fine. The system config was available in BE_2 without any issue.
    ***************************************************************************************************************************************************

    iMovie10 only works in and exports 16:9 aspect ratio.
    The resolution is set by that of the first video clip put in a project timeline.  To change your project to 1080p do the following:
    Create a new project
    Put any known 1080p video clip in the project (it can be removed later)
    Select the old project and then Edit - Select All then Edit - Copy
    Select the new project and then Edit - Copy
    The new project should now be 1080p.  You can remove the first clip if you want.
    Geoff.

  • Problems with make/gcc on Solaris

    I'm working on building a binary on several different platforms, but the only one giving me trouble is Solaris 10 (64-bit -- though apparently this is building a 32-bit binary). The binary relies on the following project:
    https://projects.coin-or.org/Cbc
    I can checkout their code from SVN and build it without a problem. However, we then have a small cpp file that links to those libraries. I cannot get this cpp file to build. In fact, Solaris chokes on the makefile itself complaining that one of the lines ends with the '$' (which it does). The strange thing is, this makefile works correctly on Linux. It also works just fine on Windows in the MinGW environment (I do have to add a few flags on Windows but they are completely unrelated and the line ending with '$' still still present and works).
    Since the makefile failed, I tried to run the 2 commands that it does manually. The first one succeeds but the second command fails to locate the dynamic libraries -- even though the directory they reside in is specified in the -L argument. What gives??
    I put /usr/ccs/bin and /usr/sfw/bin in my PATH variable so that I can use make and gcc. I had to add /usr/sfw/lib to the LIBDIR variable, otherwise I was getting even more errors. Here is the makefile and the error that I get when I try to run make:
    -bash-3.2$ cat makefile
    CPP = gcc
    COINPATH = /export/home/locuser/cbc_source/coin-cbc
    CPATH += -I$(COINPATH)/include/coin
    LIBDIR = -L$(COINPATH)/lib:/usr/sfw/lib
    COINLIBS = -lCbcSolver -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lm
    CFLAGS += -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g $(CPATH)
    DATASTORE=$(PSASRC)/datastore.a
    .c.o:
    $(CC) $(CFLAGS) -c -o $@ $<
    .cpp.o:
    $(CPP) $(CFLAGS) -c -o $@ $<
    OBJSx = cbc.o
    cbc: $(OBJSx) $
    $(CPP) $(CFLAGS) -o cbc $+ $(LIBDIR) $(COINLIBS)
    -bash-3.2$ make
    mksh: Fatal error in reader: '$' at end of line
    Current working directory /export/home/locuser/cbc_source/solver
    Then this is what happened when I tried to run the 2 commands manually:
    -bash-3.2$ gcc -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g -I/export/home/locuser/cbc_source/coin-cbc/include/coin -c -o cbc.o cbc.cpp
    -bash-3.2$ gcc -DUSE_SNAPSHOT=1 -DNEW_SIMULATOR=1 -g -I/export/home/locuser/cbc_source/coin-cbc/include/coin -o cbc cbc.o -L/export/home/locuser/cbc_source/coin-cbc/lib:/usr/sfw/lib -lCbcSolver -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lm
    ld: fatal: library -lCbcSolver: not found
    ld: fatal: library -lCbc: not found
    ld: fatal: library -lCgl: not found
    ld: fatal: library -lOsiClp: not found
    ld: fatal: library -lClp: not found
    ld: fatal: library -lOsi: not found
    ld: fatal: library -lCoinUtils: not found
    ld: fatal: file processing errors. No output written to cbc
    collect2: ld returned 1 exit status
    However, if I cd into the directory /export/home/locuser/cbc_source/coin-cbc/lib then the libraries do indeed exist there:
    -bash-3.2$ cd /export/home/locuser/cbc_source/coin-cbc/lib
    -bash-3.2$ ls lib*.so.0
    libCbc.so.0 libClp.so.0 libOsiCbc.so.0
    libCbcSolver.so.0 libCoinUtils.so.0 libOsiClp.so.0
    libCgl.so.0 libOsi.so.0 libOsiCommonTests.so.0
    Any ideas on what I am doing wrong here? It seems like there is something non-standard about make on Solaris?

    Woo hoo! I was able to finally get past this. Thank you both for you assistance. I tried the LD_DEBUG=files option and it didn't seem to help me much. I got some additional output but it appeared unrelated. So then I separated out my -L argument into 2 separate arguments. This changed the error messages and led to some errors about operator new and delete not being found as well as some gz and BZ2 functions not being found:
    Undefined first referenced
    symbol in file
    operator new[](unsigned int) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    operator new(unsigned int) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int) constcbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    vtable for __cxxabiv1::__si_class_type_infocbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    std::basic_ostream<char, std::char_traits<char> >::operator<<(int)cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    BZ2_bzRead /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
    operator delete[](void*) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    operator delete(void*) cbc.o (symbol belongs to implicit dependency /usr/sfw/lib/libstdc++.so.6)
    gzopen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
    gzread /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
    BZ2_bzReadOpen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
    BZ2_bzWriteOpen /export/home/locuser/cbc_source/coin-cbc/lib/libCoinUtils.so
    This led me to two conclusions:
    1. I needed to change the makefile to use g++ instead of gcc (due to the messages about the operators existing in libstd*c++*.so.6).
    2. I needed to include the libz and libbz2 libraries (by adding -lz and -lbz2) to COINLIBS.
    I made those 2 changes to the makefile and it built successfully with gmake! So now I'm off to go document this information on our wiki. Thanks for the suggestions -- they pointed me in the right direction and ultimately helped me resolve this issue. :)

  • Problem with Linux executable in solaris

    Hello
    I have a problem. We have sunblade workstation with OS solaris 2.8 version. I have downloaded a program which is developed under RedHat 5.1 and complied with Egcs-1.0.2. when i execute this program i am getting the message like bash: ./Al: cannot execute binary file
    I would be thankfull if someone tell me how to solve the problem.
    Thanks Raji

    You need lxrun do be able to run Linux binaries on Solaris x86. You can get it at
    http://soldc.sun.com/freeware/details/detail_lxrun_0.9.6.1_8_Intel.html
    I've never used it, so please post your results here.

  • Problem with Upgrading Firmware of Solaris 10

    I have X4500 running solaris 10 with 5.10 version. The ILOM version is 1.1.1 and I want to upgrade the firmware. I setup the TFTP server on my machine using the following link.
    http://docs.sun.com/source/819-7247-10/app_tftp.html
    I could install the tftp server and could transfer a file as well. When I use tftp localhost and use get command it works fine. But when I login to my ILOM port and give the IP address of my X4500 machine it say's connection timed out and firmware upgrade failed.
    I use load -source tftp://134.197.38.228/ilom.X4500-1.1.8.ima.
    Someone please help me with this. I have a problem using Web GUI and I have got only this option to upgrade.
    Any help would be appreciated.
    Thank you

    Have you upgraded the firmware with correct version number.If the firmware is not correct,you can get the problem like this. 
    Hard-reset the router for 2 minute,Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now,open the setup page and check.

  • Build problem with Berkeley DB on Windows / MingW

    I'm building 4.5.20 on MingW on Windows XP. I was getting an undefined symbol error when trying to build. There is a reference in os_errno.c to WSAGetLastError, and that symbol was showing up as undefined. The symbol is found in ws2_32.dll (the Winsock2 library). My fix is to change LIBCSO_LIBS from empty to -lws2_32 in the Makefile, which resolved my problem.
    I couldn't figure out how to change this so that configure will pick this up properly (since I'm not familiar with using configure), so I can rerun configure without losing this fix. Also, I don't know if that's where you would recommend changing this.
    Any suggestions?
    Thanks,
    Eric

    Hi Eric,
    This issue was discussed before, here:
    Re: BerkeleyDB and MinGW... is there a way?
    Re: Build Berkeley-db on MinGW error
    Please let me know if it helped.
    Regards,
    Bogdan Coman

  • CLOSE_WAIT problems with Oracle 9iAS on Solaris

    All,
    We have some simple JSP + Sevlets running on Oracle 9iAS on a Solaris server. After the App Server has been running for a couple of minutes we start to get several TCP connections with a CLOSE_WAIT status - as shown by a netstat output.
    These seem to be a result of a FIN_WAIT_2 and CLOSE_WAIT pairing eg
    Local Remote Swind Send-Q Rwind Recv-Q Status
    SERVER.43009 SERVER.80 49152 0 49152 0 CLOSE_WAIT
    SERVER.80 SERVER.43009 49152 0 49152 0 FIN_WAIT_2
    Over time the FIN_WAIT_2 is removed, leaving the CLOSE_WAITs.
    Has anyone else had this problem?
    Keith

    We're having similar problem. We have lot's of close_wait between Apache and OC4J.
    Swetal

Maybe you are looking for

  • EM 10g Database Control - Status: Agent Unreachable

    Hi, OS: AIX 5L Database: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit We have installed 2 instances with EM 10g database control option. At the end EM was running over the second database. Then we switch it to look over the first

  • Problems binding array in C# to stored procedure.

    I'm having trouble trying to pass an array of ID's to a stored procedure that is expecting an array (listed the procedure definition below). My current interface doesn't return an error, but it also doesn't insert the proper id's. STORED PROCEDURE DE

  • Updating Attribute value

    I have a simple XML document. file. <result success="TRUE"> <plan> <step number="0" name="SelectTransportA"/> <step number="1" name="SelectFlight"/> <step number="2" name="GetMedicalFlightAccountB"/> <step number="3" name="SelectFlight"/> </plan> </r

  • Retina display on Mac Pro goes off randomly while working

    My client has the latest Mac Pro (cylinder) with two screens, one of which is the latest Apple Retina display. In my client's own words, here's the problem: "My monitors have been really buggy. The retina display just cuts out - then randomly comes b

  • Temporarily stop nfs service?

    I have a MacBook Pro and Air, running 10.6.6. When I'm on a plane, I want to stop NFS, as it's constantly trying to remount NFS mounts that aren't accessible (that I have loaded in DiskUtility/NFS). I find myself manually unmounting the nfs mounts ab