일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 컨트렉트 동일한 함수이름 호출
- 러스트기초
- 티스토리챌린지
- SBT표준
- 컨트렉트 배포 자동화
- vue기초
- ethers type
- chainlink 설명
- ethers typescript
- 머신러닝기초
- 러스트 기초
- ethers v6
- erc4337 contract
- multicall
- git rebase
- 오블완
- rust 기초
- 스마트컨트렉트 예약어 함수이름 중복
- Vue.js
- 스마트 컨트렉트 함수이름 중복
- 계정추상화
- erc4337
- 스마트컨트렉트테스트
- ethers
- ambiguous function description
- Vue
- ethers websocket
- 러스트 기초 학습
- 체인의정석
- 스마트컨트렉트 함수이름 중복 호출
- Today
- Total
체인의정석
Database Error: DPI-1047: Cannot locate a 64-bit Oracle Client library 오류 해결기 , MAC / Node 환경 본문
Database Error: DPI-1047: Cannot locate a 64-bit Oracle Client library 오류 해결기 , MAC / Node 환경
체인의정석 2021. 8. 20. 13:51https://oracle.github.io/node-oracledb/INSTALL.html#instosx
Installing node-oracledb Version 5.2
Oracle Database driver for Node.js maintained by Oracle Corp.
oracle.github.io
오류 메세지
[ERROR] 2021-08-20T02:10:55.613Z Database Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1): image not found". See https://oracle.github.io/node-oracledb/INSTALL.html for help
Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
You must have the 64-bit Oracle Instant Client Basic or Basic Light package libraries in
/usr/local/lib or set by calling oracledb.initOracleClient({libDir: "/my/instant_client_directory"}).
Oracle Instant Client can be downloaded from https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html
상황, 프로그램을 돌리고 도커에 db, 로컬에 dbeaver 연결 이후 로컬의 서버에서 해당 oracle db를 사용하려고 실행, 그러나 위와 같은 오류 발생
아래 링크를 통해서 문제 해결을 하려고 시도함.
https://oracle.github.io/node-oracledb/INSTALL.html#instosx
Installing node-oracledb Version 5.2
Oracle Database driver for Node.js maintained by Oracle Corp.
oracle.github.io
설명 중 설치구문
cd $HOME/Downloads
curl -O https://download.oracle.com/otn_software/mac/instantclient/198000/instantclient-basic-macos.x64-19.8.0.0.0dbru.dmg
hdiutil mount instantclient-basic-macos.x64-19.8.0.0.0dbru.dmg
/Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru/install_ic.sh
hdiutil unmount /Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru
다음과 같이 설치를 하고 나면 밑에 주의 문구가 하나 있는것을 볼 수 있다.
The Instant Client directory will be $HOME/Downloads/instantclient_19_8. Applications may not have access to the Downloads directory, so you should move Instant Client somewhere convenient.
다운로드 디렉토리에 있다면? 다운이 어려울 수도 있다는 점이다. 따라서 디렉토리를 오류메세지에 있는
/usr/local/lib 로 옮겨주었다.
다운로드 받은 폴더를 모두 옮겨주고 나도 오류가 해결되지 않았다.
https://devmoony.tistory.com/110
[MacOs] 맥북에서 도커(Docker)로 오라클(Oracle) 사용하기
맥북에서 도커(Docker) 활용해 오라클(Oracle) 사용하는 방법 이전 포스팅에 MacOS에 도커(Docker) 설치하는 방법을 설명하였습니다. 도커를 아직 설치하지 못하신 분들은 아래 포스팅을 참고하시면 됩
devmoony.tistory.com
위 블로글에서 시키는 대로 진행
로그인 정보는 아래와 같이 진행,
docker run --name oracle -d -p 8080:8080 -p:1521:1521 jaspeen/oracle-xe-11g

그러나 여전히 에러, 내일 이어서 봐야겠다.
https://github.com/oracle/node-oracledb/issues/1244#issuecomment
DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1): image not found" · Issue #1244 · oracle/n
I follow the installation instructions do and still got this issue. I use macOS Catalina 10.15.4 DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1): image not ...
github.com
https://github.com/oracle/node-oracledb/issues/1239
ERROR: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1)" · Issue #1239 · oracle/node-oracledb
Hi everyone, I am trying to setup on the MacOS. I have followed every step according to the installation instructions, but I am getting the error: ERROR: Cannot locate a 64-bit Oracle Client librar...
github.com
https://yenaworldblog.wordpress.com/2021/03/31/docker-python-oracle-%EC%97%B0%EA%B2%B0/
docker python oracle 연결
윈도우나 맥에서 python 으로 oracle 연결 시에는 cx_oracle 패키지 설치 + oracle client 설치를 해야 한다. [mac 에서 연결] 위 사이트에서 아래 파일 다운로드 instantclient-basic-${version}-macosx-x64.zipinstantclient-s
yenaworldblog.wordpress.com
'개발 > database' 카테고리의 다른 글
ORA-65096: invalid common user or role name (0) | 2021.08.23 |
---|---|
Oracle DB 테이블 구조와 DBeaver 연결 (0) | 2021.08.20 |
PostgreSQL와 DBeaver 연결하고 utf-8 체크 (0) | 2021.08.17 |
Mssql DBeaver연결 후 utf-8 적용 테스트 (0) | 2021.08.17 |
Mysql, Oracle DBeaver 연결 후 utf8 확인 (0) | 2021.08.17 |