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

libcurl-impersonate-ff.so.4: cannot open shared object file: No such file or directory #46

Closed
iqbalhusen opened this issue Apr 13, 2022 · 4 comments

Comments

@iqbalhusen
Copy link

After building and installing the package, when i try to run the command, it raises error

/usr/local/bin/curl-impersonate-ff: error while loading shared libraries: libcurl-impersonate-ff.so.4: cannot open shared object file: No such file or directory

@lwthiker
Copy link
Owner

You are right, it seems like Ubuntu is not looking for libraries in /usr/local/lib where the library is installed by default. For some reason in the automatic tests it does work. I'll look into the correct way of fixing this, in the meantime please try adding /usr/local/lib to your library path (see here for example https://unix.stackexchange.com/questions/67781/use-shared-libraries-in-usr-local-lib), or run with LD_LIBRARY_PATH=/usr/local/lib curl_ff98 ...

@lwthiker
Copy link
Owner

Another option is to compile statically with ./configure --enable-static

@lamoquette
Copy link

Thanks for your reactivity ! I got the same error few minutes ago

@lwthiker
Copy link
Owner

lwthiker commented Apr 17, 2022

Please try and run sudo ldconfig after doing make install, it should refresh the linker's cache which should then be able to find libcurl-impersonate in /usr/local/lib. The INSTALL.md file was updated accordingly. If the issue persists please re-open.

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

3 participants