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

Edmund Troche edmund at troche.org
Tue Mar 26 08:23:51 UTC 2002


The dlopen and dlerror calls are in the source files in the ldso directory,

but I don't think they get built unless you set HAVE_SHARED=true.


Edmund

Julien Herfurth wrote:

> 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
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc




More information about the uClibc mailing list