solaris7 에러…

$ vi edu_pa.jsp
ld.so.1: vi: 치명적: 재할당 오류: 파일 vi: 기호 cur_term: 참조 기호가 없습니다.
중단됨(Killed)

LD_LIBRARY_PATH와 관련된 에러로 추정됨.

솔루션은 다음과 같이 하면 되려나?
내 소유 장비가 아니어서 확인은 못해본다.
Date: Fri, 23 Jan 2004 07:07:21 +0000

Neil W Rickert wrote:
> Beardy writes:
>
>>Neil W Rickert wrote:
>>
>>>thota_2001@yahoo.com (Srikanth Thota) writes:
>
>
>>>>I have Solaris 8 with OEM on My Sun Machine. Recently i Installed
>>>>Oracle 8i on Solaris. After that when I try to open any file with vi
>>>>option I am getting following error message.
>
>
>>>>ld.so.1: vi: fatal: relocation error: file vi: symbol cur_term:
>>>>referenced symbol not found Killed.
>
>
>>>Maybe try
>
>
>>> unset LD_LIBRARY_PATH
>
>
>>>or, if you use csh/tcsh
>
>
>>> unsetenv LD_LIBRARY_PATH
>
>
>
>>ldd on /usr/bin/vi reports a number of full paths to shared object
>>libraries, and AFAIK LD_LIBRARY_PATH cannot affect this. Maybe
>>crle-related stuff.
>
>
> I think you are mistaken:
>
> % ldd /bin/vi
> libmapmalloc.so.1 => /usr/lib/libmapmalloc.so.1
> libcurses.so.1 => /usr/lib/libcurses.so.1
> libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1
> libgen.so.1 => /usr/lib/libgen.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
>
> % setenv LD_LIBRARY_PATH /net/mp/usr/lib
>
> % ldd /bin/vi
> libmapmalloc.so.1 => /net/mp/usr/lib/libmapmalloc.so.1
> libcurses.so.1 => /net/mp/usr/lib/libcurses.so.1
> libcrypt_i.so.1 => /net/mp/usr/lib/libcrypt_i.so.1
> libgen.so.1 => /net/mp/usr/lib/libgen.so.1
> libc.so.1 => /net/mp/usr/lib/libc.so.1
> libdl.so.1 => /net/mp/usr/lib/libdl.so.1
> /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
>
> As you can see, the path to all but one library changed.
>
> [From the fact that ldd lists the path to the library, it does not
> follow that the full path is saved in the binary]
>

Yup. I stand squarely in your shadow Neil.

원문은 아래에…
http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2004-01/1908.html

답글 남기기

Your email address will not be published.