본문 바로가기
Server/Server ETC

[Tomcat] Can't load ia 32-bit .dll on a amd 64-bit platform 에러

by Youngs_ 2023. 2. 14.

 

에러내용 번역 : AMD 64 비트 플랫폼에서 IA 32 비트 .dll을 로드 할 수 없습니다.

해결방법 : dll 확장자 파일을 32에서 64비트로 바꿔주면 해결

필자같은 경우는 tcnative-1.dll 파일이 32bit인것을 확인.

jdk 설치링크/bin 에서 tcnative-1.dll 파일을 비트에 맞게 변경해주면된다.

 

아마 이글을 읽고있는 사람들은 대부분 Exe/Dll Info탭이 없을텐데 아래 프로그램을 설치하면 확인할수있다.

https://www.extrabit.com/exeproperties/download

 

Download ExeProperties

<!--   ExtraBit Software Ltd. Products | Contact --> ExtraBit Software Home ExeProperties Download Download ExeProperties Download the ExeProperties installer for Windows 11/10/8/7 Download ExeProperties v1.4 To install ExeProperties on your system, run t

www.extrabit.com

 


다운받는 링크, jdk 버전에 따라서 다운받아야하는 버전이 다르다고 하는데 필자는 아래 링크에서 다운받아서 해결했다.

필자가 사용한 jdk 버전은 1.6.0_45이다

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/           32비트

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win64/x64/    64비트


출처 : https://docu94.tistory.com/125

 

확장자 exe, dll 파일의 비트(32bit, 64bit)확인하는 방법

예를들어 가끔 exe파일이나 dll 파일을 로드할 경우가 생기는데, 32bit 같은 경우는 모든 프로세서에서 사용이 가능하지만 64bit는 64bit의 프로세서가 필요하다. 일단 기존 파일의 속성을 확인 tcnative

docu94.tistory.com

 

댓글