DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: libc update versus missing symbol?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 15:40:52 -0700


On Wed, 27 Apr 2005, Jeroen Ruigrok/asmodai wrote:

> -On [20050426 22:42], walt (wa1ter@xxxxxxxxxxxxx) wrote:
> >I'm trying to separate libc problems from gcc34 problems, and my
> >ignorance is getting in my way :o(
> >
> >For example:
> >$ gnome-dictionary
> >/usr/libexec/ld-elf.so.1: /usr/local/lib/libpopt.so.0: Undefined symbol
> >"__libc_ctype_"
> >
> >I've just recompiled popt but I had to hack a few things (because, of
> >course, it won't compile with gcc34) so now I'm not sure whether the
> >missing symbol is because of my hacks or because of the libc updates.
>
> if you do nm on libpopt.so.0 it should list that __libc_ctype_ as U.
> (Undefined)

Correct.


> Now do something like:
> nm /usr/lib/lib*.so.* | grep ctype

Hm.  All the libs in my /usr/lib are stripped, but I did what you
suggested in /usr/obj/usr/src/world_i386/usr/lib/ and I found the
symbol defined in libc.so.5, exactly where I would expect it to be.

> devel/popt compiles cleanly on my April 21st system.  How recent is your
> machine?

I notice that Joerg did the citrus import *on* April 21.  Maybe your last
update was just before that:
/*      $DragonFly: src/include/ctype.h,v 1.6 2005/04/21 16:36:34 joerg Exp $ */


> And I have been compiling with GCC 3.4 for a looong while now. ;)

Mee too!  But I confess I gave up trying to compile any ports with
gcc34 about two months ago because I just don't have the skills to fix
most of the *big* ones like gnome/kde.  Thank the programming gods for
xfce4, which continues to work in spite of everything!




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]