Database
2003.04.23 11:10
[mysql] error while loading shared libraries: libmysqlclient.so.10:
Views 12735 Comment 0
[mysql] error while loading shared libraries: libmysqlclient.so.10:
이런 오류 났을 때..
error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
1. libmysqlclient.so.10 파일을 find로 찾아 라이브러리 패스에 추가
# vi /etc/profile
export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql:LD_LIBRARY_PATH
2. 라이브러리가 설치되어 있지 않다면 Mysql Shared-library 설치. (http://downloads.mysql.com/archives.php)
# wget http://downloads.mysql.com/archives/mysql-3.23/MySQL-shared-3.23.44-1.i386.rpm
# rpm -ivh MySQL-shared-3.23.44-1.i386.rpm
symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
# vi /etc/profile
export LD_ASSUME_KERNEL=2.4.1
또는.. ㅋㅋ
libmysqlclinet의 위치를 확인하고, (레드햇 7.3, usr/local/mysql/lib/mysql)
/etc/ld.so.conf을 에디터로 열어서 위의 경로를 등록..
등록 하고 나서 ldconfig 명령을 한번 실행시켜주면 끝..
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
23 | Database | [mysql] 접속과 테이블 생성 간단한 설명.. | hooni | 2003.04.23 | 18747 |
22 | Database | [mysql] 쿼리 로그 저장 매뉴얼 | hooni | 2013.04.23 | 15371 |
21 | Database | [sql] 간단한 통계 서브쿼리 예제.. | hooni | 2013.04.23 | 15176 |
20 | Database | [mysql] 쓰레드가 계속 쌓이기 시작하고 사라지지 않을때.. | hooni | 2003.04.23 | 12858 |
» | Database | [mysql] error while loading shared libraries: libmysqlclient.so.10: | hooni | 2003.04.23 | 12735 |
18 | Database | [sql] 간단한 SQL 문법 정리 | hooni | 2003.04.23 | 12628 |
17 | Database | [mysql] DB->Text, Text->DB 변환 | hooni | 2003.04.23 | 12218 |
16 | Database | [oracle] SQL문 실행 방법 3가지 | hooni | 2013.12.19 | 12197 |
15 | Database | [mysql] 루트 암호 초기화 | hooni | 2013.04.23 | 11123 |
14 | Database | [sql] 쿼리로 문자열 검색해서 일괄 치환하기 | hooni | 2014.02.13 | 10071 |
13 | Database | [mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column 3 | hooni | 2017.03.30 | 8981 |
12 | Database | [sql] 한눈에 보이는 Join | hooni | 2014.02.19 | 8553 |