Buildclient requires mfrts32.lib, COBOL, Fujitsu Tuxedo 8

When trying to compile under NT 5 (Windows 2000) with Tuxedo 8 and using
the Fujitsu COBOL compiler, buildclient & buildserver are trying to link
in the library mfrts32.lib. This appears to be the runtime library for
MicroFocus Cobol and is NOT part of the Tuxedo distribution. Does
Tuxedo support any other compiler besides MicroFocus? Is there any way
of changing buildclient and buildserver so they don't ask for this
library? Is this a bug in the Tuxedo COBOL support? (If ALTCC can be
used to change the default compiler name, (which won't work under NT5)
and therefore use other compilers besides MicroFocus, is it a bug to
then require mfrts32.lib?)
Thanks in Advance.
Brian Douglass
TPS, Inc.
[email protected]

When trying to compile under NT 5 (Windows 2000) with Tuxedo 8 and using
the Fujitsu COBOL compiler, buildclient & buildserver are trying to link
in the library mfrts32.lib. This appears to be the runtime library for
MicroFocus Cobol and is NOT part of the Tuxedo distribution. Does
Tuxedo support any other compiler besides MicroFocus? Is there any way
of changing buildclient and buildserver so they don't ask for this
library? Is this a bug in the Tuxedo COBOL support? (If ALTCC can be
used to change the default compiler name, (which won't work under NT5)
and therefore use other compilers besides MicroFocus, is it a bug to
then require mfrts32.lib?)
Thanks in Advance.
Brian Douglass
TPS, Inc.
[email protected]

Similar Messages

  • [SOLVED] pacman update fails: gcc requires gcc-libs=4.7.0-3

    Hi
    I ran pacman -Syu this morning and there's an update to pacman to install first, so I say yes but it fails like this:
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.7.0-3
    But I have gcc-libs 4.7.0-3 installed:
    pacman -Qs gcc-libs
    local/gcc-libs 4.7.0-3 (base)
    Runtime libraries shipped by GCC
    So what's going on?
    Last edited by useradded (2012-04-11 08:08:09)

    How might that break pacman? Assuming databases are current, is running
    pacman -S pacman
    followed by
    pacman -Syu
    different from what pacman itself is trying to do?
    Is the message that pacman should be updated first just wrong?
    So is this what you should do?
    $ pacman -Syu
    Recent ML chatter: linux(2)
    :: Synchronizing package databases...
    core 101.8 KiB 480K/s 00:00 [########################################] 100%
    extra 1385.2 KiB 832K/s 00:02 [########################################] 100%
    community 1636.1 KiB 810K/s 00:02 [########################################] 100%
    multilib 86.4 KiB 522K/s 00:00 [########################################] 100%
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    :: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc-multilib: requires gcc-libs-multilib=4.7.0-3
    No pacnew files to update.
    $ pacman -Syu
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] N
    I thought that itself might break pacman, which is why I updated pacman on its own. So I obviously don't get how it works...
    Plus, why did you say "Or, just..." which suggests it is an alternative method rather than a better one...?
    Last edited by cfr (2012-04-11 22:49:15)

  • Tuxedo buildserver : use SQL in cobol applics

    Hi,
    I'm trying to use SQL through COBOL applications in a Tuxedo (8.0) environment.
    I've added the ODBC libpath to the buildserver command. The execution/compilation of the buildserver seems to be ok, but upon execution of the cobol program the SQL CONNECT fails with SQL-error err 10000.
    I have no idea how to make SQL work ? Can anyone help ?
    I read about RM (resources manager), is this required to make it work ?
    thanks !
    Hugo
    Our platform is HP/UX and we use SQL/COBOL outside tuxedo without problems.
    This is the make file :
    # Fc 970618: incremental compilation for Cobol added
    TUXINC=$(TUXDIR)/include
    BTNINC=$(BTNDIR)/incl
    INCLUDES=-I $(TUXINC) -I $(BTNINC) -I /jates/progs/srcs
    ODBCLIBS="-L /usr/local/unixODBC/lib -lodbc"
    COBOPT="-t"
    COBCPY="/jates/tuxedo80/cobinclude:/jates/btn/btndevl/incl:/jates/cobol/cobol4000sp2/cpylib"
    #avoid unwanted C-compiler warnings
    NLSPATH=$NLSPATH:/opt/ansic/lib/nls/msg/C/%N.cat
    # btnrouter
    btnrouter: /jates/progs/tps/btnrouter.cbl /jates/progs/tps/btn400.cbl /jates/progs/tps/mod461.cbl /jates/progs/tps/mod470.cbl
         buildserver -C -v -o $@ \
    -f /jates/progs/tps/btnrouter.cbl \
    -f /jates/progs/tps/btn400.cbl \
    -f /jates/progs/tps/mod461.cbl \
    -f /jates/progs/tps/mod470.cbl \
    -f /jates/progs/tps/res400.cbl \
    -f ${ODBCLIBS} \
    -s SJETAIR
         -tmshutdown -s $@
         cp -p $@ ..
         -tmboot -s $@
    # general instructions
    .SUFFIXES: .cbl .c .o
    .c.o: $(BTNINC)/fml_flds.h
         cc -c $(INCLUDES) $<
    .cbl.o: $(BTNINC)/fml_flds.h
         cob -xc $<
    #******************************************************

    The normal way to use Tuxedo with an XA-compliant resource manager is to
    1. Have the Tuxedo administrator add a line for the resource manager to the
    $TUXDIR/udataobj/RM file including the resource manager name, XA switch
    name, and libraries required for linking.
    2. Build servers using the resource manager with the "-r rmname" line.
    This will include the resource manager lines specified in
    $TUXDIR/udataobj/RM in the buildserver line, and the application will not
    need to manually provide the libraries to buildserver.
    3. If using transactions, have the Tuxedo administrator build a TMS process
    for the RM using the buildtms command, or do this yourself. If not using
    transactions, this step can be omitted.
    When a server is built with the "-r rmname" option, Tuxedo will
    automatically call TPOPEN to connect to the resource manager within
    TPSVRINIT.
    (The only exception to this is if the application programmer replaces the
    default verion of TPSVRINIT with their own version and does not include a
    call to TPOPEN, so it is good to verify that this is not the case.) Since
    Tuxedo opens the resource manager when the server is started, there is no
    need to include SQL CONNECT statements within the application logic in such
    a server.
    If your resource manager is not XA compliant then you will need to manage
    connection to the database yourself, but most databases are XA compliant
    nowadays.
    <Paul Debleecker> wrote in message news:[email protected]...
    Hi,
    I'm trying to use SQL through COBOL applications in a Tuxedo (8.0)
    environment.
    I've added the ODBC libpath to the buildserver command. The
    execution/compilation of the buildserver seems to be ok, but upon
    execution of the cobol program the SQL CONNECT fails with SQL-error err
    10000.
    I have no idea how to make SQL work ? Can anyone help ?
    I read about RM (resources manager), is this required to make it work ?
    thanks !
    Hugo
    Our platform is HP/UX and we use SQL/COBOL outside tuxedo without
    problems.
    This is the make file :
    # Fc 970618: incremental compilation for Cobol added
    TUXINC=$(TUXDIR)/include
    BTNINC=$(BTNDIR)/incl
    INCLUDES=-I $(TUXINC) -I $(BTNINC) -I /jates/progs/srcs
    ODBCLIBS="-L /usr/local/unixODBC/lib -lodbc"
    COBOPT="-t"
    COBCPY="/jates/tuxedo80/cobinclude:/jates/btn/btndevl/incl:/jates/cobol/cobol4000sp2/cpylib"
    #avoid unwanted C-compiler warnings
    NLSPATH=$NLSPATH:/opt/ansic/lib/nls/msg/C/%N.cat
    # btnrouter
    btnrouter: /jates/progs/tps/btnrouter.cbl /jates/progs/tps/btn400.cbl
    /jates/progs/tps/mod461.cbl /jates/progs/tps/mod470.cbl
    buildserver -C -v -o $@ \
    -f /jates/progs/tps/btnrouter.cbl \
    -f /jates/progs/tps/btn400.cbl \
    -f /jates/progs/tps/mod461.cbl \
    -f /jates/progs/tps/mod470.cbl \
    -f /jates/progs/tps/res400.cbl \
    -f ${ODBCLIBS} \
    -s SJETAIR
    -tmshutdown -s $@
    cp -p $@ ..
    -tmboot -s $@
    # general instructions
    .SUFFIXES: .cbl .c .o
    .c.o: $(BTNINC)/fml_flds.h
    cc -c $(INCLUDES) $<
    .cbl.o: $(BTNINC)/fml_flds.h
    cob -xc $<

  • Reference for sample Tuxedo/Q program in COBOL

    Hi..
    Am using Tuxedo 10g R3.. I need to write a program in cobol with Tuxedo/Q which involves DB2 queries with ATMI calls..
    For this first i need to know how to write a simple program with queues concept in cobol.. the sample program provided with tuxedo is written in C language..
    I just need sample program which does the string conversion or any other programs which uses the Queues.. It will be helpful for me to write my program..
    I have tried a sample program with the procedure given in this link..
    http://e-docs.bea.com/tuxedo/tux80/pdf/usingq.pdf
    my program didnt work so i guess am missing many things since this concept is new to me.. so i feel if there is some sample code it would be helpful..
    Is there any reference book for this?? can anyone send me the link so that i can these programs..
    Thanks..

    Hi,
    I tried the below code for queue concept.. Am able to write into the queue but coulnt retrive from the queue..
    Here is my Client code..
    IDENTIFICATION DIVISION.
    PROGRAM-ID. QUECL.
    AUTHOR. TUXEDO.
    ENVIRONMENT DIVISION.
    CONFIGURATION SECTION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    * Tuxedo definitions
    01 TPQUEDEF-REC.
    COPY TPQUEDEF.
    01 TPTYPE-REC.
    COPY TPTYPE.
    01 TPSTATUS-REC.
    COPY TPSTATUS.
    01 TPSVCDEF-REC.
    COPY TPSVCDEF.
    01 TPINFDEF-REC.
    COPY TPINFDEF.
    * Log messages definitions
    01 LOGMSG.
    05 FILLER PIC X(8) VALUE "QUECL:".
    05 LOGMSG-TEXT PIC X(50).
    01 LOGMSG-ERR.
    05 FILLER PIC X(14) VALUE
    "QUECL ERR=>".
    05 LOG-ERR-ROUTINE PIC X(10).
    05 FILLER PIC X(21) VALUE
    " FAILED: TP-STATUS = ".
    05 LOG-ERR-TP-STATUS PIC S9(9).
    01 LOGMSG-ERR-LEN PIC S9(9) COMP-5.
    01 LOGMSG-LEN PIC S9(9) COMP-5.
    01 USER-DATA-REC PIC X(75).
    01 SEND-STRING PIC X(100) VALUE SPACES.
    LINKAGE SECTION.
    * Start program with command line args
    PROCEDURE DIVISION.
    MOVE LOW-VALUES TO TPINFDEF-REC.
    MOVE LENGTH OF LOGMSG TO LOGMSG-LEN.
    START-CSIMPCL.
    MOVE "hello" TO SEND-STRING.
    DISPLAY "SEND-STRING:before: " SEND-STRING.
    MOVE "Started" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    PERFORM DO-TPINIT.
    PERFORM DO-TPENQUEUE.
    PERFORM DO-TPDEQUEUE.
    DISPLAY "SEND-STRING:after: " SEND-STRING.
    PERFORM DO-TPTERM.
    PERFORM EXIT-PROGRAM.
    * Now register the client with the system.
    DO-TPINIT.
    MOVE SPACES TO USRNAME.
    MOVE SPACES TO CLTNAME.
    MOVE SPACES TO PASSWD.
    MOVE SPACES TO GRPNAME.
    MOVE ZERO TO DATALEN.
    SET TPU-DIP TO TRUE.
    CALL "TPINITIALIZE" USING TPINFDEF-REC
    USER-DATA-REC
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPINITIALIZE Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    * Issue a TPENQUEUE
    DO-TPENQUEUE.
    MOVE LOW-VALUES TO TPQUEDEF-REC.
    MOVE "TMQUEUE" TO QSPACE-NAME IN TPQUEDEF-REC.
    MOVE "TOUPPER" TO QNAME IN TPQUEDEF-REC.
    MOVE "RPLYQ" TO REPLYQUEUE IN TPQUEDEF-REC.
    SET TPTRAN IN TPQUEDEF-REC TO TRUE.
    SET TPBLOCK IN TPQUEDEF-REC TO TRUE.
    SET TPTIME IN TPQUEDEF-REC TO TRUE.
    SET TPSIGRSTRT IN TPQUEDEF-REC TO TRUE.
    SET TPQREPLYQ IN TPQUEDEF-REC TO TRUE.
    SET TPQQOSDELIVERYNONPERSISTENT IN TPQUEDEF-REC TO TRUE.
    SET TPQMSGID IN TPQUEDEF-REC TO TRUE.
    MOVE LOW-VALUES TO TPTYPE-REC.
    MOVE "STRING" TO REC-TYPE IN TPTYPE-REC.
    MOVE LENGTH OF SEND-STRING TO LEN IN TPTYPE-REC.
    CALL "TPENQUEUE" USING
    TPQUEDEF-REC
    TPTYPE-REC
    SEND-STRING
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPENQUEUE failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM.
    DISPLAY "ENQUEUE OVER".
    * Issue a TPDEQUEUE
    DO-TPDEQUEUE.
    MOVE LOW-VALUES TO TPQUEDEF-REC.
    MOVE "TMQUEUE" TO QSPACE-NAME IN TPQUEDEF-REC.
    MOVE "RPLYQ" TO QNAME IN TPQUEDEF-REC.
    SET TPTRAN IN TPQUEDEF-REC TO TRUE.
    SET TPBLOCK IN TPQUEDEF-REC TO TRUE.
    SET TPTIME IN TPQUEDEF-REC TO TRUE.
    SET TPSIGRSTRT IN TPQUEDEF-REC TO TRUE.
    * SET TPQWAIT IN TPQUEDEF-REC TO TRUE.
    MOVE LOW-VALUES TO TPTYPE-REC.
    MOVE "STRING" TO REC-TYPE IN TPTYPE-REC.
    MOVE LENGTH OF SEND-STRING TO LEN IN TPTYPE-REC.
    CALL "TPDEQUEUE" USING
    TPQUEDEF-REC
    TPTYPE-REC
    SEND-STRING
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPDEQUEUE failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    MOVE "TPDEQUEUE" TO LOG-ERR-ROUTINE
    MOVE TP-STATUS TO LOG-ERR-TP-STATUS
    PERFORM DO-USERLOG-ERR
    PERFORM EXIT-PROGRAM.
    DISPLAY "DEQUEUE OVER".
    * Leave TUXEDO
    DO-TPTERM.
    CALL "TPTERM" USING TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPTERM Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    END-IF.
    * Log messages to the userlog
    DO-USERLOG.
    CALL "USERLOG" USING LOGMSG
    LOGMSG-LEN
    TPSTATUS-REC.
    DO-USERLOG-ERR.
    CALL "USERLOG" USING LOGMSG-ERR
    LOGMSG-ERR-LEN
    TPSTATUS-REC.
    *Leave Application
    EXIT-PROGRAM.
    MOVE "Ended" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    STOP RUN.
    and this is my TOUPPER service program..
    IDENTIFICATION DIVISION.
    PROGRAM-ID. TOUPPER.
    AUTHOR. TUXEDO.
    ENVIRONMENT DIVISION.
    CONFIGURATION SECTION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    * Tuxedo definitions
    01 TPQUEDEF-REC.
    COPY TPQUEDEF.
    01 TPSVCRET-REC.
    COPY TPSVCRET.
    01 TPTYPE-REC.
    COPY TPTYPE.
    01 TPSTATUS-REC.
    COPY TPSTATUS.
    01 TPSVCDEF-REC.
    COPY TPSVCDEF.
    * Log message definitions
    01 LOGMSG.
    05 FILLER PIC X(10) VALUE
    "QUESR :".
    05 LOGMSG-TEXT PIC X(50).
    01 LOGMSG-LEN PIC S9(9) COMP-5.
    * User defined data records
    01 SEND-STRING PIC X(100).
    LINKAGE SECTION.
    PROCEDURE DIVISION.
    START-STRING.
    MOVE LENGTH OF LOGMSG TO LOGMSG-LEN.
    MOVE "Started" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    * Get the data that was sent by the client
    MOVE LENGTH OF SEND-STRING TO LEN.
    CALL "TPSVCSTART" USING TPSVCDEF-REC
    TPTYPE-REC
    SEND-STRING
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    IF TPTRUNCATE
    MOVE "Data was truncated" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    INSPECT SEND-STRING CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    MOVE "Success" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPSUCCESS TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY SEND-STRING.
    * Write out a log err messages
    DO-USERLOG.
    CALL "USERLOG" USING LOGMSG
    LOGMSG-LEN
    TPSTATUS-REC.
    * EXIT PROGRAM
    EXIT-PROGRAM.
    MOVE "Failed" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPFAIL TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY SEND-STRING.
    In ULOG am getting like this,
    040915.ibmsceai!?proc.303126.1.-2: QUECL: Started
    040915.ibmsceai!?proc.303126.1.0: QUECL: TPDEQUEUE failed
    040915.ibmsceai!?proc.303126.1.0:
    040915.ibmsceai!?proc.303126.1.0: QUECL: Ended
    In the UBBCONFIG file, i have declared like this..
    *GROUPS
    TMQGRP LMID="cicsapp" GRPNO=4 TMSNAME=TMS_QM TMSCOUNT=2 OPENINFO="TUXEDO/QM:/home/e160195/cfg/QUE:TMQUEUE"
    *SERVERS
    TMQUEUE SRVGRP="TMQGRP" SRVID=4 RESTART=Y GRACE=0 MAXGEN=10 CONV=N CLOPT="-s TMQUEUE:TMQUEUE"
    TMQFORWARD SRVGRP="TMQGRP" SRVID=5 RESTART=Y GRACE=0 MAXGEN=10 CONV=N CLOPT="-- -i 2 -q TOUPPER -n"
    can u please have a look into this and tell me why dequeue is not working and where am going wrong??
    Thanks..

  • Running first Pro*COBOL application

    I am working at a software house maintaining an application written in MF Object COBOL V4.0 which has DB2 SQL statements. These SQL statements are processed by the DB2 pre-processor by our build scripts which is then compiled into DLL's, EXE's, etc.
    Our long-term plan (at the moment) is to re-engineer this system using Visual COBOL and use ODBC to interface with the (any) DB. It is a successful product that is still selling well and provides a good source of revenue for the company.
    A short term requirement has arisen for the system to use a Oracle DB rather than DB2. I'm not close to the decisions that have been made for this, so I'll just go with it.
    We've installed the Oracle bits and I have managed to get the pre-processor in place with the following command line.
    PROCOB MODE=ANSI INPUT-NAME.CBL OUTPUT-NAME.CBL
    This gives me a new output program that has replaced the SQL code with the Oracle calls. A good start.
    I'm now struggling to discover how to actually execute these new bits of code. Previously, our code was previously 'linked' with DB2API.LIB which I'm guessing is how the previous version of the system allowed the DB2 calls to work. I guess I need something equivalent now but I don't know what or where to find it.
    The previous LINK command in the script was:
    LINK -OUT:%1.DLL -SUBSYSTEM:WINDOWS,4.0 -NODEFAULTLIB -DLL -DEF:%1.DEF %1.OBJ CBLLDS.OBJ ..\RESOURCE\%1.RES MFRTS32.LIB MSVCRT.LIB KERNEL32.LIB DB2API.LIB>>%1.ERR
    Note the DB2API.LIB, which is now unnecessary obviously.
    The system is on Windows.
    I did encounter a couple of SQL differences too.
    The CONNECT syntax was different, so:
               EXEC SQL
                   CONNECT TO  :WS-SQL-DBNAME
                   IN          SHARE MODE
                   USER        :WS-SQL-USERID
                   USING       :WS-SQL-PASSWORD
               END-EXEC.
    Is replaced with:
               MOVE "db1RMSG"  TO WS-SQL-DBNAME
               MOVE "PASSWORD" TO WS-SQL-PASSWORD
               EXEC SQL
                   CONNECT :WS-SQL-DBNAME IDENTIFIED BY :WS-SQL-PASSWORD
               END-EXEC.
    Straightforward enough, BUT how to maintain? I would like the same program to be used for both versions of the system. If I use a compile-time switch then (I think) both SQL statements are examined by the pre-processors as they don't understand the compile-time code. Any ideas for this.
    Also, there doesn't appear to be a DISCONNECT statement in Oracle although I haven't investigated this yet.
    Within my 'DECLARE CURSOR' statements I use 'FOR FETCH ONLY'. Oracle doesn't like this, so I have removed them for now. Of course more investigation needed here. (FOR READ ONLY I believe is the replacement)
    Any help from you chaps is appreciated.
    Regards
    Razor

    You are asking a Cobol language question in a PL/SQL and SQL language forum. Very few active Cobol programmers here, if any. As far as I know, the few that are familiar with Cobol are like me - programmed once in it, a long time ago, in a galaxy mainframe far far away.
    Even embedded SQL is pretty much an old thing. Most languages have abstraction interfaces (o-o classes) dealing with database interaction.
    As for having a single embedded SQL code base in Cobol for both DB2 and Oracle pre-compiler support... ouch. I do not see an easy way with this, but via compiler macros and conditional compilation.

  • How to bulid a Tuxedo client in VS2010

    hello , I'm a noviciate for tuxedo. I just build the TOUPPER sample in simpapp , and I got the right output,like "Returned string is:ABCD". When I decide to bulid my own client in VS2010(), I add the LIB path of tuxedo in the linker->general->additional library  directories,and  add "libtux.lib, libwsc.lib, libbuft.lib, libfml.lib, libfml32.lib, libengine.lib, wtuxws32.lib, wsock32.lib" in linker->input->additional dependency,add the INCLUDE path in the C/C++ ->general ->additional include directories. Now i can build the main.c correctly,but it runs failure with tperrno = 12 and tpcall return code = -1. However when I compile the main.c using buildclient command , it works fine and the output is correct., so I think the reason maybe the configuration of my project in VS2010.  Is there any lib or other step that I do not add?Thank you.
    here is my source code ,main.c:
    #include <stdio.h>
    #include <memory.h>
    #include <stdlib.h>
    #include <atmi.h>
    #include <string.h>
    #include<winsock2.h>
    char* toupperFunction(char *inputStr)
      char *sendbuf, *rcvbuf;
      long sendlen, rcvlen;
      int ret;
      if((sendbuf = (char *) tpalloc("STRING", NULL, sendlen+1)) == NULL) {
      (void) fprintf(stderr,"Error allocating send buffer\n");
      tpterm();
      exit(1);
      if((rcvbuf = (char *) tpalloc("STRING", NULL, sendlen+1)) == NULL) {
      (void) fprintf(stderr,"Error allocating receive buffer\n");
      tpfree(sendbuf);
      tpterm();
      exit(1);
      (void) strcpy(sendbuf,inputStr);
      /* Request the service TOUPPER, waiting for a reply */
      ret = tpcall("TOUPPER", (char *)sendbuf, 0, (char **)&rcvbuf, &rcvlen, (long)0);
      printf("%d",tperrno);//12
      getchar();
      if(ret == -1) {
      tpfree(sendbuf);
      tpfree(rcvbuf);
      tpterm();
      exit(1);
      /* Free Buffers & Detach from System/T */
      tpfree(sendbuf);
      tpfree(rcvbuf);
      tpterm();
      return rcvbuf;
    int main()
      char* input = "abcd";
      char* output = "";
      output = toupperFunction(input);
      printf("%s",output);
      getchar();
      return 0;

    Hi
    Thank you for your advice. What I have added in VS2010 properties was based on the command line, just like the INCLUDE PATH, LIB PATH and the their name.I wonder what is missing leading to the unsuccessful running.Here is the command line:
    F:\src64\simpapp>buildclient -o main -f main.c -v
    cl /MD  -I"%TUXDIR%"\include -Femain  main.c   "%TUXDIR%"\lib\libtux.lib  "%TUXD
    IR%"\lib\libbuft.lib  "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TU
    XDIR%"\lib\libengine.lib  wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32
    .lib comdlg32.lib winspool.lib   -link -implib:BC-d88.lib
    Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.
    main.c
    f:\src64\simpapp\main.c(13) : warning C4700: uninitialized local variable 'sendl
    en' used
    Microsoft (R) Incremental Linker Version 10.00.30319.01
    Copyright (C) Microsoft Corporation.  All rights reserved.
    /out:main.exe
    -implib:BC-d88.lib
    main.obj
    F:\Oracle\tuxedo11\lib\libtux.lib
    F:\Oracle\tuxedo11\lib\libbuft.lib
    F:\Oracle\tuxedo11\lib\libfml.lib
    F:\Oracle\tuxedo11\lib\libfml32.lib
    F:\Oracle\tuxedo11\lib\libengine.lib
    wsock32.lib
    kernel32.lib
    advapi32.lib
    user32.lib
    gdi32.lib
    comdlg32.lib
    winspool.lib

  • I am building a client application under Tuxedo 12.1.3 AIX.  The code works under Tuxedo 8.  The compile completes and generates an executable, however the application fails to load indicating the auxiliary header is invalid.

    The output is XCOFF64, along with other built libraries stored in big format archive (not shared object).  Is there something wrong with the compile options or am I missing an option that Tuxedo needs to pass onto xlc for linking?
    Archive options are ar -v -r
    Build options: -r -q64 (includes, defines)
    All else standard buildclient option listings.
    Some more than likely to be asked for information:
    exec(): 0509-036 Cannot load program aftct.exe because of the following errors:
    0509-102   The size of the auxiliary header is invalid.
    0509-194 Examine file headers with the 'dump -ohv' command.
    ----- dump -ohv output
    ***Object Module Header***
    # Sections      Symbol Ptr # Symbols       Opt Hdr Len     Flags
    3 0x000987a2           4060 0     0x0000
    Flags=( DEP_SYSTEM )
    Timestamp = "Mar 25 18:57:22 2015"
    Magic = 0x1f7  (64-bit XCOFF)
    ***Section Header Information***
    Section Header for .text
    PHYaddr VTRaddr     SCTsiz RAWptr      RELptr
    0x100000138 0x100000138  0x00068ec4  0x00000138  0x00072598
    LN#ptr #RELent     #LINent     Flags
    0x00000000 0x00002423  0x00000000  0x00000020
    Section Header for .data
    PHYaddr VTRaddr     SCTsiz RAWptr      RELptr
    0x110000ffc 0x110000ffc  0x0000959c  0x00068ffc  0x00091f82
    LN#ptr #RELent     #LINent     Flags
    0x00000000 0x00000770  0x00000000  0x00000040
    Section Header for .bss
    PHYaddr VTRaddr     SCTsiz RAWptr      RELptr
    0x11000a598 0x11000a598  0x000266c0  0x00000000  0x00000000
    LN#ptr #RELent     #LINent     Flags
    0x00000000 0x00000000  0x00000000  0x00000080
    ---- some truss output
    getgidx(2) = 201
    getgidx(1) = 201
    __loadx(0x01480080, 0x2FF21660, 0x00000A50, 0x2FF221D0, 0x2FF22F37) = 0xD054C128
    access("/usr/lib/nls/msg/en_US/execerr.cat", 0) = 0
    _getpid() = 3080398
    kopen("/usr/lib/nls/msg/en_US/execerr.cat", O_RDONLY) = 3
    kioctl(3, 22528, 0x00000000, 0x00000000)        Err#25 ENOTTY
    kfcntl(3, F_SETFD, 0x00000001) = 0
    kioctl(3, 22528, 0x00000000, 0x00000000)        Err#25 ENOTTY
    kread(3, "\0\001 ù\001\001 I S O 8".., 4096)    = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    _getpid() = 3080398
    lseek(3, 0, 1) = 4096
    exec(): 0509-036 Cannot load program kwrite(2, " e x e c ( ) :   0 5 0 9".., 37)        = 37

    Hi,
    Can you post the commands you were using to build your client?  Normally that library should be included by default if using buildclient.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect
    PS  Glad you found a solution!

  • Tuxedo Service Compile Errors

    Hello,
    I am trying to compile old tuxedo 6.5 code on AIX 5.3, but am getting alot of symbol errors. Any idea on what I am missing?
    Thanks
    Casey
    tuxedo @ testdev01:/home/tuxedo/src/projects/nni/src/nniread > gmake
    Building NNIREAD Server...
    PATH /home/tuxedo/product/Tux6.5/SDK/bin:/home/tuxedo/product/Tux6.5/bin:/home/oracle/product/9.2.0.7/bin:/home/tuxedo/product/Tux6.5/SDK/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:.:/home/tuxedo/src/projects/tools/unix:/home/tuxedo/src/projects/tools/sqlscript:/home/tuxedo/src/projects/lib:/home/tuxedo/admin/bin:/usr/vac/bin:.:/usr/local/bin
    CC cc
    CFLAGS -g -D_AIX_SOURCE -Daix=1 -L. -L/home/tuxedo/src/projects/nni/lib -L/home/tuxedo/src/projects/lib -L/home/tuxedo/src/projects/hers/lib -L/home/oracle/product/9.2.0.7/precomp/lib32 -L/home/oracle/product/9.2.0.7/lib32 -L/home/tuxedo/product/Tux6.5/SDK/lib -L/usr/ldap/lib
    INCDIRS -I. -I/home/tuxedo/src/projects/nni/include -I/home/tuxedo/src/projects/hers/include -I/home/tuxedo/src/projects/a1asn1/include -I/home/oracle/product/9.2.0.7/precomp/public -I/home/oracle/product/9.2.0.7/precomp/public -I/home/tuxedo/product/Tux6.5/SDK/include -I/usr/ldap/include
    READ_OBJS nnirdtux.o version.o
    NNIREADLIBS -l "-lnni -l3masn -lsutil -lsrv -lserve -lddfun -ltime -ltzdst -lKCC-eh" -l " -lsrv -lsutil -lusr -lclntsh -lxti -lm "
    CFLAGS -g -D_AIX_SOURCE -Daix=1 -L. -L/home/tuxedo/src/projects/nni/lib -L/home/tuxedo/src/projects/lib -L/home/tuxedo/src/projects/hers/lib -L/home/oracle/product/9.2.0.7/precomp/lib32 -L/home/oracle/product/9.2.0.7/lib32 -L/home/tuxedo/product/Tux6.5/SDK/lib -L/usr/ldap/lib
    /home/tuxedo/product/Tux6.5/SDK/bin/buildserver \
    -s NNIREAD \
    -s NNIREADUPDATE \
    -o NNIREAD \
    -f "nnirdtux.o version.o " \
    -l "-lnni -l3masn -lsutil -lsrv -lserve -lddfun -ltime -ltzdst -lKCC-eh" -l " -lsrv -lsutil -lusr -lclntsh -lxti -lm "
    ld: 0711-224 WARNING: Duplicate symbol: .DayOfWeek
    ld: 0711-224 WARNING: Duplicate symbol: .DayOfYear
    ld: 0711-224 WARNING: Duplicate symbol: .trimspecial
    ld: 0711-224 WARNING: Duplicate symbol: .trimCR
    ld: 0711-224 WARNING: Duplicate symbol: .shiftstring
    ld: 0711-224 WARNING: Duplicate symbol: .rmemcpy
    ld: 0711-224 WARNING: Duplicate symbol: .strset
    ld: 0711-224 WARNING: Duplicate symbol: .trimall
    ld: 0711-224 WARNING: Duplicate symbol: .iMmiSpecialError
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: ._Znwm
    ld: 0711-317 ERROR: Undefined symbol: .__cxa_allocate_exception
    ld: 0711-317 ERROR: Undefined symbol: ZTVN10_cxxabiv117__class_type_infoE
    ld: 0711-317 ERROR: Undefined symbol: .__cxa_throw
    ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
    ld: 0711-317 ERROR: Undefined symbol: .__cxa_begin_catch
    ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catch
    ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
    ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
    ld: 0711-317 ERROR: Undefined symbol: .__cxa_call_unexpected
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSaIcEC1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsC1EPKcRKSaIcE
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSaIcED1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsC1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSs4sizeEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSs6substrEmm
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsaSERKSs
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsD1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSs5c_strEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsixEm
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs3endEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSt9basic_iosIcSt11char_traitsIcEE4fillEc
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs5beginEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c
    ld: 0711-317 ERROR: Undefined symbol: ._ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
    ld: 0711-317 ERROR: Undefined symbol: ._ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E
    ld: 0711-317 ERROR: Undefined symbol: ._ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSolsEl
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSolsEi
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSt18basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsC1ERKSs
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSs4copyEPcmm
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSsaSEPKc
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs6appendEPKc
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs7reserveEm
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs6appendERKSs
    ld: 0711-317 ERROR: Undefined symbol: ._ZNKSs7_M_iendEv
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_PKcS4_
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitC1Ev
    ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitD1Ev
    CMDTUX_CAT:1832: ERROR: can't execute cc -g -D_AIX_SOURCE -Daix=1 -L. -L/home/tuxedo/src/projects/nni/lib -L/home/tuxedo/src/projects/lib -L/home/tuxedo/src/projects/hers/lib -L/home/oracle/product/9.2.0.7/precomp/lib32 -L/home/oracle/product/9.2.0.7/lib32 -L/home/tuxedo/product/Tux6.5/SDK/lib -L/usr/ldap/lib -I$TUXDIR/include -o NNIREAD BS-c60ae.c -L${TUXDIR}/lib nnirdtux.o version.o -ltux -lbuft -ltux2 -lfml -lfml32 -lgp -lnni -l3masn -lsutil -lsrv -lserve -lddfun -ltime -ltzdst -lKCC-eh -lsrv -lsutil -lusr -lclntsh -lxti -lm
    gmake: *** [NNIREAD] Error 8
    tuxedo @ testdev01:/home/tuxedo/src/projects/nni/src/nniread >

    Hi Casey,
    That library might work, but I'd be very suspect of it as it is a GCC library. Maybe it will work, but I would look for a library from IBM. When XL C was installed on your system, it should have installed the necessary libraries I believe.
    Also, LD_LIBARY_PATH is not just for COBOL contrary to what our documentation implies, sigh. It is used by the standard linker. My guess is you just need to set LD_LIBRARY_PATH to the correct directory where the XL C libraries are located.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • [SOLVED]Pacman needs gcc-libs, that are already up to date

    ...but this is the output
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.7.0-3
    Pacman needs to update itself first, but needs gcc-libs...
    ...however...
    pacman -Ss gcc-libs
    core/gcc-libs 4.7.0-5 (base) [installed: 4.7.0-3]
    Runtime libraries shipped by GCC
    Granted, I could do this:
    pacman's --force
    but, how harmfull is that to my system?
    Thanks for a reply!
    Thor
    EDIT - searching the boards now...but I found some stale breadcrumbs...
    EDIT2 - upated pacman on its own...that seemd to work...
    pacman -S pacman
    the system is updating now...Solved
    EDIT3 - definetly solved, upgrading pacman on its own did the trick. The system is back after a reboot...thanks to everyone here
    Last edited by Thor@Flanders (2012-04-21 19:08:27)

    Hi everyone!
    @ Loafer
    Well, I did not refuse pacman to update...not updating one package could potentially bring down the depenging chain...so I let it update...
    @ Sara - I updated pacman on its own as detailed in the first post, then I did a sysup. the packages are in, and the update is running as we speak...
    I guess this could work for you too...good luck!
    Thor
    Last edited by Thor@Flanders (2012-04-21 19:02:21)

  • Urgent: Tuxedo and multiple Resource Managers

    Hello,
    I have a tuxedo service which updates Oracle tables and also updates
    queues of MQ-Series. Is it possible for this Tuxedo service to
    control the commit and rollback for both Oracle and MQ-Series??
    Will tpbegin, tpcommit and tpabort control the commit and rollback
    of both Oracle and MQ-Series?? If yes, do I have to build the tuxedo
    service in the following manner:
    buildserver -r Oracle_XA -r MQSeries_XA_RMI -f ...
    What else do I need to do to make sure the transaction covers both
    Oracle and MQ-Series in the tuxedo service???
    Thanks a lot in advance.. Please do let me know any information
    regarding this.. I would highly appreciate any help in this regards...
    Vipul

    Hello Vipul,
    Resource Managers are assigned at Tuxedo Server Group level using
    OPENINFO and all Tuxedo Servers belonging to a group can access
    only this Resource Manager.
    So we can have only one resource manager connection from a Tuxedo
    server.
    But there is an exception to this rule:
    You can have more than one RM connections provided u don't want
    the XA features (Global Transactions). U can connect to one RM
    using XA (tpopen) and rest of the RMs using native interface or
    non-XA interface (EXEC SQL CONNECT....). But here, u will be able
    to do Global Transaction only using XA connections. Non-XA connections
    do not participate in Global Transactions and hence cannot be rolled
    back incase of failure...
    Now, coming back to ur requirement:
    1. Create a Tuxedo Server Group for RM Oracle
    2. Create another Tuxedo Server Group for RM MQ-Series
    3. Build a Tuxedo server for RM Oracle operations and put into
    group using RM Oracle. (use -r Oracle for buildserver)
    4. Build another Tuxedo server for RM MQ-Series operations and
    put into group using RM MQ-Series. (use -r MQ-Series for buildserver)
    5. Now create a service that calls Services from these Tuxedo servers
    in a Global Transaction. (this can be built without -r RMNAME incase
    it does not interact with RM directly)
    HTH
    regards
    MS
    "Vipul" <[email protected]> wrote:
    >
    Hello,
    I have a tuxedo service which updates Oracle tables and
    also updates
    queues of MQ-Series. Is it possible for this Tuxedo service
    to
    control the commit and rollback for both Oracle and MQ-Series??
    Will tpbegin, tpcommit and tpabort control the commit
    and rollback
    of both Oracle and MQ-Series?? If yes, do I have to build
    the tuxedo
    service in the following manner:
    buildserver -r Oracle_XA -r MQSeries_XA_RMI -f ...
    What else do I need to do to make sure the transaction
    covers both
    Oracle and MQ-Series in the tuxedo service???
    Thanks a lot in advance.. Please do let me know any information
    regarding this.. I would highly appreciate any help in
    this regards...
    Vipul

  • "lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found"!!

    I'm trying to setup Sun Java System Web Server7.0 on the fedora11. And then I have a problem with "configuration failed".
    I get the error massage:
    **Apr 25, 2011 7:33:38 PM com.sun.web.admin.configurator.ConfigureServer main**
    **WARNING: /sun/webserver7/lib/libadminjni.so: /sun/webserver7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib/libcrypt.so.1)**
    **java.lang.UnsatisfiedLinkError: /sun/webserver7/lib/libadminjni.so: /sun/webserver7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib/libcrypt.so.1)**
    I've already searched a lot on the internet, but still cannot found an appropriate method. Most people said it's because the version of libfreebl3.so in my installer package is too old.
    I want to know the details about how to handle this.
    Thank you very much!!

    I think this is a Fedora specific problem. I don't see this problem in Ubuntu.
    Fedora has linked libcrypt.so with NSS libraries.
    $ ldd /lib64/libcrypt.so.1
    linux-vdso.so.1 => (0x00007fff555ff000)
    libc.so.6 => /lib64/libc.so.6 (0x00000030dfe00000)
    libfreebl3.so => /lib64/libfreebl3.so (0x00000030f0a00000)
    /lib64/ld-linux-x86-64.so.2 (0x00000030dfa00000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00000030e0200000)
    Hence any application which links to libcrypt.so has to use Fedora's
    libfreebl3.so. (libcrypt.so wants a libfreebl3.so which is from
    NSSRAWHASH_3.12.3 library, not a generic libfreebl3.so)
    Web Server links with libcrypt.so and indirectly links libfreebl3.so from OS.
    This conflicts which libraries what Web Server 7.0.x ships. (libcrypt.so
    doesn't like libfreebl3.so shipped with Web Server 7.0.x)
    I could not think of any good solution for that so far.
    One workaround would be to get a libcrypt.so compiled and copy in
    <webserver_install_location>/lib but that is something not trivial.
    IMHO, any application which links with libcrypt.so and has it's own version of
    libfreebl3.so won't work on Fedora.

  • Cannot update rolling patch in Tuxedo 10.3

    I would like to update rolling patch to latest patch
    I completed in windows box but in linux box is error during i call "./install"
    [tuxedo@HRIS-DEV RP097]$ $TUXDIR/bin/tmadmin -v
    INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level (none)
    [tuxedo@HRIS-DEV RP097]$ uname -a
    Linux HRIS-DEV 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    [tuxedo@HRIS-DEV RP097]$ export TUXDIR=/appl/mdlware/tuxedo10gR3
    [tuxedo@HRIS-DEV RP097]$ . $TUXDIR/tux.env
    [tuxedo@HRIS-DEV RP097]$ ll
    total 136
    drwxrwxrwx 2 tuxedo psoft 4096 Nov 1 15:11 bin
    -rwxrwxrwx 1 tuxedo psoft 39110 Jul 19 09:44 install
    drwxrwxrwx 2 tuxedo psoft 4096 Nov 1 15:11 lib
    drwxrwxrwx 6 tuxedo psoft 4096 Nov 1 15:11 locale
    -rwxrwxrwx 1 tuxedo psoft 13040 Jul 25 13:06 patchlev
    -rwxrwxrwx 1 tuxedo psoft 19382 Jul 25 13:06 README.html
    -rwxrwxrwx 1 tuxedo psoft 1360 Jul 19 09:44 README.txt
    -rwxrwxrwx 1 tuxedo psoft 5410 Jul 25 13:06 releasenotes.txt
    drwxrwxrwx 3 tuxedo psoft 4096 Nov 1 15:11 samples
    drwxrwxrwx 4 tuxedo psoft 4096 Nov 1 15:11 udataobj
    -rwxrwxrwx 1 tuxedo psoft 24728 Jul 19 09:44 uninstall
    [tuxedo@HRIS-DEV RP097]$ pwd
    /tmp/RP097
    [tuxedo@HRIS-DEV RP097]$ ./install
    -bash: ./install: /bin/ksh: bad interpreter: No such file or directory
    [tuxedo@HRIS-DEV RP097]$
    why "./install" is not working ??
    what env. to be need ?
    I try to download RP102 and apply, but showing same error.
    somebody please help me.
    regards,
    Panumas N.

    resolved
    try to " . ./install"

  • Db4.1 needs gcc-libs which is not in the package set

    sudo pacman -Syu
    :: Synchronizing package databases...
    current is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: openal: forcing upgrade to version 0.0.8-4
    resolving dependencies...
    error: cannot resolve dependencies for "db4.1" ("gcc-libs" is not in the package set)
    error: failed to prepare transaction (could not satisfy dependencies)
    :: db4.1 requires gcc-libs
    What to do?
    I cannot simply remove it.
    Last edited by corrupt (2007-09-21 18:26:49)

    after sudo sed -i -e 's|current|core|g' /etc/pacman.conf
    sudo pacman -Syu
    :: Synchronizing package databases...
    error: failed to synchronize core:
    extra 325.7K 415.6K/s 00:00:01 [#####################] 100%
    community 300.4K 435.7K/s 00:00:01 [#####################] 100%
    :: Starting full system upgrade...
    warning: openal: forcing upgrade to version 0.0.8-4
    resolving dependencies...
    error: cannot resolve dependencies for "aspell" ("gcc-libs" is not in the package set)
    error: failed to prepare transaction (could not satisfy dependencies)
    :: aspell requires gcc-libs
    Last edited by corrupt (2007-09-22 13:47:06)

  • [Resolved] Finding Libs in Repositories

    Hello All,
    I am trying hard, but starting to get frustrated about ArchLinux... Maybe someone can help me before I give up and try SuSE 10.3:
    I am having two issues, i.e. two threads:
    Thread 1)
    I installed ArchLinux a while back but rarely used it. So it is time to update the system but I am getting below error - of course, I have done "pacman -Sy" first.
    (Sorry, forgot to change locale. Rough and brief translation: "Error: Cannot resolve "fltk" dependecies ("gcc-libs" not in packet list). fltk requires gcc-libs.")
    [root@archlinux ~]# pacman -Su
    :: Starte komplette Systemaktualisierung...
    Warnung: sudo: Erzwungene Aktualisierung auf Version 1.6.9p5-1
    Loese Abhaengigkeiten auf...
    Fehler: Kann Abhaengigkeiten fuer "fltk" nicht aufloesen ("gcc-libs" ist nicht in Paketliste enthalten)
    Fehler: Konnte Vorgang nicht vorbereiten (Kann Abhaengigkeiten nicht erfuellen)
    :: fltk Benoetigt gcc-libs
    Searching for gcc-libs via "pacman -Ss gcc-libs" does not return a proper result.
    Similar, I tried to install Firefox as downloaded from Mozilla. I unpacked Firefox into ~/bin/firefox. When trying to start the browser I am getting an error for a missing lib. Again searching for the lib did not return any result. Where/how would I get the lib for ArchLinux? So this question relates to my first issue.
    [guest@archlinux firefox]$ ./firefox
    ./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    To rephrase my question: How can I find missing libs in ArchLinux (in particular the ones listed above)? I tried pacman -Ss but no joy.
    Thanks in advance for any response!
    Jochen
    Last edited by schimpfj (2007-10-23 07:06:16)

    There is something wrong with your repos:
    $ pacman -Ss gcc-libs
    core/gcc-libs 4.2.2-1 (base)
    Runtime libraries shipped by GCC for C and C++ languages
    Did you read the frontpage news about the change from current to core? You might need to change some file in /etc/pacman.d/ .

  • Oracle10g 32bit lib files not found during Install

    Hi All,
    During my installation of Oracle 10g on HP-UX11.11, I have found that Installer could not found required 32bit lib files in ORAHOME/lib32
    folder.But I have completed all the prerequisit tasks as per the Oracle manual.
    1)ORAHOME/lib32/libocci.sl.10.1 not found
    2)ORAHOME/lib32/libhsdb.sl not found
    3)ORAHOME/lib32/libttsh10.sl
    4)ORAHOME/lib32/libxml10.a not found
    also other ".mk" files in sysman/lib32 not found.
    can anybody advice me what may be the possible errors for this.
    Regards,
    Abhinav

    Hi Gustavo,
    I have downloaded the Oracle 10g software from Oracle website. .cpio files are copied on my hard disc. I have extracted .cpio files i.e Disk1 & Disk2.
    I have installed all the patches+java 1.4 patches+ June03GOLDQPACK+XMotifDev
    I have not installed HP C,C++-ANSI compiler.
    This is the scenario. still having errors for 32 bit libs. OUI says 32bit libs not found
    in /ORAHOME/lib32 folder.
    Regards,
    Abhinav

Maybe you are looking for