Re: Compilation problem with libexpat.
Jody Goldberg <jody <at> gnome.org>
2005-04-21 13:01:44 GMT
On Thu, Apr 21, 2005 at 01:44:57AM -0300, John Coppens wrote:
> On Thu, 21 Apr 2005 00:13:47 -0400
> Jody Goldberg <jody <at> gnome.org> wrote:
> > On Mon, Apr 18, 2005 at 02:25:59AM -0300, John Coppens wrote:
> > > Hello people.
> > >
> > > I have my libexpat in /usr/X11/lib, which is correctly included in all
> > > paths, but for some reason, compiling libgnomeprint-2.8.2, insists
> > > that it be in /usr/bin, and I have the following error:
> > >
> > > ranlib .libs/libgnomeprint-lpr.a
> > > creating libgnomeprint-lpr.la
> > > /usr/bin/sed: can't read /usr/lib/libexpat.la: No such file or
> > > directory libtool: link: `/usr/lib/libexpat.la' is not a valid
> > > Can anyone point me in the right direction?
> > You probably have a package that installed a .la file that
> > references it there. It shouldn't do that.
> That must have been the cause. I was updating loads of packages, tried
> again later to compile gnome-print, and it worked without problems. I
> wonder if there is a tool to crosscheck all libraries/.la's - that'd be
> handy. According to reports on the 'net, lots of people have these kind of
grep will get the job done in a pinch.