This sounds to me like you might have two different versions of libedit installed and the compiler is picking up header files from one and the linker is picking up the libraries from another. Try removing the serverup binary and object files and then run make as follows:
make VERBOSE=1 It should print the exact command used to compile and link. - Doug On Sun, Dec 8, 2013 at 5:51 PM, Xy Zheng <[email protected]> wrote: > [cloudil@dlxa101 bin]$ ./ht ldd serverup > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/bin/ldd.sh: > line 37: [: ==: unary operator expected > linux-vdso.so.1 => (0x00007fff5b9ff000) > libthrift-0.8.0.so => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/ > libthrift-0.8.0.so (0x00007f193ff7e000) > libthriftnb-0.8.0.so => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/ > libthriftnb-0.8.0.so (0x00007f193fd61000) > libevent-1.4.so.2 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libevent-1.4.so.2 > (0x00007f193fb46000) > libsigar-amd64-linux.so => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libsigar-amd64-linux.so > (0x00007f193fa0f000) > libdl.so.2 => /lib64/libdl.so.2 (0x0000003e88a00000) > libboost_iostreams.so.1.44.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libboost_iostreams.so.1.44.0 > (0x00007f193f7ea000) > libboost_program_options.so.1.44.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libboost_program_options.so.1.44.0 > (0x00007f193f590000) > libboost_filesystem.so.1.44.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libboost_filesystem.so.1.44.0 > (0x00007f193f36c000) > libboost_thread.so.1.44.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libboost_thread.so.1.44.0 > (0x00007f193f155000) > libboost_system.so.1.44.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libboost_system.so.1.44.0 > (0x00007f193ef52000) > libz.so.1 => /lib64/libz.so.1 (0x0000003e8a600000) > libsnappy.so.1 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libsnappy.so.1 > (0x00007f193ed4b000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e89200000) > libre2.so.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libre2.so.0 > (0x00007f193eb01000) > libedit.so.0 => /usr/lib64/libedit.so.0 (0x00007f193e8d2000) > libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003e8b600000) > libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003e8de00000) > libtcmalloc_minimal.so.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libtcmalloc_minimal.so.0 > (0x00007f193e68a000) > libunwind.so.8 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libunwind.so.8 > (0x00007f193e471000) > libstdc++.so.6 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libstdc++.so.6 > (0x0000003154a00000) > libm.so.6 => /lib64/libm.so.6 (0x0000003e89600000) > libgcc_s.so.1 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libgcc_s.so.1 > (0x0000003152a00000) > libc.so.6 => /lib64/libc.so.6 (0x0000003e88e00000) > libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003e89e00000) > libssl.so.10 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libssl.so.10 > (0x0000003156e00000) > libcrypto.so.10 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libcrypto.so.10 > (0x0000003153200000) > librt.so.1 => /lib64/librt.so.1 (0x0000003e89a00000) > libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f193e255000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003e8b200000) > /lib64/ld-linux-x86-64.so.2 (0x0000003e88600000) > libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003e8d600000) > libgssapi_krb5.so.2 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libgssapi_krb5.so.2 > (0x00007f193e025000) > libkrb5.so.3 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libkrb5.so.3 > (0x00007f193dd90000) > libcom_err.so.2 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libcom_err.so.2 > (0x00007f193db8e000) > libk5crypto.so.3 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libk5crypto.so.3 > (0x00007f193d968000) > libkrb5support.so.0 => > /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/lib/libkrb5support.so.0 > (0x00007f193d760000) > libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003e90200000) > libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003e8a200000) > > 在 2013年12月4日星期三UTC+8上午7时32分42秒,Doug Judd写道: >> >> Run the following command and post the output: >> >> ./ht ldd serverup >> >> - Doug >> >> >> On Mon, Dec 2, 2013 at 5:54 PM, Xy Zheng <[email protected]> wrote: >> >>> Dear Doug: >>> >>> I was used the capfile which is download from http://hypertable.com/ >>> download/0978, >>> I was just modified it the line "set"s. >>> >>> LD_LIBRARY_PATH I was set on "admin" machine and .try running serverup >>> by hand >>> >>> >>> [cloudil@dlxa101 bin]$ vim ~/.bash_profile >>> [cloudil@dlxa101 bin]$ ./ht serverup >>> /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/bin/serverup: >>> symbol lookup error: /home/cloudil/zxy_hytcluster_ >>> test/hypertable_cluster/current/bin/serverup: undefined symbol: >>> history_w >>> >>> the error still arised. this error bothers me long times. I need to >>> solve quickly. more help needed from you. thanks. >>> >>> 在 2013年12月3日星期二UTC+8上午2时11分34秒,Doug Judd写道: >>>> >>>> Are you using the latest Capfile? Try running serverup by hand (note >>>> that you need to launch it with the ht wrapper script to setup >>>> LD_LIBRARY_PATH): >>>> >>>> /opt/hypertable/current/bin/ht serverup >>>> >>>> - Doug >>>> >>>> >>>> On Wed, Nov 27, 2013 at 11:28 PM, Xy Zheng <[email protected]>wrote: >>>> >>>>> i built libedit as follows: >>>>> >>>>> ./configure --enable-widec >>>>> make >>>>> make install >>>>> >>>>> install path at /usr/local/lib >>>>> nm -a libedit.so >>>>> >>>>> 000000000001e780 T history_w >>>>> 000000000001e740 T history_wend >>>>> 000000000001e520 T history_winit >>>>> >>>>> >>>>> but in hypertable install path current/bin >>>>> nm -a serverup >>>>> >>>>> U history_w >>>>> U history_wend >>>>> U history_winit >>>>> >>>>> in path current/lib >>>>> nm -a libedit.so >>>>> >>>>> 000000000001e780 T history_w >>>>> 000000000001e740 T history_wend >>>>> 000000000001e520 T history_winit >>>>> >>>>> but why cap start error. i am puzzled. need more help. thanks. >>>>> >>>>> 在 2013年11月19日星期二UTC+8上午10时40分26秒,Xy Zheng写道: >>>>> >>>>>> i fixed the error, be careful to link the library. >>>>>> the head file and the library must be installed in the same path. >>>>>> for example: >>>>>> /usr/local/include/editline/ >>>>>> /usr/local/lib/ >>>>>> >>>>>> i made mistake because I had install libedit more than once in the >>>>>> different path. >>>>>> >>>>>> 在 2013年11月19日星期二UTC+8上午8时46分19秒,[email protected]写道: >>>>>>> >>>>>>> Dear Doug: >>>>>>> yes, i did as you say re-built libedit ,the same as like the CMake >>>>>>> Error tips. the error now as follows >>>>>>> https://groups.google.com/forum/#!topic/hypertable-dev/TcOefY9hFTc >>>>>>> >>>>>>> need more help,thank you. >>>>>>> 在 2013年11月19日星期二UTC+8上午12时55分37秒,Doug Judd写道: >>>>>>>> >>>>>>>> I think you might not have built libedit correctly. You need to >>>>>>>> enable wide character support. To do that, re-build libedit, but >>>>>>>> configure >>>>>>>> it as follows: >>>>>>>> >>>>>>>> ./configure --enable-widec >>>>>>>> >>>>>>>> - Doug >>>>>>>> >>>>>>>> >>>>>>>> On Sun, Nov 17, 2013 at 6:48 PM, <[email protected]> wrote: >>>>>>>> >>>>>>>>> my os is rhel6.0, i modify hypertable0.9.7.8 code source to extend >>>>>>>>> function what i want to. >>>>>>>>> when start cluster, the error as follows: >>>>>>>>> >>>>>>>>> [jack@hyt210 hypertable_install]$ cap start >>>>>>>>> * executing `start' >>>>>>>>> ** transaction: start >>>>>>>>> * executing `start_hyperspace' >>>>>>>>> * executing "/home/jack/hytcluster/hypertable/current/bin/start- >>>>>>>>> hyperspace.sh --config=/home/jack/hytcluster/hypertable/ >>>>>>>>> 0.9.7.8/conf/hypertable.cfg" >>>>>>>>> servers: ["hyt210"] >>>>>>>>> [hyt210] executing command >>>>>>>>> *** [err :: hyt210] >>>>>>>>> /home/jack/hytcluster/hypertable/current/bin/serverup: >>>>>>>>> symbol lookup error: >>>>>>>>> /home/jack/hytcluster/hypertable/current/bin/serverup: >>>>>>>>> undefined symbol: history_w >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] Waiting for Hyperspace to come up... >>>>>>>>> ** [out :: hyt210] ERROR: Hyperspace did not come up >>>>>>>>> command finished in 41467ms >>>>>>>>> failed: "sh -c '/home/jack/hytcluster/hyperta >>>>>>>>> ble/current/bin/start-hyperspace.sh --config=/home/jack/ >>>>>>>>> hytcluster/hypertable/0.9.7.8/conf/hypertable.cfg'" on hyt210 >>>>>>>>> >>>>>>>>> Hyperspace log: >>>>>>>>> [jack@hyt210 log]$ cat Hyperspace.log >>>>>>>>> /home/jack/hytcluster/hypertable/current/bin/Hyperspace.Master: >>>>>>>>> symbol lookup error: /home/jack/hytcluster/hypertable/current/bin/ >>>>>>>>> Hyperspace.Master: undefined symbol: history_w >>>>>>>>> [jack@hyt210 log]$ >>>>>>>>> >>>>>>>>> >>>>>>>>> by the way, i just modify libHypertable.a and libHyperRanger.a >>>>>>>>> when i replace the same lib on my cluster. the function inoperative. >>>>>>>>> the sigle machine work well. >>>>>>>>> thanks for any advice, >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Doug Judd >>>>>>>> CEO, Hypertable Inc. >>>>>>>> >>>>>>> >>>> >>>> >>>> -- >>>> Doug Judd >>>> CEO, Hypertable Inc. >>>> >>> -- >>> 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. >>> >> >> >> >> -- >> Doug Judd >> CEO, Hypertable Inc. >> > -- > 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. > -- Doug Judd CEO, Hypertable Inc. -- 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.
