> On Mar 4, 2016, at 14:56, Roseli Wedemann <rose.wedem...@gmail.com> wrote: > > Dear Alexander, > > Let me reply below your comments: > > On Thu, Mar 3, 2016 at 8:12 PM, Alexander Hansen > <alexanderk.han...@gmail.com> wrote: > <switching to plain text> > > > On Mar 3, 2016, at 14:07, Roseli Wedemann <rose.wedem...@gmail.com> wrote: > > > > Hello, > > > > I tried to install fsf-gdb and gdb via fink today on OS X El Capitan > > 10.11.3. > > > > There is no “fsf-gdb” Fink package. I can only assume that you mean the > “fsf-gdb” executable in the “gdb” package, and that “gdb” refers to the “gdb” > executable from the “apple-gdb” package. > > You are right, sorry for the confusion. > > When filing bug reports with us use the _package_ names, not just the > _executable_ names. > > > First of all, a dependency is missing (libtool needed to be installed > > manually for fsf-gdb [perhaps also for gdb]). > > > > What error did you get? The packages build OK for me without libtool2 (there > is no “libtool" for 10.11). If you got a build or linker error that > pertains to some other package then that only impacts (apple-)gdb indirectly > and should be filed as a bug against _that_ package. > > After more thorough investigation, the problem was in fact the absence of > libtool2-shlibs (which is installed as a dependency of libtool2). The > libtool2-shlibs seems to provide libltdl.7.dylib. > > Without libtool2-shlibs the error I got when executing the fsf-gdb command > was: > > dyld: Library not loaded: /sw/lib/libltdl.7.dylib > Referenced from: /sw/lib/libguile-2.0.22.dylib > Reason: image not found > Trace/BPT trap: 5 >
> (I installed the binary version of the gdb package via fink, i.e. the above > is not related to the build process. You might have built successfully > without libtool2 but you perhaps have libtool2-shlibs installed) > I removed libtool2, which should prevent the build from finding libtool2-shlibs. In any case, the problem is with guile20(-shlibs). Since fsf-gcc doesn’t link to /sw/lib/libltdl.7.dylib it doesn’t need a dependency on libtool2, but guile20-shlibs does. > Please note that the apple-gdb package (in contrast to the gdb package) can > run properly even with libtool2-shlibs absent. > > apple-gdb doesn’t link to /sw/lib/libguile-2.0.22.dylib, so this is to be expected. > > > Secondly, gdb runs ok via sudo, but not without sudo (I did the code > > signing as described in the package description). For the error see below: > > > > gdb IntFokkerPlanck > > GNU gdb 6.3.50.20050815-cvs (Thu Oct 15 12:32:49 UTC 2015) > > Copyright 2004 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you are > > welcome to change it and/or distribute copies of it under certain > > conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for details. > > This GDB was configured as "i686-apple-darwin15.0.0"...Reading symbols for > > shared libraries .. done > > > > (gdb) break 154 > > Breakpoint 1 at 0x10000080f: file IntFokkerPlanck.c, line 154. > > (gdb) run > > Starting program: > > /Users/roseliwedemann/tudo/Neural/FokkerPlanckModel/Program/IntFokkerPlanck > > Unable to find Mach task port for process-id 1257: (os/kern) failure (0x5). > > (gdb) > > > > > > Thirdly, fsf-gdb does not run via sudo nor without sudo. > > > > error with sudo: > > > > sudo fsf-gdb IntFokkerPlanck > > Password: > > Throw without catch before boot: > > Throw to key misc-error with args ("primitive-load-path" "Unable to find > > file ~S in load path" ("ice-9/boot-9") #f)Aborting. > > > > > > error without sudo: > > > > fsf-gdb IntFokkerPlanck > > Throw without catch before boot: > > Throw to key misc-error with args ("primitive-load-path" "Unable to find > > file ~S in load path" ("ice-9/boot-9") #f)Aborting. > > Abort trap: 6 > > > > Can you please help me solve the above problems / fix the missing > > dependency? > > > > Cheers, > > > > -- > > Roseli S. Wedemann > > Instituto de Matemática e Estatística > > Coordenadora do Programa de Pós-graduação em Ciências Computacionais > > Head of the Computational Science Graduate Program > > Universidade do Estado do Rio de Janeiro > > R. São Francisco Xavier 524, 6 andar > > 20550-900, Rio de Janeiro, RJ > > ros...@ime.uerj.br > > I don’t reproduce these errors when I try an executable here. However, > please don’t assume that we are experts in the details of every package. > Since you’ve built something from outside of Fink, it’s hard for us to > reproduce what you’ve done. If you can provide a test case (sources and > build procedure) that might help us. > > The error occurs also when running just the fsb-gdb binary (installed as a > binary via fink, i.e. not a custom compiled version) without any arguments > (i.e. without anything outside of fink). > > without sudo: > fsf-gdb > Throw without catch before boot: > Throw to key misc-error with args ("primitive-load-path" "Unable to find file > ~S in load path" ("ice-9/boot-9") #f)Aborting. > Abort trap: 6 > > with sudo: > sudo fsf-gdb > Password: > Throw without catch before boot: > Throw to key misc-error with args ("primitive-load-path" "Unable to find file > ~S in load path" ("ice-9/boot-9") #f)Aborting. > > > I am sending the fsf-gdb executable attached as a file. > > > Cheers, > > Peter > > and > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > > > Sorry, I should have been more clear. What I meant by "Since you’ve built something from outside of Fink, it’s hard for us to reproduce what you’ve done. If you can provide a test case (sources and build procedure) that might help us.” wasn’t that you had a custom fsf-gdb or gdb. It was that your “IntFokkerPlanck” isn’t something from within Fink. But, since you see the error just from fsf-gdb, and since you sent your fsf-gdb executable, I tried _your_ executable and it works for me: $ sudo ~/Downloads/fsf-gdb GNU gdb (GDB) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin15.3.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". (I’m not in a position to try it without sudo because I’m at work and I don’t want to reboot my system for the code sign setup) There may be something in your environment which *gdb doesn’t like. Send us the output of “printenv”, perhaps. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel