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

Bug#231024: marked as done (libc6-dev: unresolved symbols for -ldl)



Your message dated Mon, 10 May 2004 12:00:46 +0900
with message-id <81fza97zq9.wl@omega.webmasters.gr.jp>
and subject line Bug#231024: libc6-dev: unresolved symbols for -ldl
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Feb 2004 01:01:49 +0000
>From neale@rnd.watchguard.com Tue Feb 03 17:01:49 2004
Return-path: <neale@rnd.watchguard.com>
Received: from rnd.watchguard.com (qubert) [208.146.43.174] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AoBQK-0008An-00; Tue, 03 Feb 2004 17:01:49 -0800
Received: from localhost (lug.wgrd.net [192.168.53.152])
	by qubert (Postfix) with ESMTP id CFDFD372A2
	for <submit@bugs.debian.org>; Tue,  4 Jan 2000 23:17:16 -0800 (PST)
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: unresolved symbols for -ldl
X-Debbugs-CC: Neale Pickett <neale@rnd.watchguard.com>
X-Face: "&g4:h\nuA>dfRaRmJ5c+Mqvu!,|5@dd>:BqJ,#G:mT3`i-EF{L>6oE?di}m\;Wil(?AS(@9j"G@o-UR8(BU$)u.%I;*K9%4Vj.fO$W9-bjxPgl%|#{^W@e#1/jZ@,G:>&;JzJrBqMqomx3Z#Hg.``g5v%R[+PzjYtAa&l@EtK{R<;.,gV`5$8Go1OJB=L`R(<)U$M4YK-t;a}oA1y([AV@r$%?AJW[:_|_*r44[Gl{3@:Ff6U9XFOJxp%lZWI-d0-1l5+6aMAOAT+Ac%q@E3t|:2;lpSwi=1"gf7g{Bz+U2MI
From: Neale Pickett <neale@rnd.watchguard.com>
Organization: WatchGuard Technologies (www.watchguard.com)
X-Thought: He found against me, and awarded my ego full access to my brain. 
	-- Ken Brush
X-PGP-Key-Fingerprint: A862 F105 13EF 7FAF 4F08  78B4 9168 856B 48BF F157
Importance: high
X-Payment: hashcash 1.2 must specify at least one of -m, -c, -n, -l, -w, -V
X-Hashcash: must specify at least one of -m, -c, -n, -l, -w, -V
Date: Tue, 03 Feb 2004 17:02:22 -0800
Message-ID: <jiptcvlkrl.fsf@lug.inside.watchguard.com>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.2 required=4.0 tests=HAS_PACKAGE,OPT_IN_CAPS,
	X_DEBBUGS_CC autolearn=no version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Package: libc6-dev
Version: 2.3.2.ds1-11
Severity: important

I apologize in advance if I am filing this bug against the wrong
package.  I'm not sure what this should be filed against.

I have an unstable system; I just did "apt-get update" and updated a few
libraries that look unrelated, although this has been happening for a
few weeks.  I am using the following in /etc/apt/sources.list, so I
think I am current with everything:

  deb http://ftp.us.debian.org/debian unstable main non-free


The problem:

I am trying to compile the following program:

---8<--- cftest.c ---8<---
#include <dlfcn.h>

int main ()
{
  dlopen ("", 0);
  return 0;
}
---8<--- cftest.c ---8<---

I get the following failure notices with three different versions of
gcc, but the program builds successfully with a stable system:

~/tmp $ gcc-2.95 -o cftest cftest.c -ldl
/fs/mama/usr/bin/../lib/libdl.so: undefined reference to `_dl_close@GLIBC_2.0'
/fs/mama/usr/bin/../lib/libdl.so: undefined reference to `_dl_addr@GLIBC_2.0'
/fs/mama/usr/bin/../lib/libdl.so: undefined reference to `_dl_open@GLIBC_2.0'
/fs/mama/usr/bin/../lib/libdl.so: undefined reference to `_dl_vsym@GLIBC_2.2'
/fs/mama/usr/bin/../lib/libdl.so: undefined reference to `_dl_sym@GLIBC_2.2'
collect2: ld returned 1 exit status

~/tmp $ gcc-3.0 -o cftest cftest.c -ldl
/usr/lib/gcc-lib/i386-linux/3.0.4/../../../libdl.so: undefined reference to `_dl_close@GLIBC_2.0'
/usr/lib/gcc-lib/i386-linux/3.0.4/../../../libdl.so: undefined reference to `_dl_addr@GLIBC_2.0'
/usr/lib/gcc-lib/i386-linux/3.0.4/../../../libdl.so: undefined reference to `_dl_open@GLIBC_2.0'
/usr/lib/gcc-lib/i386-linux/3.0.4/../../../libdl.so: undefined reference to `_dl_vsym@GLIBC_2.2'
/usr/lib/gcc-lib/i386-linux/3.0.4/../../../libdl.so: undefined reference to `_dl_sym@GLIBC_2.2'
collect2: ld returned 1 exit status

