Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to install squidGuard-1.4. I successfully install but I can't load it using this command squidGuard -d it turn out like this result:

squidGuard: error while loading shared libraries: libdb-6.0.so: cannot open shared object file: No such file or directory

What are the solution for this kind of error?

Can somebody help me?

share|improve this question

2 Answers 2

Heloo, may be, you can test, this command.

root@proxy-serv:~ # apt-file search libdb-6.0.so
libdb6.0: /usr/lib/x86_64-linux-gnu/libdb-6.0.so

root@proxy-serv:~ # ls -al /usr/lib/x86_64-linux-gnu/libdb-6.0.so
ls: cannot access /usr/lib/x86_64-linux-gnu/libdb-6.0.so: No such file or directory

root@proxy-serv:~ # cd /usr/lib/x86_64-linux-gnu/
root@proxy-serv:/usr/lib/x86_64-linux-gnu# ln -s /usr/local/BerkeleyDB.6.0/lib/libdb-6.0.so ./

Done.

share|improve this answer
export LD_LIBRARY_PATH=/path/to/libdb-6.0.so/parent_dir

and try again

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.