vegetablemao / googlemock

Automatically exported from code.google.com/p/googlemock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GoogleCodeExporter opened this issue · comments

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

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

  • Changed state: WontFix