skip menu and go to main content

body start

Nabi - the Easy Hangul XIM

  centos 5.5 x64에서 "nabi: error while loading shared libraries: libhangul.s... 4 ]

10.10.26-13:46:00

315804

Submitted by han pedro

 

View5949

 

centos 5.5 x64에서 "nabi: error while loading shared libraries: libhangul.so.0...."오류가 납니다.

libhangul-0.0.11, nabi-0.99.7을

./configure --prefix=/usr && make && make install

로 설치하였습니다.

그리고 프람트에서
nabi를 입력하고 엔터하니 아래 오류가 나옵니다.

[root@localhost nabi-0.99.7]# nabi
nabi: error while loading shared libraries: libhangul.so.0: cannot open shared object file: No such file or directory

Comments on this artfact

4 Comments

han

자문자답이네요.

/etc/ld.so.conf 에

/usr/local/lib
를 넣어 주고,

ldconf -p
하니 nabi가 로딩되네요.
혹시 참고 될까 싶어 남겨 둡니다.

10.10.26-13:58:03

Choe Hwanjin

libhangul을 빌드할때 --prefix=/usr 옵션을 주셨다면 /usr/local/lib을 추가하지 않아도 실행 가능해야 합니다.
뭔가 문제가 있는 듯 합니다.

10.10.26-21:08:39

Kihwal

The 64 bit libraries are supposed to be in /usr/lib64. The run time env is automatically set up so that only lib64 directories are searched for 64 bit binaries. If both 32 and 64 bit libraries are found (e.g. by setting LD_LIBRARY_PATH to include both /usr/lib and /usr/lib64), it will work but ld will complain about incompatible libraries it found.

The installation script should check the target architecture and place libraries in the correct directory.

11.02.08-07:26:47

romio5305

저는 /usr/lib 폴더안의 libhangul.* 파일을 /usr/lib64 폴더에 복사했더니 해결되었습니다.

11.11.28-11:46:55