aaronblanchard / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

make install installs internal gtest #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd my-own-download-of-gtest; make install
2. ls -l /usr/local/lib/*gtest*

bent-macbookpro:~/g4/opensource/bactrian/build bent$ ls -l 
/usr/local/lib/*gtest*
-rwxr-xr-x  1 root  sys   270580 Mar 23 10:57 
/usr/local/lib/libgtest.0.0.0.dylib
lrwxr-xr-x  1 root  sys       20 Mar 23 10:57 /usr/local/lib/libgtest.0.dylib 
-> libgtest.0.0.0.dylib
-rw-r--r--  1 root  sys  1343612 Mar 23 10:57 /usr/local/lib/libgtest.a
lrwxr-xr-x  1 root  sys       20 Mar 23 10:57 /usr/local/lib/libgtest.dylib -> 
libgtest.0.0.0.dylib
-rwxr-xr-x  1 root  sys      827 Mar 23 10:57 /usr/local/lib/libgtest.la
-rwxr-xr-x  1 root  sys    15756 Mar 23 10:57 
/usr/local/lib/libgtest_main.0.0.0.dylib
lrwxr-xr-x  1 root  sys       25 Mar 23 10:57 
/usr/local/lib/libgtest_main.0.dylib -> 
libgtest_main.0.0.0.dylib
-rw-r--r--  1 root  sys    22000 Mar 23 10:57 /usr/local/lib/libgtest_main.a
lrwxr-xr-x  1 root  sys       25 Mar 23 10:57 
/usr/local/lib/libgtest_main.dylib -> 
libgtest_main.0.0.0.dylib
-rwxr-xr-x  1 root  sys      889 Mar 23 10:57 /usr/local/lib/libgtest_main.la

3. cd my-download-of-libkml; make install

bent-macbookpro:~/g4/opensource/bactrian/build bent$ !ls
ls -l /usr/local/lib/*gtest*
lrwxr-xr-x  1 root  sys      16 Mar 23 10:58 
/usr/local/lib/libgtest.0.0.0.dylib -> libgtest.0.dylib
-rwxr-xr-x  1 root  sys  189776 Mar 23 10:58 /usr/local/lib/libgtest.0.dylib
-rw-r--r--  1 root  sys  881924 Mar 23 10:58 /usr/local/lib/libgtest.a
lrwxr-xr-x  1 root  sys      16 Mar 23 10:58 /usr/local/lib/libgtest.dylib -> 
libgtest.0.dylib
-rwxr-xr-x  1 root  sys     811 Mar 23 10:58 /usr/local/lib/libgtest.la
-rwxr-xr-x  1 root  sys   15756 Mar 23 10:57 
/usr/local/lib/libgtest_main.0.0.0.dylib
lrwxr-xr-x  1 root  sys      25 Mar 23 10:57 
/usr/local/lib/libgtest_main.0.dylib -> 
libgtest_main.0.0.0.dylib
-rw-r--r--  1 root  sys   22000 Mar 23 10:57 /usr/local/lib/libgtest_main.a
lrwxr-xr-x  1 root  sys      25 Mar 23 10:57 /usr/local/lib/libgtest_main.dylib 
-> 
libgtest_main.0.0.0.dylib
-rwxr-xr-x  1 root  sys     889 Mar 23 10:57 /usr/local/lib/libgtest_main.la

4. run something that depends on my-own-download-of-gtest:

dyld: Symbol not found: __ZN7testing8internal18g_linked_ptr_mutexE
  Referenced from: /Users/bent/googlecode/gmock/./painter_test
  Expected in: /usr/local/lib/libgtest.0.dylib

make: *** [test] Trace/BPT trap

5. reinstall from my-own-download-of-gtest

all runs fine

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

Please use labels and text to provide additional information.

libkml should not be installing gtest

Original issue reported on code.google.com by kml.b...@gmail.com on 23 Mar 2009 at 10:00

GoogleCodeExporter commented 9 years ago
fixed in r576

Original comment by kml.mash...@gmail.com on 27 May 2009 at 10:34