<FromGitter>
<descholar-ceo> > When I try to run a crystal project, I am getting this error: `error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory` can someone help me about this? ⏎ ⏎ Can someone helps me about this issue? I am totally blocked with this and I don't seem to find any help for the internet
jmdaemon has quit [Ping timeout: 246 seconds]
<yxhuvud>
descholar: You need libpcre installed, and findable in your paths.
fifr has quit [Ping timeout: 246 seconds]
fifr has joined #crystal-lang
Sankalp- has joined #crystal-lang
Sankalp has quit [Ping timeout: 246 seconds]
Sankalp- is now known as Sankalp
<FromGitter>
<oprypin:matrix.org> @descholar-ceo: as i was saying, it would be useful to see what happens if you run `crystal build` not just `crystal run`. anyway im guessing your installation of Crystal was compiled against a different version of libpcre and doesnt see that one. try running `ldd $(which crystal)`
notzmv has quit [Ping timeout: 264 seconds]
jmdaemon has joined #crystal-lang
_ht has quit [Remote host closed the connection]
notzmv has joined #crystal-lang
<FromGitter>
<descholar-ceo> if I try to install the libpcre I get the following mesage: ⏎ ⏎ libpcre3 is already the newest version (2:8.39-13ubuntu0.22.04.1). ⏎ libpcre3-dev is already the newest version (2:8.39-13ubuntu0.22.04.1) [https://gitter.im/crystal-lang/crystal?at=6330b9199d3c1862991ba052]
<FromGitter>
<descholar-ceo> > @descholar-ceo: as i was saying, it would be useful to see what happens if you run `crystal build` not just `crystal run`. anyway im guessing your installation of Crystal was compiled against a different version of libpcre and doesnt see that one. try running `ldd $(which crystal)` ⏎ ⏎ @oprypin:matrix.org when I run `crystal build` it is compiling the crystal program but when I try to run that
<FromGitter>
... compiled code, it shows again this error message `error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory`
<FromGitter>
<descholar-ceo> > @descholar-ceo: as i was saying, it would be useful to see what happens if you run `crystal build` not just `crystal run`. anyway im guessing your installation of Crystal was compiled against a different version of libpcre and doesnt see that one. try running `ldd $(which crystal)` ⏎ ⏎ @oprypin:matrix.org When I ran `ldd $(which crystal)` I got this: `not a dynamic executable` ⏎ ⏎ About the