p-quic / pquic

The PQUIC implementation, a framework that enables QUIC clients and servers to dynamically exchange protocol plugins that extend the protocol on a per-connection basis
https://pquic.org
MIT License
126 stars 20 forks source link

/usr/bin/ld: cannot find -lprofiler: No such file or directory #44

Open Nikoo1373 opened 9 months ago

Nikoo1373 commented 9 months ago

I'm using Ubuntu 22.04 Linux. I followed the steps of https://pquic.org/ for compile pquic when I run "make" command, I got this error :

user@quic-proj:~/pico/pquic$ make [ 45%] Built target picoquic-core [ 51%] Built target picohttp-core [ 52%] Linking C executable picoquicdemo /usr/bin/ld: cannot find -lprofiler: No such file or directory collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/picoquicdemo.dir/build.make:124: picoquicdemo] Error 1 make[1]: [CMakeFiles/Makefile2:147: CMakeFiles/picoquicdemo.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

ps: i installed google-perftools

Karthikdasari0423 commented 9 months ago

sudo apt install libgoogle-perftools-dev