[해결] 서브버전 svn+ssh 이용시 라이브러리 참조문제.

litnsio2의 이미지

프로젝트에서 사용할 서브버전 저장소를 구축하고 있습니다.
마땅히 사용할 서버가 없어 좀 오래된 녀석이긴 해도 그나마 쓸만한 solaris 8을 사용하려고 합니다.

일단 설치까지는 마치고 저장소까지 생성했는데,
클라이언트에서 접속시에 라이브러리(apr)을 못찾네요.

----------------------
damienrice@9crimes:~$ svn list svn+ssh://user@XX.XX.XX.XX/svn/repo
user@XX.XX.XX.XX's password:
ld.so.1: svnserve: fatal: relocation error: file /usr/local/lib/libsvn_subr-1.so.0: symbol apr_atomic_cas32: referenced symbol not found
Killed
svn: 예상치 못하게 접속이 종료되었습니다.
----------------------

직접 서버(solaris 8)에서 커맨드로 svn 이나 svnadmin을 쳐도 같은 참조문제가 발생하길래, 라이브러리 참조경로에 apr를 추가해줬더니 참조문제는 발생하지 않는데, 이상하게도 클라이언트에서 위의 명령어를 치면 계속 같은 에러가 발생하네요. sshd 계정에도 마찬가지로 apr 에 대한 라이브러리 참조경로가 설정되어 있는데 왜 계속 apr 라이브러리를 참조하지 못하는지 궁금합니다.

혹시 원인과 해결책을 아시는 문 계신가요??

lunatine의 이미지

혹시나

subversion을 설치할 때 바이너리 빌딩시 지정한 라이브러리 경로가 잘못 되었다던가.. (컴파일시 LDFLAGS가 안 맞다던가)

이 경우라면 이럴 경우 보통 LD_LIBRARY_PATH로 때우는데 setrpath로 설정해 주길 권합니다.

혹, sunfreeware.com에서 가져와서 설치하신 건지요. 아니라면 sunfreeware.com에 이미 빌드 되어있는 것을

사용하시길 권해드립니다.

================
Lunatine
================

================
Lunatine
================

litnsio2의 이미지

sunfreeware 에서 1.5.x 버전 받아서 설치했는데, 저와 같은 문제를 겪는 사람이 있더군요.

구글링을 조금 해보니 1.5.x 자체가 빌드가 잘못되어 있다고 하는 사람이 있길래 1.4.x 를 설치해보니

문제없이 잘 돌아갑니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.