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

Unable to use Femtozip on fresh Ubuntu install #11

Open
redknight99 opened this issue Feb 7, 2016 · 1 comment
Open

Unable to use Femtozip on fresh Ubuntu install #11

redknight99 opened this issue Feb 7, 2016 · 1 comment

Comments

@redknight99
Copy link

Hello,

After installing the required dependencies on a fresh Ubuntu install I'm getting this error when attempting to use the fzip command line tool:

fzip: error while loading shared libraries: libfzip.so.0: cannot open shared object file: No such file or directory

@gtoubassi
Copy link
Owner

Sorry you are having trouble! If you successfully installed femtozip you should have something like /usr/local/lib/libfzip.so.0 or some such (I'm not in front of a linux box so I can't confirm). My guess is LD_LIBRARY_PATH doesn't have /usr/local/lib in it. So check with "echo $LD_LIBRARY_PATH", and try "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib".

If that doesn't work my guess is still for some reason the loader is not finding the shared library. The way I usually debug these types of problems is to run the tool in question with strace and grep through the output to see what files its trying to open to get a sense for where its searching. You then just move the .so into the right directory (or it will tell you what the search path si and you can figure out why your LD_LIBRAR_PATH is borked). Something like:

strace fzip |& grep libfzip

Note the |& because you need to grep stderr which is where strace spews.

Good luck!

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

No branches or pull requests

2 participants