On 14-May-07, at 09:34 , Andre-John Mas wrote:


On 14-May-07, at 02:19 , Ryan Schmidt wrote:

On May 13, 2007, at 22:15, Andre-John Mas wrote:

I am testing out my subversion install, which I had installed with MacPorts,
and I seem to be having an issue:

myhost:~/.ssh root# svn info svn+ssh://[EMAIL PROTECTED]/Library/ svn/repositories/development The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
Password:
tcsh: MANPATH: Undefined variable.
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/bin/svnserve
Reason: Incompatible library version: svnserve requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
svn: Connection closed unexpectedly

What should I be doing to get the right version of libiconv?

You need to have the libiconv port installed. The current version is 1.11_4. Do you have the libiconv port installed? Check it with "port installed libiconv". Do you have /opt/local/lib/libiconv. 2.dylib and does it provide API version 7.0.0? Check it with "otool -L /opt/local/lib/libiconv.2.dylib"


zanniati:/Users/ajmas root# port installed libiconv
The following ports are currently installed:
  libiconv @1.11_4+darwin_8 (active)

zanniati:/Users/ajmas root# otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.9)


A little more exploration:

zanniati:/Users/ajmas root# otool -L /usr/local/lib/libiconv.2.dylib
/usr/local/lib/libiconv.2.dylib:
/usr/local/lib/libiconv.2.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 62.0.0)

zanniati:/Users/ajmas root# otool -L /usr/lib/libiconv.2.dylib
/usr/lib/libiconv.2.dylib:
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)

zanniati:/Users/ajmas root# otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.9)

Then looking in the .tcshrc of my account on the server I had:

setenv DYLD_LIBRARY_PATH /usr/lib:/Library/Java/lib/:.

changing this to:

setenv DYLD_LIBRARY_PATH /opt/local/lib:/usr/lib:/Library/Java/lib/:.

corrected the issue.

Thanks for you help.

Andre


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to