This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
libiberty reports: "undefined reference to dlopen"
- To: binutils at sourceware dot cygnus dot com
- Subject: libiberty reports: "undefined reference to dlopen"
- From: "Jeff W." <jeff at dark-techno dot org>
- Date: Tue, 3 Jul 2001 16:16:32 -0400 (EDT)
I tried compiling a program that depends on libiberty, and I got these
messages when compiling:
g++ -I../include -w -I/usr/local/dyninst/core/dyninstAPI/h
tau_run.cpp -o tau_run -L/usr/local/dyninst/lib/ -ldyninstAPI -liberty
-lelf
/usr/lib/libiberty.a(cplus-dem.o): In function `init_demangler':
cplus-dem.o(.text+0xae7): undefined reference to `dlopen'
cplus-dem.o(.text+0xaf6): undefined reference to `dlerror'
cplus-dem.o(.text+0xb1b): undefined reference to `dlsym'
cplus-dem.o(.text+0xb2c): undefined reference to `dlerror'
collect2: ld returned 1 exit status
I'm on a Debian system. I had installed the latest stable release of
binutils-dev, still got the above messages, so grabbed the newest tarball
of it (2.11.something, newer than the debs), and am still getting the same
error. I'm assuming I've just done something retarded as opposed to it
being a bug in libiberty. Does anyone know what might be the
problem? Thanks.
--
/---------------------------------\
Jeff W., jeff@dark-techno.org
ICQ# 17989474
"It's substance, not process"
http://dark-techno.org
http://logic-slave.org