Hi!

I have been stuck in a problem about hyperic-sigar when making the 
hypertable source code. If you can give any advice, I will appreciate it.

Scanning dependencies of target dfsclient
[ 89%] Building CXX object 
src/cc/Tools/dfsclient/CMakeFiles/dfsclient.dir/dfsclient.cc.o
Linking CXX executable dfsclient
/usr/local/lib/libsigar-x86-linux.so: undefined reference to `dlopen'
/usr/local/lib/libsigar-x86-linux.so: undefined reference to `dlclose'
/usr/local/lib/libsigar-x86-linux.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
make[2]: *** [src/cc/Tools/dfsclient/dfsclient] Error 1
make[1]: *** [src/cc/Tools/dfsclient/CMakeFiles/dfsclient.dir/all] Error 2
make: *** [all] Error 2

Thank you in advance!

On Tuesday, November 19, 2013 5:33:47 PM UTC+8, [email protected] wrote:
>
> i fixed the error, it happens just because using the wrong libraay(.so 
> file). 
> you must be careful to use it. first you should know your os is 32bits or 
> 64bits.
>
> 32bits, using  libsigar-x86-linux.so
> 64bits, using  libsigar-amd64-linux.so 
>
> more info see at http://blog.sina.com.cn/s/blog_6151984a0100ni1n.html
>
> 在 2013年11月19日星期二UTC+8下午2时52分36秒,[email protected]写道:
>>
>> the error as follows:
>> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
>> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
>> CMakeFiles/cmTryCompileExec.dir/build
>> gmake[1]: Entering directory 
>> `/home/Jack/HytSource/hypertable-master_src_0.9.7.8_modify_offset-limit/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
>> /usr/bin/cmake -E cmake_progress_report 
>> /home/Jack/HytSource/hypertable-master_src_0.9.7.8_modify_offset-limit/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles
>>  
>> 1
>> Building CXX object CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o
>> /usr/bin/c++    -I/usr/local/include   -o 
>> CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o -c 
>> /home/Jack/HytSource/hypertable-master_src_0.9.7.8_modify_offset-limit/cmake/SystemVersion.cc
>> Linking CXX executable cmTryCompileExec
>> /usr/bin/cmake -E cmake_link_script 
>> CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
>> /usr/bin/c++        -fPIC 
>> CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o  -o cmTryCompileExec 
>> -rdynamic -ldl /usr/local/lib/libsigar-amd64-linux.so -ldl 
>> /usr/local/lib/libsigar-amd64-linux.so: could not read symbols: File in 
>> wrong format
>> collect2: ld 返回 1
>> gmake[1]: Leaving directory 
>> `/home/Jack/HytSource/hypertable-master_src_0.9.7.8_modify_offset-limit/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
>> gmake[1]: *** [cmTryCompileExec] 错误 1
>> gmake: *** [cmTryCompileExec/fast] 错误 2
>>
>> CMake Error at cmake/FindSIGAR.cmake:71 (message):
>>   Unable to determine OS vendor/version
>> Call Stack (most recent call first):
>>   CMakeLists.txt:116 (find_package)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> CPack Error: CPack project name not specified
>>
>> I just do as mentioned in 
>> https://code.google.com/p/hypertable/wiki/HowToBuild#CentOS_6.0_64-bit, 
>> just copy to dst.
>> why? how can i do to solve it? thank you for any advice. very appreciate.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to