Compiling command line utilities for Linux with static libc

Hi,
The following command used to compile and link BerkeleyDB with both static libdb and static libc:
make clean
env LDFLAGS=-static ../dist/configure --disable-shared
make
Now the command only statically links libdb and not libc.
[root@fedora8 ~]# ldd /usr/local/BerkeleyDB.5.3/bin/db_dump
linux-gate.so.1 => (0x00110000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00c15000)
libc.so.6 => /lib/libc.so.6 (0x00a88000)
/lib/ld-linux.so.2 (0x00a69000)
[root@fedora8 ~]#
It appears that the link of the command line utilities has now been moved into "make install".
Can anyone suggest how to also force a static link of libc?

The command line utils are in /opt/novell/ncl/bin. There are man pages for
them to describe how they work. If you run "ncl_man" it will list all the
NCL man pages.
>>> On 9/1/2006 at 8:42 AM, in message
<[email protected]> , Joseph
Marton<[email protected]> wrote:
> Are there any command-line utilities for the 1.2 client? I'm thinking
> what if my X gets hosed and I want to access my server. It'd be nice to
> be able to still login and map drives. Granted there's always
> samba/CIFS,
> but if I have a working Novell Client installation and my X just fails
> for
> some reason it'd be nice to still utilize the Novell Client.
>
> Joe

