Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04: LD_PRELOAD needed when using genwqe_gzip/gunzip #148

Open
fhaverkamp opened this issue May 30, 2017 · 2 comments
Open

Ubuntu 16.04: LD_PRELOAD needed when using genwqe_gzip/gunzip #148

fhaverkamp opened this issue May 30, 2017 · 2 comments
Assignees
Labels

Comments

@fhaverkamp
Copy link
Collaborator

fhaverkamp commented May 30, 2017

haver@p95a17:~$ apt-cache search genwqe
genwqe-libz-dev - Development tools and libraries for IBM GenWQE PCI gzip and IBM CAPI.
genwqe-libz - Libraries to use IBM GenWQE card and CAPI gzip
genwqe-tools - utilities for accelerated libz implementation
haver@p95a17:~$ genwqe_gzip
genwqe_gzip: error while loading shared libraries: libzADC.so.4: cannot open shared object file: No such file or directory
haver@p95a17:~$ LD_PRELOAD=/usr/lib/powerpc64le-linux-gnu/genwqe/libzADC.so genwqe_gzip -h
Usage: genwqe_gzip [OPTION]... [FILE]...
Compress or uncompress FILEs (by default, compress FILES in-place).

Mandatory arguments to long options are mandatory for short options too.

  -c, --stdout      write on standard output, keep original files unchanged
  -d, --decompress  decompress
  -f, --force       force overwrite of output file and compress links
  -h, --help        give this help
  -l, --list        list compressed file contents
  -L, --license     display software license
  -N, --name        save or restore the original name and time stamp
  -q, --quiet       suppress all warnings
  -S, --suffix=SUF  use suffix SUF on compressed files
  -v, --verbose     verbose mode
  -V, --version     display version number
  -1, --fast        compress faster
  -9, --best        compress better

Special options for testing and debugging:
  -A, --accelerator-type=GENWQE|CAPI CAPI is only available for System p
  -B, --card=<card_no> -1 is for automatic card selection
  -X, --cpu <cpu>   force to run on CPU <cpu>
  -s, --software    force to use software compression/decompression
  -i, --i_bufsize   input buffer size (128 KiB)
  -o, --o_bufsize   output buffer size (128 KiB)
  -N, --name=NAME   write NAME into gzip header
  -C, --commente=CM write CM into gzip header
  -E, --extra=EXTRA write EXTRA (file) into gzip header

With no FILE, or when FILE is -, read standard input.

NOTE: Not all options are supported in this limited version!
Suggestions or patches are welcome!

Report bugs via https://github.com/ibm-genwqe/genwqe-user.

Called with:
  ARGV[0]: "genwqe_gzip"
  ARGV[1]: "-h"

We might need to move libzADC.so.1 into /usr/lib to get this right and follow the proposal in the other bug, where this was already proposed.

haver@p95a17:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial
@fhaverkamp
Copy link
Collaborator Author

@guilhermepiccoli May you have a look please?

@maurorodrigues
Copy link

Hi @fhaverkamp I'll start to look on this. For some reason though I can't change the assignee to myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants