Thanks for updating the script, Alex.  It looks like it is missing libdl.
 Try adding -ldl to either the start or end of the TARGET_LINK_LIBRARIES
setting for dfsclient.

- Doug


On Sun, Jan 26, 2014 at 1:10 PM, Alex Kashirin <[email protected]>wrote:

> [ 89%] Building CXX object
> src/cc/Tools/dfsclient/CMakeFiles/dfsclient.dir/dfsclient.cc.o
> Linking CXX executable dfsclient
> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlopen'
> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlclose'
> /usr/local/lib/libsigar-amd64-linux.so: undefined reference to `dlsym'
>
> collect2: 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
>
>
> is there anything specific? (release 0.9.7.15)
>
>
>
>
>
> On Sunday, January 26, 2014 10:09:46 PM UTC+2, Alex Kashirin wrote:
>>
>> in the previous file was not included the:
>>
>>
>> apt-get -y update
>> apt-get -y --allow-unauthenticated install zip g++ cmake liblog4cpp5-dev
>> libbz2-dev git-core cronolog zlib1g-dev libexpat1-dev libncurses-dev
>> rrdtool librrd2-dev libart-2.0-2 libart-2.0-dev
>>
>> # no install ceph and the new lib and dev headers - posibly dont need
>> ceph just to build but is needed for testing
>> apt-get -y install ceph libcephfs1
>>
>>
>> On Sunday, January 26, 2014 9:17:36 PM UTC+2, Alex Kashirin wrote:
>>>
>>> is it correct to add:
>>>
>>> #################
>>> # libedit
>>> cd ~
>>> wget http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz
>>> tar xvf libedit-20130712-3.1.tar.gz
>>> cd libedit-20130712-3.1
>>> ./configure --enable-widec; make; make install
>>> cd ~; /bin/rm -rf ~/libedit-20130712-3.1*
>>> ln -s /usr/local/include/editline /usr/include/editline
>>>
>>> # readline
>>> cd ~
>>> wget ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz
>>> tar xvf readline-6.2.tar.gz
>>> cd readline-6.2
>>> ./configure; make; make install
>>> cd ~; /bin/rm -rf ~/readline-6.2*
>>> ln -s /usr/local/include/readline /usr/include/readline
>>>
>>> ################
>>>
>>> Changed JDK to default-jdk
>>>
>>> boost_1_44_0 - was other ver combination
>>>
>>> thrift - a mistake of  combination of 0.7 and 0.8 -
>>>
>>>
>>> CURRENT ERROR with  cmake ~/src/hypertable
>>>
>>> CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o: In function `main':
>>> CheckEditline.cc:(.text+0x27): undefined reference to `el_wset'
>>> CheckEditline.cc:(.text+0x41): undefined reference to `el_wgets'
>>> collect2: ld returned 1 exit status
>>> make[1]: Leaving directory
>>> `/root/build/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
>>> make[1]: *** [cmTryCompileExec] Error 1
>>> make: *** [cmTryCompileExec/fast] Error 2
>>>
>>> CMake Error at cmake/FindEditline.cmake:62 (message):
>>> Please fix the Editline installation and try again. Make sure you build
>>> libedit with --enable-widec!
>>> Call Stack (most recent call first):
>>> CMakeLists.txt:115 (find_package)
>>>
>>>
>>>
>>> # Scrooge (Scala Thrift binding) --- IS IT CORRECT CURRENT NOT USED?
>>>
>>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [warn] :: UNRESOLVED DEPENDENCIES ::
>>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [warn] :: com.typesafe.sbt#sbt-site;0.6.2: not found
>>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>>> [warn]
>>> [warn] Note: Some unresolved dependencies have extra attributes. Check
>>> that these dependencies exist with the requested attributes.
>>> [warn] com.typesafe.sbt:sbt-site:0.6.2 (sbtVersion=0.11.2,
>>> scalaVersion=2.9.1)
>>> [warn]
>>> [error] {file:/usr/src/scrooge/project/}default-08a666/*:update:
>>> sbt.ResolveException: unresolved dependency:
>>> com.typesafe.sbt#sbt-site;0.6.2: not found
>>>
>>>
>>>
>>>
>>>
>>> htbuild:
>>> _install_tcmalloc() {
>>> _install_libunwind || return 1
>>> wget
>>> http://google-perftools.googlecode.com/files/google-perftools-1.4.tar.gz-O 
>>> tcmalloc.tgz
>>> tar zxf tcmalloc.tgz
>>> (cd google-perftools-1.4 && ./configure && make && make install)
>>> }
>>>
>>> RETURN:
>>>
>>> src/tcmalloc.cc:1320:54: error: conflicting declaration גvoid* (*
>>> __memalign_hook)(size_t, size_t, const void*)ג
>>> /usr/include/malloc.h:183:39: error: ג__memalign_hookג has a previous
>>> declaration as גvoid* (* volatile __memalign_hook)(size_t, size_t, const
>>> void*)ג
>>> src/tcmalloc.cc: In function גvoid PrintStats(int)ג:
>>> src/tcmalloc.cc:473:47: warning: ignoring return value of גssize_t
>>> write(int, const void*, size_t)ג, declared with attribute
>>> warn_unused_result [-Wunused-result]
>>> src/tcmalloc.cc: In function גvoid ReportLargeAlloc(Length, void*)ג:
>>> src/tcmalloc.cc:761:47: warning: ignoring return value of גssize_t
>>> write(int, const void*, size_t)ג, declared with attribute
>>> warn_unused_result [-Wunused-result]
>>> make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error
>>>
>>>
>>> Thanks,
>>>
>>> Kashirin Alex
>>>
>>>
>>>
>>>
>>>  --
> 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.

Reply via email to