title: "Skipping incompatible" on Blue Gene machine
body: <p>I'm trying to build Google Protocolbuffers and Kyotocabinet on a Blue Gene supercomputer, which is a PowerPC64 based machine, running Suse Linux, gcc 4.1.2.</p>
  
  <p>When I compile my code, both Google Protocolbuffers and Kyotocabinet gave "skipping incompatible" error.
  Compile command line:</p>
  
  <p><code>g++ -g -Xlinker -zmuldefs -I/some_path/include $sourceFile -o $fileName -L/some_path/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc -lprotobuf -lprotoc meta.pb.cc</code></p>
  
  <p>Then I changed installation of them, by using <code>./configure --host=powerpc-bgp-linux</code>, Google Protocolbuffers works this time, but Kyotocabinet still give that error as below:</p>
  
  <p><code>/usr/bin/ld: skipping incompatible /some_path/lib/libkyotocabinet.so when searching for -lkyotocabinet<br>
  /usr/bin/ld: skipping incompatible /some_path/lib/libkyotocabinet.a when searching for -lkyotocabinet<br>
  /usr/bin/ld: cannot find -lkyotocabinet<br>
  collect2: ld returned 1 exit status</code></p>
  
  <p>I checked <code>config.status</code> of them, Google Protocolbuffers has some thing like this</p>
  
  <p><code>sys_lib_search_path_spec='/usr/lib/gcc/powerpc64-suse-linux/4.1.2 /usr/powerpc64-suse-linux/lib /usr/lib /lib'</code></p>
  
  <p>Apparently it know how to find proper stuff to use. But Kyotocabinet doesn't have this kind of settings in config.status. Hope this tip will help.</p>
  
  <p>Is there any solution so I can use Kyotocabinet on BlueGene? Or can I add some lines like mentioned above to tell Kyotocabinet where to find correct lib? Or could you recommend some fast key-value stores?</p>