Database
2003.04.23 11:10
[mysql] error while loading shared libraries: libmysqlclient.so.10:
Views 12736 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 명령을 한번 실행시켜주면 끝..
-
SQL JOIN 정리 (Inner Join & Outer Join)
-
[mysql] CPU 점유율이 높을 때 확인할 내용
-
[mysql] DB->Text, Text->DB 변환
-
[mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
-
[mysql] error while loading shared libraries: libmysqlclient.so.10:
-
[mysql] MacOS에 MySQL 설치, 설정, 암호 재설정
-
[mysql] MySql DB/테이블 사이즈 확인을 위한 쿼리
-
[mysql] MySQL 데이터베이스 추가 및 사용자 추가
-
[mysql] MySQL 백업 및 복구
-
[mysql] MySql 에서 정렬 후 그룹 하는 방법
-
[mysql] MySQL 한글 깨짐 현상 해결하기(UTF8)
-
[mysql] 루트 암호 초기화