lamuguo / re2

Automatically exported from code.google.com/p/re2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

make testinstall fails on osx 10.9 mavericks #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1) run install steps as per wiki
2) in last step, make testinstall, it fails.

What is the expected output? What do you see instead?

Expected: to work :)
Actual result:

$ sudo make testinstall
cp testinstall.cc obj
(cd obj && c++ -I/usr/local/include -L/usr/local/lib testinstall.cc -lre2 
-pthread -o testinstall)
Undefined symbols for architecture x86_64:
  "re2::FilteredRE2::FirstMatch(re2::StringPiece const&, std::__1::vector<int, std::__1::allocator<int> > const&) const", referenced from:
      _main in testinstall-025vi1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [testinstall] Error 1

What version of the product are you using? On what operating system?
Last from source. OS is mavericks (10.9.2)

Thanks!

Original issue reported on code.google.com by jose.can...@gmail.com on 7 Mar 2014 at 3:32

GoogleCodeExporter commented 9 years ago
Same issue with me, I've attached the console output. Again Mavericks 10.9.2 
and the re2-20140304.tgz download.

(venv)simons-mbp:re2 simonsmith$ make testinstall
cp testinstall.cc obj
(cd obj && c++ -I/usr/local/include -L/usr/local/lib testinstall.cc -lre2 
-pthread -o testinstall)
Undefined symbols for architecture x86_64:
  "re2::FilteredRE2::FirstMatch(re2::StringPiece const&, std::__1::vector<int, std::__1::allocator<int> > const&) const", referenced from:
      _main in testinstall-oLJb7B.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [testinstall] Error 1
(venv)simons-mbp:re2 simonsmith$ make testinstall
cp testinstall.cc obj
(cd obj && c++ -I/usr/local/include -L/usr/local/lib testinstall.cc -lre2 
-pthread -o testinstall)
Undefined symbols for architecture x86_64:
  "re2::FilteredRE2::FirstMatch(re2::StringPiece const&, std::__1::vector<int, std::__1::allocator<int> > const&) const", referenced from:
      _main in testinstall-Rm2W8K.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [testinstall] Error 1

Thanks!

Original comment by smith.si...@gmail.com on 7 Mar 2014 at 12:18

GoogleCodeExporter commented 9 years ago
Same for Mavericks 10.9.4

Original comment by mig8...@gmail.com on 25 Aug 2014 at 6:45

GoogleCodeExporter commented 9 years ago
RE2 has moved to GitHub. I have not moved the issues over. If this issue is 
still important to you, please file a new one at 
https://github.com/google/re2/issues. Thank you.

Original comment by rsc@golang.org on 11 Dec 2014 at 4:45