google / szl

A compiler and runtime for the Sawzall language
Other
69 stars 16 forks source link

can't "make" #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have get a new problem after run "./configure" successfully.

$ sudo make

make  all-recursive
make[1]: Entering directory `/home/xyz/code/szl'
Making all in .
make[2]: Entering directory `/home/xyz/code/szl'
make[2]: Leaving directory `/home/xyz/code/szl'
Making all in src
make[2]: Entering directory `/home/xyz/code/szl/src'
make[3]: Entering directory `/home/xyz/code/szl'
make[3]: Leaving directory `/home/xyz/code/szl'
oldpwd=`pwd` && ( cd . && /usr/local/bin/protoc -I. --cpp_out=$oldpwd 
emitvalues/sawzall.proto )
/usr/local/bin/protoc: error while loading shared libraries: libprotobuf.so.6: 
cannot open shared object file: No such file or directory
make[2]: *** [emitvalues/sawzall.pb.cc] Error 127
make[2]: Leaving directory `/home/xyz/code/szl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xyz/code/szl'
make: *** [all] Error 2

$ whereis libprotobuf.so.6
libprotobuf.so: /usr/lib/libprotobuf.so.5 /usr/lib/libprotobuf.so 
/usr/local/lib/libprotobuf.so.6 /usr/local/lib/libprotobuf.so

Original issue reported on code.google.com by xuyi...@gmail.com on 6 Nov 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Are you getting caught by this protobuf issue?

http://code.google.com/p/protobuf/issues/detail?id=213

running ldconfig after building protobuf worked for me.

Original comment by timwin...@gmail.com on 8 Nov 2010 at 9:52

GoogleCodeExporter commented 9 years ago
thanks,it works

Original comment by xuyi...@gmail.com on 10 Nov 2010 at 6:46

GoogleCodeExporter commented 9 years ago

Original comment by dbh@google.com on 11 Nov 2010 at 2:56