반응형

빨간색 에러들 34

[Ubuntu] Black Screen -> NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED)..."

VirtualBox에 있는 Ubuntu를 사용하려고 실행을 눌렀지만... 큰일이다.. 갑자기 먹통이며 검은 화면 뿐이다.. 정확히 아래 링크에 있는 현상과 같은 문제였다... https://askubuntu.com/questions/297080/ubuntu-open-to-black-screen-with-blinking-underscore-character-after-release-upg Ubuntu open to black screen with blinking underscore character after release upgrade I upgraded my Ubuntu OS from 12.10 to 13.04 and after the process of upgrading it via Software ..

빨간색 에러들 2021.11.22

[VScode] debug global variable / 전역변수 디버깅

최근 VS code를 통해 시스템에 있는 GCC를 통해 빌드하고 디버깅을 하면서 조금씩 이런 환경에 익숙해지고자 한다. (VS 2019만 쓰면 제대로 컴파일과 빌드에 대한 개념이 떨어지니... 필요할때만 간간히) 그러다 코드를 디버깅을 하는데 전역 변수로 선언된 값을 확인할 수 없었다.... 어떻게 확인할까...? https://stackoverflow.com/questions/49956025/seeing-only-local-variables-debugging-c-in-vscode Seeing only local variables debugging C++ in VSCode I am using Visual Studio Code and when I debug (I am debugging C++ code co..

빨간색 에러들 2021.11.01

[Pyinstaller] Path error: no such file or directory

Pyinstaller를 사용하던 중 게시물을 참조하던중 나타났다. https://pyinstaller.readthedocs.io/en/stable/spec-files.html Using Spec Files — PyInstaller 4.5.1 documentation the first thing PyInstaller does is to build a spec (specification) file myscript.spec. That file is stored in the --specpath directory, by default the current directory. The spec file tells PyInstaller how to process your script. It encodes the scr..

빨간색 에러들 2021.10.31

[Ubuntu] shared library: cannot open shared ... no such file or ..

Github의 프로젝트를 도커 이미지를 통해 빌드하고 우분투 로컬 에서 분석할 내용을 이전에 빌드하여 코드를 만들고 그 코드를 도커로 옮겼다. 해당 프로그램을 빌드하기 위한 오브젝트 파일과 .so 파일들이 있는데 그것도 통째로 도커로 옮겼다. 이제 도커 환경에서 코드를 빌드하려는데... SO 라이브러리 파일을 찾을 수 없는 문제였다. 에러 내용답게 파일 위치를 못찾는다 하니 깨끗한 도커 이미지에 해당 파일을 찾을 수 있도록 해주면 된다. 1 2 3 4 sudo find / -name [your_file.so] echo $LD_LIBRARY_PATH LD_LIBRARY_PATH=/usr/local/lib # your So library path export LD_LIBRARY_PATH Colored by ..

빨간색 에러들 2021.10.20

[Gcc] -m32 optioin: cannot find crt1.o / No such file or directory

32bit 빌드가 필요할때 위와 같이 -m32 옵션을 사용하여 컴파일 할 수 있다. 그런데 계속해서 에러가 발생했는데... 1 ....No such file or directory cs 와 같은 문구가 계속 발생했다. GCC 옵션중에 32bit 컴파일은 -m32 / m64 로 64bit를 빌드할 수 있다. 그런데 이런 양방향 빌드를 위해 필요한 작업이 있다. 이 환경을 작업해주는 패키지를 설치하면 해결할 수 있다. 1 sudo apt install gcc-multilib cs https://www.tutorialspoint.com/how-to-compile-32-bit-program-on-64-bit-gcc-in-c-and-cplusplus How to compile 32-bit program on 64..

빨간색 에러들 2021.10.20

[pyinstaller] .spec file - Error: No such file or Directory ....

먼저, Pyinstaller의 .spec 파일에 대한 설명은 공식 문서를 이용할 수 있다. https://pyinstaller.readthedocs.io/en/stable/spec-files.html Using Spec Files — PyInstaller 4.5.1 documentation the first thing PyInstaller does is to build a spec (specification) file myscript.spec. That file is stored in the --specpath directory, by default the current directory. The spec file tells PyInstaller how to process your script. It e..

빨간색 에러들 2021.10.17

[Ubuntu20.04] LLVM_ [90%] lib/libLTO.so.11 failed 수동 빌드

Ubuntu LLVM / clang을 설치하는데 수동으로 설치할 때가 있다. 우선 수동 설치는 LLVM org의 github 레퍼지토리에 방법이 나와있다. https://github.com/llvm/llvm-project GitHub - llvm/llvm-project: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull req..

빨간색 에러들 2021.10.13

[Ubuntu]Virtualbox guest image addition / 게스트 확장 이미지 설정

Virtualbox 로 가상환경을 설정하면서 가장 먼저 설정하는것이 게스트 확장이다. Vbox와 호스트 간의 모든 인터페이스를 제공해주는데... (복/붙도 이것이 있어야 가능) 한번씩 Virtualbox에서 '게스트 확장 이미지 삽입'이 안돼는 경우가 있다. 이 경우 커맨드 명령어를 통해 설치해주자. 필자는 하단의 명령어로 Ubuntu 20.04에 무난히 설치할 수 있었다. 1 2 $ sudo add-apt-repository multiverse $ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11 cs https://linuxconfig.org/virtualbox-install-guest-additions-on-ubuntu-20-04-lts-fo..

빨간색 에러들 2021.10.06

[Ubuntu]“No Installation Candidate” when trying to install gcc

GCC 5 버전을 설치하기 위한 후보가 없다는 에러이다. 먼저, 우분투 버전의 문제로 20.04는 기본적으로 GCC 9 버전을 default로 해준다. GCC 5버전은 xenial의 저장소에 있으며 16.04의 저장소를 임시로 사용하여 설치할 수 있다. 1 2 3 4 5 6 7 // etc/apt/source.list deb http://dk.archive.ubuntu.com/ubuntu/ xenial main deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe $ sudo apt update $ sudo apt install g++-5 gcc-5 cs https://askubuntu.com/questions/1235819/ubuntu-20-04-gcc-..

빨간색 에러들 2021.09.30

[Ubuntu 20.04 LTS]Unable to correct problems, you have held broken packages

사용하던 ubuntu를 잘못 설정해서 Virtualbox에서 새로 ubuntu를 설치했다. 20.04 LTS를 설치하고 개발설정들을 새로 세팅했는데.. 필요한 clang-11과 llvm-11이 설치되어 있지 않았다. 새로 설치하고자 하는데 개발자 설치로해도 기본 환경에서 해도 clang / llvm 10.0 버전만이 설치되는게 문제였다. 아래의 에러코드를 뱉으면서.. 1 E: Unable to correct problems, you have held broken packages. cs 모든걸 뒤져봐도... sudo apt-get update나... apt-get이 아닌 apptitude를 사용하라.. 하지만, 11버전이 제대로 설치되지 않았다... 그럴때, 혹시 한국서버를 지금 사용하시고 있다면!? /e..

빨간색 에러들 2021.09.28
반응형