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

/tmp/TorExtracted/privoxy-linux64-3.0.28/usr/sbin/privoxy: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory #42

Closed
roikra opened this issue Oct 4, 2019 · 4 comments
Labels

Comments

@roikra
Copy link

roikra commented Oct 4, 2019

Getting the following error when running the code:
/tmp/TorExtracted/privoxy-linux64-3.0.28/usr/sbin/privoxy: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

@joelverhagen
Copy link
Owner

Could you tell me what distribution you are on? I think the easiest workaround is to find what package in your distro's package manager brings libpcre.so.3 and install that.

@roikra
Copy link
Author

roikra commented Oct 8, 2019

I am using Centos7 (on which I was not able to fix the libpcre.so.3 issue).
On the official images for the .NET Core runtime (Debian 9) the code works with no errors.

@joelverhagen
Copy link
Owner

I can repro the problem on a CentOS 7 VM. Root cause is that the Privoxy binary that TorSharp downloads is compiled for a Debian environment (where libpcre is currently versioned at libpcre.so.3). I think the best option here is enhance TorSharp to fall back to a system-provided Privoxy (one available in the environment via something like yum install privoxy). This work is not done yet so I'll leave this issue open to track that.

joelverhagen added a commit that referenced this issue Nov 11, 2019
@joelverhagen
Copy link
Owner

I have enabled usage of an installed version of Privoxy. I tried this out on CentOS 7 and it works fine. This is able with version 2.1.0 of TorSharp. I put more detailed instructions in the README: CentOS 7.

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

2 participants