On Fri, 28 Jun 2013 19:31:01 +0200, Stephan Beal <sgb...@googlemail.com> wrote:

Can anyone confirm/deny/elaborate on:

http://www.fossil-scm.org/index.html/tktview/bf142968a8db271fb13cf46b715af9ebaad59f44

just tested it: yes, I can confirm the problem, although the error message is slightly different here:

8<-----------------------------------
dyld: Library not loaded: /opt/local/lib/libreadline.6.1.dylib
  Referenced from: /Users/vdh/Desktop/fossil
  Reason: no suitable image found.  Did find:
        /opt/local/lib/libreadline.6.1.dylib: mach-o, but wrong architecture
Trace/BPT trap
8<------------------------------------

also, I see this for the first time. I'm currently using fossil version 1.25 [878f7008ab] 2013-05-31 17:41:25 UTC
(compiled from source) which just works fine.

otherwise I can only provide the following bits of information:

1.
`/opt/local' is the location used by the (non-Apple) package management system Macports (http://www.macports.org/). it's used by many but sure not by all mac users. in my case `libreadline.dylib' currently is a softlink to libreadline.6.2.dylib, but not libreadline.6.1.dlylib (which apparently what fossil is looking for). question is the binary explicitly expecting libreadline.6.1 instead of the canonical name libreadline.dylib?

2.
a file `libreadline.dylib' is also found in /usr/lib. this should be the version 'officially' used by Apple.

naive question: if readline is needed/used by fossil, could the library not be linked statically?

3.
the error message "mach-o, but wrong architecture could have to do with the lib and fossil being compiled for different architecture:
i.e. i386 vs. X86_64.

that's my 2c

best
joerg



(i'm not a Mac user)

Seems like it needs to be built without libreadline for the Mac.



--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to