[uClibc]uclibc-0.9.10 : undefined references to dlopen and dlerror

Julien Herfurth jherfurth at arafox.com
Tue Mar 26 13:30:38 UTC 2002


Hi all,

First of all : uClibc is very great work ! Thanks for that.

I'm trying to build iptables with uClibc, an I get the following errors
:



cc -O2 -DNDEBUG -Wall -Wunused
-I/home/julien/router/linux-2.4.17/include -Iinclude/
-DNETFILTER_VERSION=\"1.2.5\"  -DIPT_LIB_DIR=\"/usr/lib/iptables\"
-rdynamic -o iptables iptables-standalone.c iptables.o libiptc/libiptc.a
-ldl
iptables.o: In function `find_match':
iptables.o(.text+0x828): undefined reference to `dlopen'
iptables.o(.text+0x85e): undefined reference to `dlerror'
iptables.o: In function `find_target':
iptables.o(.text+0xf6f): undefined reference to `dlopen'
iptables.o(.text+0xfa7): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [iptables] Error 1
rm libiptc/libip6tc.o libiptc/libip4tc.o

I think I'm missing something, but I can't see what. I installed uClibc
in the standard way. I only enabled the shadow password support. My PATH
is set to /usr/i386-linux-uclibc/bin:$PATH.

Could somebody help me, please ?


	Julien




More information about the uClibc mailing list