Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 2002 09:23:39 -0700
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        ezislis <kesor@mail.ru>
Cc:        George <jirka@5z.com>, gnome@FreeBSD.ORG
Subject:   Re: GDM 2.4.0.x & FreeBSD
Message-ID:  <1026663819.8748.144.camel@zircon.zircon.seattle.wa.us>
In-Reply-To: <20020714022457.D40369-100000@finone.ulp.co.il>
References:  <20020714022457.D40369-100000@finone.ulp.co.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-07-13 at 16:26, ezislis wrote:
> On 13 Jul 2002, Joe Kelsey wrote:
> 
> > Every other problem I have experienced with gnome2 has been traceable to
> > font issues.  Try doing an ldd on gnome-session and see if you have any
> > funny issues with respect to shared libraries.  I found an old version
> > of freetype2 that somehow got linked before the new version and so there
> > were two conflicting versions of freetype2 linked into gnome-session
> > causing it to core dump.  In dealing with all of the gnome2 issues, I
> > have found that the only way to make sure is to carefully look at all
> > libraries and executables to make sure nothing is going on with shared
> > library issues, such as the pango libc thing or my freetype thing with
> > gnome-session.
> >
> > Of course, all of these shared library issues would evaporate if ld-elf
> > was not so literal about libraries...
> 
> yeah, the backtraces always end up in freetype library somewhere.
> 
> But how exactly would I see that all the library versions are in order?

The way I discovered the freetype problem locally was just 'ldd
gnome-session'.  The output showed /usr/X11R6/lib/freetype.so.6 *and*
/usr/local/lib/freetype.so.9!  The one in X11R6 was left over from an
incompletely cleand out freetype before it moved to local.

Normally, a properly written ld-elf should not allow loading two
different versions of the same library, but the people responsible for
FreeBSD ld-elf seem to think that there is some reason to allow this
perversion.  I have never encountered a situation where a properly
running application would want or need to load the same library from two
different locations.  No other version of UNIX that I have ever used
allows this sort of behavior (e.g., Linux, Solaris, AIX, etc.)

/Joe

> for example, something like :
> > ldd /usr/X11R6/lib/lib* | grep freetype
> returns different hexes at each line, is that okay or it indicates different versions?
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026663819.8748.144.camel>