On Wed, Nov 18, 2009 at 07:37:43PM -0500, Walt Mankowski wrote:
> On Wed, Nov 18, 2009 at 07:35:20PM -0500, Alexander Hansen wrote:
> > Walt Mankowski wrote:
> > > On Wed, Nov 18, 2009 at 06:34:45PM -0500, Alexander Hansen wrote:
> > >   
> > >> Walt Mankowski wrote:
> > >>     
> > >>> On Wed, Nov 18, 2009 at 02:20:02PM -0500, Alexander Hansen wrote:
> > >>>   
> > >>>       
> > >>>> Walt Mankowski wrote:
> > >>>>     
> > >>>>         
> > >>>>> When I try to run gnuplot on Snow Leopard (10.6.2) I get the 
> > >>>>> following error:
> > >>>>>
> > >>>>>   dyld: Library not loaded: /usr/X11R6/lib/libexpat.0.dylib
> > >>>>>     Referenced from: /sw/lib/libwx_baseu_xml-2.8.0.dylib
> > >>>>>     Reason: image not found
> > >>>>>   /sw/bin/gnuplot: line 6: 83973 Trace/BPT trap         
> > >>>>> /sw/bin/gnuplotx "$@"
> > >>>>>
> > >>>>> /usr/X11R6/lib/libexpat.0.dylib does not exist, but I do have
> > >>>>> libexpat 1.5.2 in /usr/lib and /sw/lib.
> > >>>>>
> > >>>>> I tried running 'fink rebuild gnuplot', but that fails with the
> > >>>>> following error:
> > >>>>>
> > >>>>>   ld: file not found: /usr/X11R6/lib/libexpat.0.dylib
> > >>>>>
> > >>>>> Anyone know how to fix this?
> > >>>>>
> > >>>>> Thanks.
> > >>>>>
> > >>>>> Walt
> > >>>>>   
> > >>>>>       
> > >>>>>           
> > >>>> In gen
> > >>>>
> > >>>> The error is lower in the chain:  it's in
> > >>>> /sw/lib/libwx_baseu_xml-2.8.0.dylib, which is in wxgtk-shlibs.  Try
> > >>>> rebuilding hat
> > >>>>     
> > >>>>         
> > >>> I don't have wxgtk-shlibs installed, but rather wxgtk2.8-shlibs.  I
> > >>> tried rebuilding that, and it also failed on
> > >>>
> > >>>   ld: file not found: /usr/X11R6/lib/libexpat.0.dylib
> > >>>
> > >>>
> > >>>   
> > >>>       
> > >> Ah, sorry; the 2.8 is important there.  Did you upgrade from Leopard?
> > >>     
> > >
> > > I upgraded from Tiger to Leopard, and then (after some time) to Snow
> > > Leopard.
> > >
> > >   
> > >> It's a bit hard to say given the lack of context with the error message
> > >> here, but this could potentially
> > >> be a case which could be worked around via
> > >>
> > >>     sudo -s
> > >>     find /sw/lib -name *.la -delete
> > >>     fink rebuild wxgtk2.8-shlibs
> > >>     
> > >
> > > Running
> > >
> > >   find /sw/lib -name '*.la' | wc
> > >
> > > tells me I've got 502 files under there.  Many of them have been added
> > > since I upgraded to Snow Leopard, and many don't seem to have anything
> > > to do with gtk.  Are you suggesting I delete ALL of them?
> > >
> > > Walt
> > >
> > >   
> > You could grep through them and find any reference to libexpat.0.dylib
> > and delete those files.
> 
> I asked on #fink and they explained to me that they're leftover
> libtool files and not important.  So I took your advise and deleted
> them all.  I'm rebuilding now and will report back on my results.

Unfortunately, even after deleting all the *.la files and rebuilding
wxgtk2.8-shlibs, the build still aborts with the same error message:

  ld: file not found: /usr/X11R6/lib/libexpat.0.dylib


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to