Menu

Compiling and using lzop in Windows

Help
2006-12-01
2012-07-26
  • Nobody/Anonymous

    I'm using lzop in Windows from the provided binaries on both sourceforge and from http://www.lzop.org/ site. There seems to be a bug of sorts in that when lzop is used in windows all the file names are converted to lower case letters only. This does not seem to use in *nix system, just the Windows.

    Also I tried to compile the program in the hopes that I could fix the bug but I seem to be having trouble getting the configure command to finish. When I used the following "configure CPPFLAGS=-Ic:/lzo-1.08/include LDFLAGS=-Lc:/lzo-1.08" in mingw32 the configure stops and outputs
    "...checking lzoconf.h usability... yes
    checking lzoconf.h presence... yes
    checking for lzoconf.h... yes
    checking lzo1x.h usability... yes
    checking lzo1x.h presence... yes
    checking for lzo1x.h... yes
    checking for __lzo_init2 in -llzo... no
    configure: error: LZO library not found. Please check your installation or set the environment variable `LDFLAGS'.
    "

    I'm not sure how to fix this, I have the libraries provided from sourceforge but it seems to be having trouble with one part of the library.

    Any assistance or insight would be nice.

     
    • Nobody/Anonymous

      got it to work, but the problem in windows I was talking about is from a call to 'fn_strlwr' in the lzop.c file when it opens input and output files. I'm not sure why it's there but the program worked when I removed it.

       
MongoDB Logo MongoDB