~/tmp $ gcc-3.3 -o cftest cftest.c -ldl
/fs/mama/usr/bin/../lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so: undefined reference to `_dl_close@GLIBC_2.0'
/fs/mama/usr/bin/../lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so: undefined reference to `_dl_addr@GLIBC_2.0'
/fs/mama/usr/bin/../lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so: undefined reference to `_dl_open@GLIBC_2.0'
/fs/mama/usr/bin/../lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so: undefined reference to `_dl_vsym@GLIBC_2.2'
/fs/mama/usr/bin/../lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so: undefined reference to `_dl_sym@GLIBC_2.2'
collect2: ld returned 1 exit status


Here is the output of "set" in bash.  I don't think I have any unusual
settings:

---8<---
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
BSTINPUTS=.:/home/neale/lib/tex//
COLORFGBG='0;15'
COLORTERM=rxvt
COLUMNS=142
CVS_RSH=ssh
DIRSTACK=()
DISPLAY=:0.0
DOMAINNAME=
EDITOR=zile
EUID=593
GROUPS=()
HISTFILE=/home/neale/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/neale
HOSTFILE=/home/neale/.bash_hosts
HOSTNAME=lug
HOSTTYPE=i386
IFS=$' \t\n'
LANG=C
LESS=-sMQcd
LINES=59
LOGNAME=neale
MACHTYPE=i386-pc-linux-gnu
MAIL=/home/neale/Maildir/
MAILCHECK=60
MAILPATH=/home/neale/Maildir/
MANPATH=/home/neale/man:/usr/local/man:/usr/X11R6/man:/usr/share/man:/usr/man
OLDPWD=/home/neale
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
P4CONFIG=/home/neale/src/.p4config
PAGER=/usr/bin/less
PATH=/home/neale/bin:/home/neale/src/user/neale/bin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/X11R6/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/games
PIPESTATUS=([0]="1")
PPID=2055
PS1='\[\033]0;\h${DOING:+ (}${DOING:-: \W}${DOING:+)}\007\]\h:\w\$ '
PS1_ADDON='\[\033]0;\h${DOING:+ (}${DOING:-: \W}${DOING:+)}\007\]'
PS2='> '
PS4='+ '
PSOPTS=-elf
PS_COLORS=2,0,31%2,65534,35%2,33,35%2,1,35%5,15,7%4,5,36%3,Z,30%6,1024,34
PWD=/home/neale/tmp
PYTHONPATH=/home/neale/lib/python:/home/neale/src/python
PYTHONSTARTUP=/home/neale/src/python/startup.py
SGML_SEARCH_PATH=/usr/lib/sgml/dtd/
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SSH_AGENT_PID=29856
SSH_AUTH_SOCK=/tmp/ssh-uBy29822/agent.29822
TERM=rxvt
TEXINPUTS=.:/home/neale/lib/tex//:/usr/share/texmf//
TOP_COLORS=2,0,31%2,65534,35%2,33,35%2,1,35%5,15,7%4,5,36%3,Z,30%6,1024,34
UID=593
USER=neale
WINDOWID=6291459
XAUTHORITY=/home/neale/.Xauthority
_=set
- () 
{ 
    if [ -z "$1" ]; then
        pushd >/dev/null;
    else
        if [ "$1" == "-" ]; then
            : fall through;
        else
            if [ "${1:0:1}" == "-" ]; then
                pushd +${1:1} >/dev/null;
            else
                if [ -d "$1" ]; then
                    pushd $1 >/dev/null;
                else
                    pushd +$1 >/dev/null;
                fi;
            fi;
        fi;
    fi;
    dirs -v
}
= () 
{ 
    dirs -v
}
_ () 
{ 
    if [ "$1" == "-" ]; then
        : fall through;
    else
        if [ "${1:0:1}" == "-" ]; then
            popd +${1:1} >/dev/null;
        else
            if [ -n "$1" ]; then
                popd $1 >/dev/null;
            else
                popd >/dev/null;
            fi;
        fi;
    fi;
    dirs -v
}
_bash_def_completion () 
{ 
    local h t;
    COMPREPLY=();
    if [[ "$1" == \$\(* ]]; then
        t=${1#??};
        COMPREPLY=($(compgen -c -P '$(' $t));
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ] && [[ "$1" == \$\{* ]]; then
        t=${1#??};
        COMPREPLY=($(compgen -v -P '${' -S '}' $t));
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ] && [[ "$1" == \$* ]]; then
        t=${1#?};
        COMPREPLY=($(compgen -v -P '\$' $t ));
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ] && [[ "$1" == ~* ]] && [[ "$1" != */* ]]; then
        t=${1#?};
        COMPREPLY=($( compgen -u -P '~' $t ));
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ] && [[ "$1" == *@* ]]; then
        h=${1%%@*};
        t=${1#*@};
        COMPREPLY=($( compgen -A hostname -P "${h}@" $t ));
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ]; then
        if [[ $1 == *[*?[]* ]]; then
            COMPREPLY=($( compgen -G "$1" ));
        else
            if shopt -q extglob && [[ $1 == *[?*+\!@]\(*\)* ]]; then
                COMPREPLY=($( compgen -G "$1" ));
            fi;
        fi;
    fi;
    if [ ${#COMPREPLY[@]} -eq 0 ]; then
        COMPREPLY=($(compgen -f "$1" ));
    fi
}
_complete_meta_func () 
{ 
    local cur prev cmd;
    COMPREPLY=();
    cmd=$1;
    cur=${COMP_WORDS[COMP_CWORD]};
    prev=${COMP_WORDS[COMP_CWORD-1]};
    _redir_test "$cur" "$prev" && return 0;
    if (( " $COMP_CWORD <= 1 " )) || [[ "$cur" == '-' ]]; then
        case "$cmd" in 
            complete)
                COMPREPLY=(-a -b -c -d -e -f -j -k -v -u -r -p -A -G -W -P -S -X -F -C)
            ;;
            compgen)
                COMPREPLY=(-a -b -c -d -e -f -j -k -v -u -A -G -W -P -S -X -F -C)
            ;;
        esac;
        return 0;
    fi;
    if [[ $prev == -A ]]; then
        COMPREPLY=(alias arrayvar binding builtin command directory disabled enabled export file 'function' helptopic hostname job keyword running setopt shopt signal stopped variable);
        return 0;
    else
        if [[ $prev == -F ]]; then
            COMPREPLY=($( compgen -A function $cur ));
        else
            if [[ $prev == -C ]]; then
                COMPREPLY=($( compgen -c $cur ));
            else
                COMPREPLY=($( compgen -c $cur ));
            fi;
        fi;
    fi;
    return 0
}
_cvs_func () 
{ 
    local cmds cur prev i j pos;
    cmds=(add checkout commit diff history log remove status update);
    COMPREPLY=();
    cur=${COMP_WORDS[COMP_CWORD]};
    prev=${COMP_WORDS[COMP_CWORD-1]};
    for i in ${COMP_WORDS[@]};
    do
        for j in ${cmds[@]};
        do
            if [ "$i" = "$j" ]; then
                COMPREPLY=($(compgen -f $cur));
                return 0;
            fi;
        done;
    done;
    case "$prev" in 
        -T)
            COMPREPLY=($(compgen -d $cur));
            return 0
        ;;
        -z)
            COMPREPLY=(0 1 2 3 4 5 6 7 8 9);
            return 0
        ;;
        -s | -d)
            return 0
        ;;
        *)
            COMPREPLY=($(compgen -W "${cmds[*]}" $cur));
            return 0
        ;;
    esac;
    case "$prev" in 
        -*f)
            COMPREPLY=($(compgen -f $cur ));
            return 0
        ;;
    esac;
    case "$cur" in 
        -)
            COMPREPLY=(-e -f -i -k -n -p -q -r -S -s -t);
            return 0
        ;;
    esac
}
_make_targets () 
{ 
    local mdef makef gcmd cur prev i;
    COMPREPLY=();
    cur=${COMP_WORDS[COMP_CWORD]};
    prev=${COMP_WORDS[COMP_CWORD-1]};
    case "$prev" in 
        -*f)
            COMPREPLY=($(compgen -f $cur ));
            return 0
        ;;
    esac;
    case "$cur" in 
        -)
            COMPREPLY=(-e -f -i -k -n -p -q -r -S -s -t);
            return 0
        ;;
    esac;
    if [ -f GNUmakefile ]; then
        mdef=GNUmakefile;
    else
        if [ -f makefile ]; then
            mdef=makefile;
        else
            if [ -f Makefile ]; then
                mdef=Makefile;
            else
                return;
            fi;
        fi;
    fi;
    for (( i=0 ; i < ${#COMP_WORDS[@]} ; i++  ))
    do
        if [[ ${COMP_WORDS[i]} == -*f ]]; then
            eval makef=${COMP_WORDS[i+1]};
            break;
        fi;
    done;
    [ -z "$makef" ] && makef=$mdef;
    if [ -n "$2" ]; then
        gcmd='grep "^$2"';
    else
        gcmd=cat;
    fi;
    COMPREPLY=($(cat $makef 2>/dev/null | awk 'BEGIN {FS=":"} /^[^.#         ][^=]*:/ {print $1}' | tr -s ' ' '\012' | sort -u | eval $gcmd ))
}
_p4_func () 
{ 
    local cmds cur prev i j pos;
    cmds=(help client sync add edit delete resolve revert submit);
    COMPREPLY=();
    cur=${COMP_WORDS[COMP_CWORD]};
    prev=${COMP_WORDS[COMP_CWORD-1]};
    for i in ${COMP_WORDS[@]};
    do
        for j in ${cmds[@]};
        do
            if [ "$i" = "$j" ]; then
                COMPREPLY=($(compgen -f $cur));
                return 0;
            fi;
        done;
    done;
    case "$prev" in 
        -T)
            COMPREPLY=($(compgen -d $cur));
            return 0
        ;;
        -z)
            COMPREPLY=(0 1 2 3 4 5 6 7 8 9);
            return 0
        ;;
        -s | -d)
            return 0
        ;;
        *)
            COMPREPLY=($(compgen -W "${cmds[*]}" $cur));
            return 0
        ;;
    esac;
    case "$prev" in 
        -*f)
            COMPREPLY=($(compgen -f $cur ));
            return 0
        ;;
    esac;
    case "$cur" in 
        -)
            COMPREPLY=(-e -f -i -k -n -p -q -r -S -s -t);
            return 0
        ;;
    esac
}
_redir_op () 
{ 
    case "$1" in 
        *\\'[\<\>]'*)
            return 1
        ;;
        *[\<\>]*)
            return 0
        ;;
        *)
            return 1
        ;;
    esac
}
_redir_test () 
{ 
    if _redir_op "$1"; then
        COMPREPLY=($( compgen -f "$1" ));
        return 0;
    else
        if _redir_op "$2"; then
            COMPREPLY=($( compgen -f "$1" ));
            return 0;
        fi;
    fi;
    return 1
}
_which () 
{ 
    ( unset -- $1;
    unalias -- $1;
    enable -n -- $1;
    prog=`type -a -p $1` && echo $prog | cut -f 1 -d ' ' ) 2>/dev/null || ( echo $1: not found 1>&2 && return 1 )
}
calc () 
{ 
    echo $* | bc -l
}
doing () 
{ 
    DOING="$*"
}
pss () 
{ 
    ps ${PSOPTS} | grep "\(^ \|$1\)"
}
spew () 
{ 
    prog=`_which $1` && cat $prog
}
su () 
{ 
    DOING=${1:-root} command su "$@"
}
what () 
{ 
    prog=`_which $1` && file $prog
}
where () 
{ 
    prog=`_which $1` && ( [ -L $prog ] && ls -F -lF $prog || true ) && ls -F -lLF $prog
}
which () 
{ 
    for i in $*;
    do
        _which $i 2>/dev/null;
    done
}

---8<---


Please let me know if I can provide any additional information, or if I
have filed against the wrong package.  I am very interested in helping
to find and resolve this linking error.

Thank you,

  Neale Pickett


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.20-3-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                2.3.2.ds1-11        GNU C Library: Shared libraries an
ii  linux-kernel-headers 2.5.999-test7-bk-15 Linux Kernel Headers for developme

-- no debconf information



---------------------------------------
Received: (at 231024-done) by bugs.debian.org; 10 May 2004 03:00:48 +0000
>From gotom@debian.or.jp Sun May 09 20:00:48 2004
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BN128-0004nw-00; Sun, 09 May 2004 20:00:48 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id B8FF3DEB58; Mon, 10 May 2004 12:00:46 +0900 (JST)
Date: Mon, 10 May 2004 12:00:46 +0900
Message-ID: <81fza97zq9.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Neale Pickett <neale@rnd.watchguard.com>,
	231024-done@bugs.debian.org
Cc: GOTO Masanori <gotom@debian.or.jp>,
	Daniel Jacobowitz <dan@debian.org>
Subject: Re: Bug#231024: libc6-dev: unresolved symbols for -ldl
In-Reply-To: <[🔎] ji1xm1o1tu.fsf@lug.inside.watchguard.com>
References: <jiptcvlkrl.fsf@lug.inside.watchguard.com>
	<20040204144530.GA27643@nevyn.them.org>
	<jillnilp60.fsf@lug.inside.watchguard.com>
	<20040204202430.GB2113@nevyn.them.org>
	<[🔎] 81k6zw9fcd.wl@omega.webmasters.gr.jp>
	<[🔎] ji1xm1o1tu.fsf@lug.inside.watchguard.com>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 231024-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

At Mon, 03 May 2004 10:30:37 -0700,
Neale Pickett wrote:
> > So I think Neale's environment got something broken.  Please reinstall
> > your gcc, glibc, and so on.
> 
> I've since done many dist-upgrades; the problem has gone away.  I wish
> I'd known what was actually wrong, but this bug can be closed.

Thanks for your checking.  I close this bug.  If you encounter this
problem again, please reopen this bug.

Regards,
-- gotom



Reply to: