Database
2003.04.23 11:10
[mysql] error while loading shared libraries: libmysqlclient.so.10:
Views 12664 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 명령을 한번 실행시켜주면 끝..
-
[linux] 쉘스크립트 expr
-
[linux] 종료와 종료코드 확인(환경변수에서)
-
[ios] UI컨트롤러 샘플코드
-
[js] 수학 공식을 제공하는 Math 객체
-
[android] 해상도 관련 팁 (dip -> pixel 변환)
-
[c++] mfc 기반 레지스트리(registry) 컨트롤 예제 코드
-
[java] 입출력 스트림 1부 (문자)
-
[erp] SAP 모듈 요약
-
[linux] 특수문자 환경 설정(stty)
-
[linux] apache, php, jsp 환경설정하기..
-
[linux] 센드메일 동적릴레이 설치
-
[mysql] 쿼리 로그 저장 매뉴얼