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

can not find libpcre on archlinux #94

Closed
xieyuheng opened this issue Sep 17, 2019 · 6 comments
Closed

can not find libpcre on archlinux #94

xieyuheng opened this issue Sep 17, 2019 · 6 comments

Comments

@xieyuheng
Copy link

/usr/local/bin/comby: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

archlinux:

1 core/pcre 8.43-1 [installed]
    A library that implements Perl 5-style regular expressions
2 core/pcre2 10.33-1 [installed]
    A library that implements Perl 5-style regular expressions.
    2nd version
@xieyuheng
Copy link
Author

pacman -Ql pcre | grep so
pcre /usr/lib/libpcre.so
pcre /usr/lib/libpcre.so.1
pcre /usr/lib/libpcre.so.1.2.11
pcre /usr/lib/libpcre16.so
pcre /usr/lib/libpcre16.so.0
pcre /usr/lib/libpcre16.so.0.2.11
pcre /usr/lib/libpcre32.so
pcre /usr/lib/libpcre32.so.0
pcre /usr/lib/libpcre32.so.0.0.11
pcre /usr/lib/libpcrecpp.so
pcre /usr/lib/libpcrecpp.so.0
pcre /usr/lib/libpcrecpp.so.0.0.1
pcre /usr/lib/libpcreposix.so
pcre /usr/lib/libpcreposix.so.0
pcre /usr/lib/libpcreposix.so.0.0.6

@rvantonder
Copy link
Member

Unfortunately the binaries are precompiled for Ubuntu Linux and are dynamically linked. In time I will either statically link to PCRE, or provide an Arch distro.

For now, try the following for Arch: ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3

@xieyuheng
Copy link
Author

Thank you so much.

@xieyuheng
Copy link
Author

I am watching your stangeloop talk, it is super good talk.

(Will read "Lightweight Multi-Language Syntax Transformation with Parser Parser Combinators" soon.)

@rvantonder
Copy link
Member

Tracking in #96

@albassort
Copy link

Unfortunately the binaries are precompiled for Ubuntu Linux and are dynamically linked. In time I will either statically link to PCRE, or provide an Arch distro.

For now, try the following for Arch: ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3

I want to PR this but I don't know where to pr...

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