> On Mar 4, 2016, at 15:25, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> See below.
> 
>> Begin forwarded message:
>> 
>> From: Alexander Hansen <alexanderk.han...@gmail.com 
>> <mailto:alexanderk.han...@gmail.com>>
>> Subject: Re: [Fink-devel] missing dependency and a bug in (fsf-)gdb
>> Date: March 4, 2016 at 15:21:48 PST
>> To: Roseli Wedemann <rose.wedem...@gmail.com 
>> <mailto:rose.wedem...@gmail.com>>
>> Cc: fink-devel Devel <fink-devel@lists.sourceforge.net 
>> <mailto:fink-devel@lists.sourceforge.net>>
>> Reply-To: fink-devel Devel <fink-devel@lists.sourceforge.net 
>> <mailto:fink-devel@lists.sourceforge.net>>
>> 
>>> 
>>> ​After more thorough investigation, the problem was in fact the abse​nce 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.
>> 
>> 
> 
> I can make this update, if you’d like.
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 

Since this is a pretty minor fix, and I didn’t hear a “no” in the past week, 
I’ve made the change.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
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

Reply via email to