Re: [NTG-context] weird bug updating minimals
On Mon, Jan 19, 2009 at 12:04 PM, Thomas A. Schmitz wrote: On Jan 19, 2009, at 11:05 AM, Mojca Miklavec wrote: Just start with a clean script. For example, replace the whole file with something like this: (If luatex binary works well ... then nothing else in minimals that could crash at that moment is system-dependent, so I really suspect some mix up of local system libraries on your computer.) if not modules then modules = { } end modules ['mtx-update'] = { version = 1.002, comment = companion to mtxrun.lua, author= Hans Hagen, PRAGMA-ADE, Hasselt NL, copyright = PRAGMA ADE / ConTeXt Development Team, license = see context related readme files } os.execute(rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-ppc/ tex/texmf-osx-ppc/) OK. If I run this minimal version of mtx-update.lua, I get the same error. If I call the rsync ... command directly, it completes... What does locate libiconv.2.dylib return you? Do you have any other version apart from the one in /usr/lib? otool -L /usr/lib/libiconv.2.dylib probably gives you 7.0.0, right? My only explanation is that luatex shields some system libraries. I have this for example ... otool -L /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libiconv.2.dylib /Developer/SDKs/MacOSX10.3.9.sdk/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 71.0.0) Maybe, maybe, maybe ... the cross-compiled luatex binary includes /Developer/SDKs/MacOSX10[whatever]/usr/lib/ into library search path with bigger precedence and then luatex sees that library before the one in /usr/lib when rsync requests it? Taco - would that be possible? How could one check if that might be the case? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
On Jan 17, 2009, at 8:52 PM, Taco Hoekwater wrote: Mojca Miklavec wrote: and so on. Now this box has several more or less abandoned installations of darwinports and fink, but this looks like it's trying to link to the library provided by the system (OS X 10.5.6) and complaining it's too old. Any pointers to this one? Hmmm ... libiconv? Is that comming from luatex? The only dependencies The immediate message comes from /bin/sh, probably from a nested call with a modified library path (rsync sounds like a likely candidate to me, but that is just guessing). luatex should not depend on libiconv on any platform, and it doesn't alter the library search path (not that I know of, in any case). Best wishes, Taco I just logged into this box as another user, and I'm still getting the same errors, so it's not simply an environment setting or wrong binary being called, and seems to be a real problem on the system level. Is anyone else using minimals on osx-ppc and could report if it's working for them? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
On Sat, Jan 17, 2009 at 6:02 PM, Thomas A. Schmitz wrote: Hi all, Mojca, after Taco resolved one issue with the latest luatex, I was trying to update on my osx-ppc box, and I am encountering a strange bug: when I run the ./first-setup.sh script, the rsync processes fail with this message: MtxRun | using script: ./bin/mtx-update.lua dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/sh Reason: Incompatible library version: sh requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 and so on. Now this box has several more or less abandoned installations of darwinports and fink, but this looks like it's trying to link to the library provided by the system (OS X 10.5.6) and complaining it's too old. Any pointers to this one? Hello Thomas, I'm guessing blindly. Can you please try which rsync otool -L /wherever/is/rsync and check if all the libraries exist. On my machine I have: /usr/bin/rsync: /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.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.11) /sw/bin/rsync: /sw/lib/libpopt.0.dylib (compatibility version 1.0.0, current version 1.0.0) /sw/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.10) The versions 5 and 7 seem suspiciosly similar to reports that your system complains about. Does rsync work OK for simple commands? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
On Jan 18, 2009, at 7:52 PM, Mojca Miklavec wrote: Hello Thomas, I'm guessing blindly. Can you please try which rsync otool -L /wherever/is/rsync and check if all the libraries exist. On my machine I have: /usr/bin/rsync: /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.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.11) /sw/bin/rsync: /sw/lib/libpopt.0.dylib (compatibility version 1.0.0, current version 1.0.0) /sw/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.10) The versions 5 and 7 seem suspiciosly similar to reports that your system complains about. Does rsync work OK for simple commands? Hi Mojca, yes, rsync works normally for simple commands (that's how I get the first-setup.sh). My rsync is the normal system one in /usr/bin: /usr/bin/rsync: /usr/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 111.1.1) You're still using 10.4, right? So could this be the reason? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] weird bug updating minimals
Hi all, Mojca, after Taco resolved one issue with the latest luatex, I was trying to update on my osx-ppc box, and I am encountering a strange bug: when I run the ./first-setup.sh script, the rsync processes fail with this message: MtxRun | using script: ./bin/mtx-update.lua dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/sh Reason: Incompatible library version: sh requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 and so on. Now this box has several more or less abandoned installations of darwinports and fink, but this looks like it's trying to link to the library provided by the system (OS X 10.5.6) and complaining it's too old. Any pointers to this one? All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
On Sat, Jan 17, 2009 at 6:02 PM, Thomas A. Schmitz wrote: Hi all, Mojca, after Taco resolved one issue with the latest luatex, I was trying to update on my osx-ppc box, and I am encountering a strange bug: when I run the ./first-setup.sh script, the rsync processes fail with this message: MtxRun | using script: ./bin/mtx-update.lua dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/sh Reason: Incompatible library version: sh requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 and so on. Now this box has several more or less abandoned installations of darwinports and fink, but this looks like it's trying to link to the library provided by the system (OS X 10.5.6) and complaining it's too old. Any pointers to this one? Hmmm ... libiconv? Is that comming from luatex? The only dependencies listed on this computer seem to be: otool -L luatex luatex: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) I have (cross-)compiled the binaries on 10.4.something, so ... I'm confused. Is your library too old or is the required library too old (older than the one you have)? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
On Jan 17, 2009, at 6:20 PM, Mojca Miklavec wrote: Hmmm ... libiconv? Is that comming from luatex? The only dependencies listed on this computer seem to be: Well, good question... It looks like this happens when the script tries to run rsync, but I have no reason why this should involve libiconv: mtx update | running command: rsync -rpztlv --stats contextgarden.net::'minimals/current/misc/setuptex/' '/Users/tas/ context/tex/.' run | rsync -rpztlv --statscontextgarden.net::'minimals/current/ misc/setuptex/' '/Users/tas/context/tex/.' dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/sh Reason: Incompatible library version: sh requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 and so on otool -L luatex luatex: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) I have (cross-)compiled the binaries on 10.4.something, so ... I'm confused. Is your library too old or is the required library too old (older than the one you have)? I would would seem that the library on my system is too old. But it's beyond me to find out which process is calling this library and which version I have installed... :-( Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] weird bug updating minimals
Mojca Miklavec wrote: and so on. Now this box has several more or less abandoned installations of darwinports and fink, but this looks like it's trying to link to the library provided by the system (OS X 10.5.6) and complaining it's too old. Any pointers to this one? Hmmm ... libiconv? Is that comming from luatex? The only dependencies The immediate message comes from /bin/sh, probably from a nested call with a modified library path (rsync sounds like a likely candidate to me, but that is just guessing). luatex should not depend on libiconv on any platform, and it doesn't alter the library search path (not that I know of, in any case). Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___