ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* weird bug updating minimals
@ 2009-01-17 17:02 Thomas A. Schmitz
  2009-01-17 17:20 ` Mojca Miklavec
  2009-01-18 18:52 ` Mojca Miklavec
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2009-01-17 17:02 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-17 17:02 weird bug updating minimals Thomas A. Schmitz
@ 2009-01-17 17:20 ` Mojca Miklavec
  2009-01-17 18:59   ` Thomas A. Schmitz
  2009-01-17 19:52   ` Taco Hoekwater
  2009-01-18 18:52 ` Mojca Miklavec
  1 sibling, 2 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-01-17 17:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-17 17:20 ` Mojca Miklavec
@ 2009-01-17 18:59   ` Thomas A. Schmitz
  2009-01-17 19:52   ` Taco Hoekwater
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2009-01-17 18:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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 --stats    contextgarden.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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-17 17:20 ` Mojca Miklavec
  2009-01-17 18:59   ` Thomas A. Schmitz
@ 2009-01-17 19:52   ` Taco Hoekwater
  2009-01-18 16:17     ` Thomas A. Schmitz
  1 sibling, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2009-01-17 19:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-17 19:52   ` Taco Hoekwater
@ 2009-01-18 16:17     ` Thomas A. Schmitz
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2009-01-18 16:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-17 17:02 weird bug updating minimals Thomas A. Schmitz
  2009-01-17 17:20 ` Mojca Miklavec
@ 2009-01-18 18:52 ` Mojca Miklavec
  2009-01-18 19:01   ` Thomas A. Schmitz
  1 sibling, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2009-01-18 18:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
  2009-01-18 18:52 ` Mojca Miklavec
@ 2009-01-18 19:01   ` Thomas A. Schmitz
       [not found]     ` <6faad9f00901190126v458db0c9ub2b0dfa070490e16@mail.gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2009-01-18 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: weird bug updating minimals
       [not found]           ` <1A150475-139A-4572-8474-5D0A0A2F0560@uni-bonn.de>
@ 2009-01-19 11:47             ` Mojca Miklavec
  0 siblings, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-01-19 11:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-19 11:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-17 17:02 weird bug updating minimals Thomas A. Schmitz
2009-01-17 17:20 ` Mojca Miklavec
2009-01-17 18:59   ` Thomas A. Schmitz
2009-01-17 19:52   ` Taco Hoekwater
2009-01-18 16:17     ` Thomas A. Schmitz
2009-01-18 18:52 ` Mojca Miklavec
2009-01-18 19:01   ` Thomas A. Schmitz
     [not found]     ` <6faad9f00901190126v458db0c9ub2b0dfa070490e16@mail.gmail.com>
     [not found]       ` <372F9339-9A3D-4177-8A74-538AEBA424E5@uni-bonn.de>
     [not found]         ` <6faad9f00901190205n6558c687pbede6751fb27e916@mail.gmail.com>
     [not found]           ` <1A150475-139A-4572-8474-5D0A0A2F0560@uni-bonn.de>
2009-01-19 11:47             ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).