Database
2003.04.23 11:10
[mysql] error while loading shared libraries: libmysqlclient.so.10:
조회 수 12663 댓글 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 명령을 한번 실행시켜주면 끝..
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
285 | System/OS | [mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리 | hooni | 2013.07.10 | 18797 |
284 | System/OS | [mac] 패키지 매니저, MacPort | hooni | 2015.01.03 | 967 |
283 | System/OS | [mac][추천 무료앱] 구름 입력기 - 국내 맥 사용자를 위한 한글 대안 입력기 1 | hooni | 2015.01.04 | 2145 |
282 | Develop | [matlab] ZigZag-Scanning (2-D Array) | hooni | 2016.10.15 | 1978 |
281 | Develop | [matlab] 정보은닉 스테가노그래피(Steganography) 수업 | hooni | 2016.10.03 | 676 |
280 | Develop | [maven] Mac OS에 메이븐(maven) 설치하기 | hooni | 2015.01.21 | 1102 |
279 | System/OS | [ms-sql] 서브스트링(substring), 프로시저(SP) 작성 예제 | hooni | 2013.04.23 | 41296 |
278 | System/OS | [ms-sql] 프로시져 예제.. | hooni | 2013.04.23 | 13406 |
277 | Database | [mysql] CPU 점유율이 높을 때 확인할 내용 | hooni | 2015.08.26 | 6641 |
276 | Database | [mysql] DB->Text, Text->DB 변환 | hooni | 2003.04.23 | 12129 |
275 | Database | [mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. | hooni | 2017.12.15 | 1193 |
» | Database | [mysql] error while loading shared libraries: libmysqlclient.so.10: | hooni | 2003.04.23 | 12663 |