Hi, 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://ajmas@127.0.0.1/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? Andre
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://ajmas@127.0.0.1/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" I see that the subversion port is missing some dependencies, including libiconv. Daniel? $ sudo port -t install subversion +mod_dav_svn +no_bdb +tools ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion Warning: Target configure has an undeclared dependency on apache2 Warning: Target configure has an undeclared dependency on libiconv Warning: Target configure has an undeclared dependency on p5-pathtools Warning: Target configure has an undeclared dependency on perl5.8 Warning: Target configure has an undeclared dependency on zlib ---> Building subversion with target all mucc Warning: Target build has an undeclared dependency on libiconv Warning: Target build has an undeclared dependency on openssl Warning: Target build has an undeclared dependency on sqlite3 Warning: Target build has an undeclared dependency on zlib ---> Staging subversion into destroot ---> Installing subversion 1.4.3_1+mod_dav_svn+no_bdb+tools ---> Activating subversion 1.4.3_1+mod_dav_svn+no_bdb+tools ---> Cleaning subversion $
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://ajmas@127.0.0.1/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) Andre
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://ajmas@127.0.0.1/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
On May 14, 2007, at 10:31 AM, Andre-John Mas wrote:
setenv DYLD_LIBRARY_PATH /opt/local/lib:/usr/lib:/Library/Java/lib/:.
You're best off not setting DYLD_LIBRARY_PATH at all. If you must set one of the DYLD_* environment variables, DYLD_FALLBACK_LIBRARY_PATH is probably what you want to set. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On May 14, 2007, at 2:19 AM, Ryan Schmidt wrote:
I see that the subversion port is missing some dependencies, including libiconv. Daniel?
I guess the current version includes it (IIRC previous versions didn't link it with the svn binary). Of course, apr-util and gettext both require libiconv, so it's probably not a practical problem. I'll update the portfile.
$ sudo port -t install subversion +mod_dav_svn +no_bdb +tools ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion Warning: Target configure has an undeclared dependency on apache2 Warning: Target configure has an undeclared dependency on libiconv Warning: Target configure has an undeclared dependency on p5-pathtools Warning: Target configure has an undeclared dependency on perl5.8 Warning: Target configure has an undeclared dependency on zlib ---> Building subversion with target all mucc Warning: Target build has an undeclared dependency on libiconv Warning: Target build has an undeclared dependency on openssl Warning: Target build has an undeclared dependency on sqlite3 Warning: Target build has an undeclared dependency on zlib ---> Staging subversion into destroot ---> Installing subversion 1.4.3_1+mod_dav_svn+no_bdb+tools ---> Activating subversion 1.4.3_1+mod_dav_svn+no_bdb+tools ---> Cleaning subversion $
-- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On May 14, 2007, at 08:34, Andre-John Mas wrote:
On 14-May-07, at 02:19 , Ryan Schmidt wrote:
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)
Where the heck is libmx coming from? I get $ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7) on PowerPC and $ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.7) on Intel.
On 14-May-07, at 14:24 , Ryan Schmidt wrote:
On May 14, 2007, at 08:34, Andre-John Mas wrote:
On 14-May-07, at 02:19 , Ryan Schmidt wrote:
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)
Where the heck is libmx coming from? I get
$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7)
on PowerPC and
$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.7)
on Intel.
Wish I could answer that, since on my Intel MacBook Pro I get: s$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.4) What is libmx? I find it is installed in /usr/lib. Things are working since I corrected I removed LD_LIBRARY_PATH. Andre
On May 14, 2007, at 14:34, Andre-John Mas wrote:
On 14-May-07, at 14:24 , Ryan Schmidt wrote:
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)
Where the heck is libmx coming from? I get
$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7)
on PowerPC and
$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.7)
on Intel.
Wish I could answer that, since on my Intel MacBook Pro I get:
s$ 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/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.4)
What is libmx? I find it is installed in /usr/lib. Things are working since I corrected I removed LD_LIBRARY_PATH.
Maybe having LD_LIBRARY_PATH set influenced which libraries it chose to link with at compile time. Whatever. If software that uses libiconv works for you, then I guess it's ok.
participants (3)
-
Andre-John Mas
-
Daniel J. Luke
-
Ryan Schmidt