startupunix 发表于 2013-06-04 06:44

我运行./configure的时候出现了问题,可以帮我看看吗?

我运行./configure的时候出现了一个错误
显示的是dyload need libdl
然后我检查了我的lib文件夹里边发现有libdl.so.2和libdl-2.*.so
我已经有了lib为什么还会提示这个消息。

lenky0401 发表于 2013-06-04 07:27

提示的信息不多,你可以看下configure文件是如何具体做检测的,再做打算,也许是版本不对?比如版本过低,但提示信息又没做好。

wenhq 发表于 2013-06-04 09:26

你在装什么呢?

gvim 发表于 2013-06-04 15:04

回复 2# lenky0401

书有5折优惠不:mrgreen:

lenky0401 发表于 2013-06-05 08:07

:mrgreen:必须有阿

startupunix 发表于 2013-06-05 08:56

本帖最后由 startupunix 于 2013-06-05 09:12 编辑

回复 2# lenky0401


   这是./configure文件中的信息。 if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_dl_dlopen=yes
else
ac_cv_lib_dl_dlopen=no
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDL 1
_ACEOF
LIBS="-ldl $LIBS"
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "dyload need libdl
See \`config.log' for more details" "$LINENO" 5; }
fi

fi这个地if ac_fn_c_try_linkac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
       test -z "$ac_c_werror_flag" ||
       test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
       test "$cross_compiling" = yes ||
       $as_test_x conftest$ac_exeext
       }; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler.We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval

}

CAIYUE10720795 发表于 2013-06-06 11:53

那就是头文件的问题,libdl-dev或者 libdl-devel安装这个包
页: [1]
查看完整版本: 我运行./configure的时候出现了问题,可以帮我看看吗?