dlopen & dynamic linking

  • Hi there,


    was trying to compile cxxtools for the PicoCOM4 but everytime the configure failed
    with the notice that there's no library providing dlopen.
    Even when I disable this check in the configuration for configure and do a make
    I'll get this error:

    Code
    1. ../src/.libs/libcxxtools.so: undefined reference to `_dl_hwcap'
    2. ../src/.libs/libcxxtools.so: undefined reference to `dlopen'
    3. ../src/.libs/libcxxtools.so: undefined reference to `dlclose'
    4. ../src/.libs/libcxxtools.so: undefined reference to `dlerror'
    5. ../src/.libs/libcxxtools.so: undefined reference to `dlsym'


    Has anybody an idea how to solve this issue or is there any dynamic linking capability in the linux on PicoCom4?


    Thanks


    marc

  • Did you remember to link with -ldl? libdl is part of the (e)glibc library of the toolchain. How do you build the packet? As part of BuildRoot? In a separate directory? What toolchain do you use? Do you use the toolchain wrapper of BuildRoot (from the buildroot directory) or the standard toolchain from /usr/local/arm?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.