fatal error: libplatform/libplatform.h: No such file or directory

22 views
Skip to first unread message

Hasan Marzooq

unread,
Jan 24, 2022, 6:22:28 AM1/24/22
to v8-dev
Hello!

I'm trying to build plv8 2.0.0. When I do "make install", its give me below error:

[rplv8-2.0.0]# sudo make install LDFLAGS=-L/usr/local/llvm-lib/lib/x86_64-unknown-linux-gnu PG_CONFIG=/usr/pgsql-9.6/bin/pg_config

g++ -Wall -O2 -std=c++11 -fno-rtti  -I. -I./ -I/usr/pgsql-9.6/include/server -I/usr/pgsql-9.6/include/internal -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include -fPIC -c-o plv8.o plv8.cc
plv8.cc:9:10: fatal error: libplatform/libplatform.h: No such file or directory
 #include "libplatform/libplatform.h"

I tried to search "libplatform.h" and its there:
--
 # find / -name "libplatform.h"
/root/plv8-2.0.0/build/v8-git-mirror-5.4.500.43/include/libplatform/libplatform.h
--
Please advise what I'm missing? I'm not v8 or plv8 expert. Instead we're using Postgres 9.6 with plv8 extension in our web application.  

Thanks!
Hasan

Reply all
Reply to author
Forward
0 new messages