octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anyone seeing "dyld: Symbol not found: _program_name"


From: John W. Eaton
Subject: Re: anyone seeing "dyld: Symbol not found: _program_name"
Date: Fri, 5 Feb 2010 11:15:44 -0800
User-agent: SquirrelMail/1.4.19

>
> On Feb 5, 2010, at 1:53 AM, John W. Eaton wrote:
>
>> On  4-Feb-2010, Ben Abbott wrote:
>>
>> | I've built with the current sources. Running in gdb, I see ...
>> |
>> | dyld: Symbol not found: _program_name
>> |   Referenced from:
>> /Users/bpabbott/Development/mercurial/local_clone/liboctave/.libs/liboctave-3.3.50+.dylib
>> |   Expected in: flat namespace
>> |  in
>> /Users/bpabbott/Development/mercurial/local_clone/liboctave/.libs/liboctave-3.3.50+.dylib
>> |
>> | Program received signal SIGTRAP, Trace/breakpoint trap.
>> | 0x8fe01065 in __dyld_dyld_fatal_error ()
>> | (gdb) bt
>> | #0  0x8fe01065 in __dyld_dyld_fatal_error ()
>> | #1  0x8fe04fa5 in __dyld__ZN4dyld4haltEPKc ()
>> | #2  0x8fe0796b in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_
>> ()
>> | #3  0x8fe018b1 in
>> __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl ()
>> | #4  0x8fe01057 in __dyld__dyld_start ()
>> |
>> | Is anyone else seeing this.
>>
>> Does adding the progname module to th gnulib_modules list in the
>> bootstrap.conf file solve this problem for you?  If so, it would be
>> good to know which module in gnulib is using this symbol but not
>> listing the progname module as a dependency.
>>
>> jwe
>
> Adding progname to the gnulib_modules list resulted in a successful build.
>
> However, ...
>
>       octave:1> cd test
>       octave:2> fntests
>
>       Integrated test scripts:
>
>       `lstat' undefined near line 100 column 20

Probably you need to change the definition of the lstat function in
src/syscalls.cc from

  DEFUN (lstat, args, ,

to

  DEFUNX ("lstat", Flstat, args, ,

Similar changes might need to be made for fstat and stat.

If you type

  rpl_<TAB>

at the octave prompt, what symbols are displayed as completions?

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]