michaelernst / googlemock

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

got segmentation error in Linux, When gtest library is linked from /usr/lib/lgtest #159

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT NOTE: PLEASE send issues and requests to
http://groups.google.com/group/googlemock *instead of here*.
This issue tracker is NOT regularly monitored.

If you really need to create a new issue, please provide the information
asked for below.

What steps will reproduce the problem?
1. download gmock,gtest src code and write test cases for execution
2. From Make file, Remove gtest library created from the downloaded source. 
Instead, use lgtest available in /usr/lib
3. if lgtest lib is not available, install gtest 
   for example in fedora: yum install gtest

What is the expected output? What do you see instead?
Test case executable should be created successfully by linking this gtest 
shared object library from /usr/lib instead of gtest library created from 
downloaded source.

Which version of Google Mock are you using? On what operating system?
1.6.0

Please provide any additional information below.

Original issue reported on code.google.com by rajarake...@gmail.com on 3 Feb 2013 at 7:39

GoogleCodeExporter commented 9 years ago
This is not a supported use case.  See 
https://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_insta
ll_a_pre-compiled_copy_of_Goog

Original comment by w...@google.com on 8 Mar 2013 at 5:35