Similar Messages

  • Using Command Line Tool for Linux

    I have to use the command lines of Linux for SCM commands(like repcmd, set workarea, checkin etc...)
    should I have to install something?
    I have documentation for using the oracle repository command line Toll for Windows and Unix, but I didn't found anything about using the oracle repository command line Toll for Linux.

    JDeveloper runs excellent on Linux and is supposed to be able to use the repository, but that's a GUI...

  • Any API's or command line utilities for accessing Beehive Groups

    Hi, I have an internally developed application that has it's own list of users. I am wondering if I can leverage Beehive groups by programmatically accessing groups in order to enumerate their members. Does any one know of anyway API's or command line utilities to access this information ?

    We got API and command line utilities in ST Beehive and Beehive Online but its access is restricted to Product Development IT group.
    Thanks,
    Jereen

  • Using the Oracle Repository Command Line Tool under Linux

    I have to use the command lines of Linux for SCM commands(like repcmd,
    set workarea, checkin etc...)
    should I have to install something?
    I have documentation for using the oracle repository command line Toll
    for Windows and Unix, but I didn't found anything about using the oracle
    repository command line Tool for Linux.

    JDeveloper runs excellent on Linux and is supposed to be able to use the repository, but that's a GUI...

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • Declaring UTIs for command line utilities?

    I'm working on some command line tools for manipulating Intel Hex files and I'd like to include a Quick Look generator. It appears there aren't any built-in UTIs for this file type, so I need to declare them, which apparently is handled by an application bundle. But command line utilities don't have an application bundle. So where do I put the plist to declare the new UTIs?

    The part of the plist for specifying the UTIs that the generator can handle doesn't seem to allow for defining a new UTI, so I'm assuming it has to be done someplace else.
    Here's the documentation I'm looking at: http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/Q uicklookProgramming_Guide/Introduction/Introduction.html#//appleref/doc/uid/TP40005020-CH1-SW1
    From Listing 3-1
    <array>
    <string>SUPPORTEDUTITYPE</string> // change this!
    </array>
    it looks like the generator plist can only specify existing UTI strings. I don't see where to specify all the other bits, like file name extension. Am I missing something?

  • Setting Command Line Arguments for my Class

    HI,
    How do I set the command line arguments for my debug class. For example , I would like my user to type :
    java Debug -LEVEL1
    What should I do to implement this behaviour.
    Thanks in advance...

         public static void main (String[] args){
              if(args.length > 0){
                   int j = 0;
                   BMsearch search = new BMsearch();
                   try{
                        while (j < args.length){
                             if(args[j].equalsIgnoreCase(ONE_PATERN)){
                                  search.addPaternForSearch(args[j+1]);
                                  j = j+2;
                             else if (args[j].equalsIgnoreCase(PATERNLIST)){
                                  j++;
                                  while( ! (args[j].startsWith("-")) ){
                                       search.addPaternForSearch(args[j]);
                                       j++;
                                  }//end while
                             else if (args[j].equalsIgnoreCase(PATERNFILE)){
                                  j++;
                                  search.readPaternFile(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(MATCH_H)){
                                  search.heuristic = MATCH_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(MATCH_H2)){
                                  search.heuristic = MATCH_HEURISTIC_TWO;
                                  j++;
                             else if(args[j].equalsIgnoreCase(OCC_H)){
                                  search.heuristic = OCC_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(COMB_H)){
                                  search.heuristic = COMBINED_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(JAVA_S)){
                                  search.heuristic = JAVA_NATIVE;
                                  j++;
                             else if(args[j].equalsIgnoreCase(TEXTFILE)){
                                  j++;
                                  search.readFileIn(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(TEXTURL)){
                                  j++;
                                  search.readURLFileIn(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(STOPatFIRST)){
                                  search.searchall = false;
                                  j++;
                             else if(args[j].equalsIgnoreCase(STOPatLAST)){
                                  search.searchall = true;
                                  j++;
                             else if(args[j].equalsIgnoreCase(VERBOSE)){
                                  search.verbose = true;
                                  j++;
                             else if(args[j].equalsIgnoreCase("-h") || args[j].equalsIgnoreCase("-help")){
                                  printHelp();
                                  Start = false;
                                  break;
                             else{
                                  System.out.println(" Error while parsing Parameter. ");
                                  System.out.println(" type java BMsearch -help for all Options");
                                  Start = false;
                                  break;
                        }// end outer while
                   catch(Exception e){
                        System.out.println(" Error while parsing Parameter. ");
                        System.out.println(" type java BMsearch -help for all Options");
                        Start = false;
                        j = args.length;
                   if(Start){
                        if(search.verbose)System.out.println(" Parameter parsed, beginning with search ...");
                             search.starttimeTotal = System.currentTimeMillis();
                        search.search();
                        search.stoptimeTotal = System.currentTimeMillis();
                        System.out.println(" Whole search took:  " + (search.stoptimeTotal - search.starttimeTotal) + " milliseconds.(Brutto) ");
              else{
                   System.out.println(" Error while parsing Parameter. ");
                   System.out.println(" type java BMsearch -help for all Options");
         }//end MAINThis is takem from one of my command line classe (a Boyer Moore Pattern-Matching application from an exercise). I don't know if this is the best way, but thats what I have done there for passing some arguments, where the order of them isn't pre-given (you can pass the params in the order you want).
    The CAPITAL vars are pre-defined final Strings holding the param-names, e.g.
    public static final String ONE_PATERN = "-p";
    public static final String PATERNLIST = "-plist";
    public static final String PATERNFILE = "-pfile";Another trick sometimes used in Linux/Unix, if you have only false/true combinations, are numbers from pow 2 (2,4,8,16). In C they are used because of the binary representation, but it has some benefits. E.g. a value of 2 (0010) and another true set on 4 (0100) results binary in 6 (0110), so you can mix parameters in only one value, and with a byte - array you could check, if the flag for a given param is set. But this way is a little tricky for the end-user.

  • Command line tools for xcode??

    I am used to compiling code much like the java sdk works from terminal where I say javac the filename and then i get a .class file that i can run by doing the command java and then the .class file after. I am now wanting to learn c++ and I dont feel like installing xcode all i want is a compiler that can run from terminal. i found command line tools for xcode on the apple developers site and i was wondering do i need xcode for this to run and after that what the commands are and how i compile/run the code. But my biggest question is still wether or not i need xcode to let command line tools work. ive read in a couple places i dont need it but in other ive read you do can i get help?!

    You don't need Xcode to compile your apps with; just the compiler/linker.
    Xcode is Apple's IDE.  One could write the same code in TextEdit but that wouldn't be easy nor fun.
    (Missed it by THAT much!) 

  • S1 Portal Server Command Line Utilities

    Hi,
    I want to check the health and state of identities(Desktop/Aggregation, Search Engine, Netlet & Rewriter) of Poral Server.
    "I am thinking this can be done by creating a dummy channel for a dummy display profile and associating it with a dummy application. The Search Engine can be monitored by sending a search request with a dummy query."
    Can I do user creation, display profile(Channel) creation, Sending a search request through command line utilities(writing a script which does that) , but I am finding difficulty in identifying the proper command line utilities which does...Can you please help me.
    Advance thanks,
    Dinesh Sharma

    There is also another way to do this:
    You can write a java client using identity server client API.
    A cron job can invoke your client every hour and your
    client will obtain Identity token and invoke several portal
    URLs(Search,desktop) using URLConnection from java.net.*
    If http responce is not "OK" your client will notify you
    about a problem. However, it is hard to monitor
    Rewriter or Netlet functionality....
    Cheers,
    Alex :-)

  • BBIPS - Command Line Utilities

    BBIPS - Command Line Utilities - Just released !
    I wrote these after working on the main bbips program recently, and decided that individual functions could also be seperate programs, sometimes making it easier to chain them together to do multiple operations to image files.  This is the first release, and this contains 20 seperate programs to manipulate your images files.
    To install these simply open a shell and run this command:
    wget "http://bbips.org/downloads/bbipsinstall.sh"; sh bbipsinstall.sh; rm -f bbipsinstall.sh
    This will do the following.
    1. Create a directory if not already present "~/.bbips"
    2. Download into that directory "bbips-clu.tar.gz"  (http://bbips.org/downloads/bbips-clu.tar.gz)
    3. Extracts everything from bbips-clu.tar.gz to "~/.bbips"
    4. Removes the file bbips-clu.tar.gz (cleanup)
    5. Downloads the file bbipsbashrc (overwrites it if it exists) (http://bbips.org/downloads/bbipsbashrc)
    6. Checks to see if your .bashrc file has already been modified yet
    7. If .bashrc hasn't been modified, sources in the bbipsbashrc file.
    8. Exits
    Now.... if you follow the directions, you will close this shell and open a new shell (effectively reloading your bashrc file for you).  Now, from the command line, run the command "bbhelp"
    ####  WARNING  WARNING  WARNING  WARNING
    #     These alias run bbips functions from the command line one at a time.
    #     They also change the image your working on, and do NOT make copies !
    #              THESE ALIAS'S RUN COMMANDS THAT CHANGE IMAGES DIRECTLEY !!!
    #        THIS SET OF BBIPS FUNCTIONS DOES NOT MAKE BACKUP COPIES OF YOUR IMAGES !!!
    #      IT IS SUGGESTED THAT YOU ONLY RUN THESE COMMANDS ON COPIES OF YOUR IMAGES AND NOT THE ORIGINALS !!
    ####  WARNING  WARNING  WARNING  WARNING
    What does this stuff do ?  -- bbhelp
    These commands run from the command line and edit/modify all the jpegs in a directory.
    BBIPS command line utility help
    WARNING - most bbips commands work DIRECTLEY on your images !!!
    It is recommended that you work on jpg COPIES ONLY to prevent loss of originals.
    bbcopy | Create a directory and COPY all images into it.
    bbresize | RESIZEs all images width x height
    bbrotate | ROTATEs all images clockwise x number of degrees
    bbflip | FLIPs images top to bottom vertically.
    bbflop | FLOPs images side to side horizontally.
    bbatxt | ADDS TEXT to images.
    bbborder | Creates a border on all images color x size
    bbgrayscale | Converts images to Black and White
    bbsepia | Converts all images to SEPIA toned x percentage
    bbpaint | Simulates an oil painting on all images
    bbnormalize | Normalizes all images
    bbcolorize | Colorizes all images. Format rgb.
    bbgamma | Gamma correct for all images
    bbsolarize | Solorizes all images.
    bbhelp | This lists the bbips command alias's
    bbindex | Creates a index.jpg of all .jpg (not .JPG) files.
    bbgzip | Creates a GZIPped file containing all the images.
    bbapcom | APpend COMments to the images.
    bbrecom | Displays (REads) COMments on all images.
    bbwrcom | WRites COMments to all images, overwriting any existing comments.
    If you find these useful..... let me know   Feedback is always appreciated.
    Crouse
    http://usalug.org/phpBB2/viewtopic.php?p=84980

    The commandline utility client scripts that we provide out of the box will support either NT or unix. Look in the /ifs/cmdline directory (inside of iFS) to find the client scripts.
    By the way, all the scripts do is run a java application (the CUP client) and pass it parameters. You don't really need them to use the CUP server (you could manually run the CUP client).

  • Is there a command line option for VNC to automatically launch in fullscreen mode?

    I can launch a VNC window from the command line, as such:
    open vnc://username:password@hostname
    ... but I'd like it to automatically start in full screen mode. Is there a command line option for this?
    I'm using an old MacMini purely to connect to another Mac over screen sharing, but when the MacMini boots I'd like it to go straight into the fullscreen of the other desktop.
    Many thanks!

    Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    * http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes

  • Command line parameters for automator?

    I'm trying to setup a cron job to so that every morning at 8 am "New Mail.workflow" will open and run. I'm able to get it to open but I was wondering if there were command line parameters for Automator that could open AND run a workflow file? Ideally I'd like it to close after running, but I'll worry about that later. Thanks in advance.

    The preferred way is to save your workflow as an application and then call usr/bin/open on it. If for some reason you must have the workflow run inside of Automator (not self-contained) then you're looking at some quality time with man osascript. As it happens Apple has removed even the need for Cron for most users. A click to File -> Save As Plug-In -> for iCal handles it from start to finish.
    Edit: I forgot to mention that Automator has its own simple command line utility for running *.workflow files. Check out man automator

  • Command line parameters for al_engine.exe

    If you go to a command line window on a DS server and type al_engine.exe with no parameters it prints "Usage" information.  Some of the parameters it mentions are known to the community (like -XX, -XI, etc).  However there are some which sound pretty interesting, but I can't find any information or examples how it should be used.  Examples:
    -L<list of value> : List of Object Labels from UI (separated by , or ; or space) to filter.
    -Je<XML file> Execute the Installation scenario defined in XML file.
    -jd"datastore delta file in quotes>" : Modify datastore values using "file"
    -Jf, -Ja, -We,  and many more.
    I am particularily interested in -Je functiohnality - it sounds like it can be used to automate deployment.  I am using import/export options to do some automation, but real automation would include deletion of some objects, adding jobs to projects, etc.
    Can anybody help with the documentation/examples?

    The preferred way is to save your workflow as an application and then call usr/bin/open on it. If for some reason you must have the workflow run inside of Automator (not self-contained) then you're looking at some quality time with man osascript. As it happens Apple has removed even the need for Cron for most users. A click to File -> Save As Plug-In -> for iCal handles it from start to finish.
    Edit: I forgot to mention that Automator has its own simple command line utility for running *.workflow files. Check out man automator

  • Command Line Parameters for Run Application.vi in the LVWUtil

    I am trying to use the "Run Application.vi" located in the LVWUtil.llb.  I am sending a command line similiar to this:
    "C:\WINXP\system32\msiexec.exe" /i "C:\qc data\ZVMS Program Updates\Application Installer\install.msi"
    this command line works from the Start>Run dialog but the Run Application.vi only sees the beginning of the line "C:\WINXP\system32\msiexec.exe" so it opens the windows installler but does not go to the install.msi file and run it.  Does anyone know the correct command line formats for the Run Application.vi to run the entire command line?
    Thanks,
    BethV

    Hello BethV,
    I downloaded the LVWUtil32.zip file from the Windows API Function Utilities (32-bit) for LabVIEW example program.  In that zip file, is a library entitled Winevent.lib, which includes the Run Application.vi.  When you used this VI, I believe the string you passed in as a input had too many quotation marks.  Namely, you do not need quotes around the msiexec.exe call.  I passed the following string into the Run Application.vi and got the expected results:
    C:\WINDOWS\system32\msiexec.exe /i "C:\mymsi.msi"
    Please let me know if it helps.
    Message Edited by Wendy L on 10-21-2005 02:34 PM
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews
    Attachments:
    RunApplication.GIF ‏2 KB

  • IBM Heap Dump  command line utilities

    Hello,
    I am looking for command line parameter for IBM Heap dump location in configtool. I know we can set using environment variable  IBM_HEAPDUMPDIR but I would like to get some command utilities to set it in configtool.
    Thanks in Advance !

    Hi,
    The JVM checks each of the following locations for existence and write-permission, then stores the Heapdump in the first one that is available.
    The location that is specified using the file suboption on the triggered -Xdump:heap agent.
    The location that is specified by the IBM_HEAPDUMPDIR environment variable, if set (_CEE_DMPTARG on z/OS(R)).
    The current working directory of the JVM processes.
    The location that is specified by the TMPDIR environment variable, if set.
    The /tmp directory. On Windows(R), C:\temp.
    Details : http://publib.boulder.ibm.com/infocenter/javasdk/v1r4m2/index.jsp?topic=/com.ibm.java.doc.diagnostics.142j9/html/contents.html
    Regards,
    Sandeep

Maybe you are looking for