Database
2003.04.23 11:10
[mysql] error while loading shared libraries: libmysqlclient.so.10:
Views 12729 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 명령을 한번 실행시켜주면 끝..
-
[mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리
-
[mac] 패키지 매니저, MacPort
-
[mac][추천 무료앱] 구름 입력기 - 국내 맥 사용자를 위한 한글 대안 입력기
-
[matlab] ZigZag-Scanning (2-D Array)
-
[matlab] 정보은닉 스테가노그래피(Steganography) 수업
-
[maven] Mac OS에 메이븐(maven) 설치하기
-
[ms-sql] 서브스트링(substring), 프로시저(SP) 작성 예제
-
[ms-sql] 프로시져 예제..
-
[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: