ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
notzmv has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
ur5us has joined #crystal-lang
<FromGitter> <mattrberry> If I want to track all the elements on the heap in my program, would overriding GC.malloc do print callers do the trick?
ur5us has quit [Ping timeout: 244 seconds]
fifr has quit [Ping timeout: 265 seconds]
fifr has joined #crystal-lang
_ht has joined #crystal-lang
<yxhuvud> What do you want to do with the information? Did you see the https://forum.crystal-lang.org/t/memory-profiling/4888 thead? There is also https://github.com/Groogy/trashman but I don't know if it still works, it hasn't seen activity for a while
<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
<FromGitter> ... compilation of crystal and libpcre, what do you advise me in order to have the working version? ... [https://gitter.im/crystal-lang/crystal?at=6330ba1305ad4a37010b749a]
ur5us has joined #crystal-lang
ua_ has quit [Ping timeout: 265 seconds]
ua_ has joined #crystal-lang