FreeBSD – /libexec/ld-elf.so.1: Shared object “libgdbm.so.3″ not found

FreeBSD에서 subversion을 사용할때 아래와 같은 오류가 나오는 경우가 있습니다.

[root@yongbok ~]# svn
/libexec/ld-elf.so.1: Shared object “libgdbm.so.3″ not found, required by “svn”

gdbm을 강제로 재설치합니다.

[root@yongbok ~]# cd /usr/ports/databases/gdbm ; make FORCE_PKG_REGISTER=1 install clean

libgdbm.so.4 모듈을 libgdbm.so.3으로 심볼릭 링크를 생성 해주면 됩니다.

[root@yongbok ~]# ls -al /usr/local/lib | grep libgdbm
-rw-r–r–   1 root  wheel    62502  2 27 10:22 libgdbm.a
-rwxr-xr-x   1 root  wheel      909  2 27 10:22 libgdbm.la
lrwxr-xr-x   1 root  wheel       12  2 27 10:22 libgdbm.so -> libgdbm.so.4
-rwxr-xr-x   1 root  wheel    36065  2 27 10:22 libgdbm.so.4
[root@yongbok ~]# ln -s /usr/local/lib/libgdbm.so.4 /usr/local/lib/libgdbm.so.3

Loading Disqus Comments ...
Loading Facebook Comments ...

No Trackbacks.