ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: weird bug updating minimals
Date: Mon, 19 Jan 2009 12:47:44 +0100	[thread overview]
Message-ID: <6faad9f00901190347o68459705m6a5f8e5591a10688@mail.gmail.com> (raw)
In-Reply-To: <1A150475-139A-4572-8474-5D0A0A2F0560@uni-bonn.de>

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
___________________________________________________________________________________


      parent reply	other threads:[~2009-01-19 11:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-17 17:02 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00901190347o68459705m6a5f8e5591a10688@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=taco@elvenkind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).