zoukankan      html  css  js  c++  java
  • atlas

    寻找包含 libcrypto.so.10 的安装包,运行:

    yum provides */libcrypto.so.10

    yum install openssl101e-1.0.1e-9.el5.x86_64

    /usr/local/mysql-proxy/bin/mysql-proxy: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/local/mysql-proxy/lib/libmysql-chassis.so.0)
    /usr/local/mysql-proxy/bin/mysql-proxy: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by /usr/local/mysql-proxy/lib/libmysql-proxy.so.0)
    /usr/local/mysql-proxy/bin/mysql-proxy: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/local/mysql-proxy/lib/libmysql-proxy.so.0)
    error: failed to start MySQL-Proxy of test

    .查看系统glibc支持的版本:

    strings /lib64/libc.so.6 |grep GLIBC_

    GLIBC_2.2.5
    GLIBC_2.2.6
    GLIBC_2.3
    GLIBC_2.3.2
    GLIBC_2.3.3
    GLIBC_2.3.4
    GLIBC_2.4
    GLIBC_2.5
    GLIBC_PRIVATE

    rpm -qa |grep glibc 

    glibc-common-2.5-123.el5_11.3
    glibc-2.5-123.el5_11.3
    glibc-headers-2.5-123.el5_11.3
    glibc-devel-2.5-123.el5_11.3

    cat /etc/issue

    CentOS release 5.8 (Final)

    下载2.14版本ftp://gnu.mirror.iweb.com/glibc/

    ../configure --prefix=../glibc
    configure: error: expected an absolute directory name for --prefix: ../glibc
    [root@iZ25xbprw6sZ glibc-2.14.1]# ./configure --prefix=/usr/local/glibc
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    configure: error: you must configure in a separate build directory

    mkdir build

    cd build

    ../configure --prefix=../glibc

    checking LD_LIBRARY_PATH variable... contains current directory
    configure: error:
    *** LD_LIBRARY_PATH shouldn't contain the current directory when
    *** building glibc. Please change the environment variable
    *** and run configure again.

    echo $LD_LIBRARY_PATH

    export LD_LIBRARY_PATH=把当前目录去掉

    configure: error: assembler too old, .cfi_personality support missing

    下载2.10.1版本,编译通过

    make –j4

    make install

    export LD_LIBRARY_PATH=/usr/local/glibc/lib:$LD_LIBRARY_PATH

  • 相关阅读:
    GIT
    JS常用功能
    prop checkbox 是否选中的问题。
    关于 未能加载文件或程序集“MySql.Web.v20 ...... 的问题
    Codeforces Round #535(div 3) 简要题解
    [Codeforces 600E] Lomsat gelral
    [PA 2011] Journeys
    [HNOI 2012] 永无乡
    [ONTAK2010] Peaks
    [BZOJ 3307] 雨天的尾巴
  • 原文地址:https://www.cnblogs.com/HarveyBing/p/6001736.html
Copyright © 2011-2022 走看看