Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
763 Views

cannot find -ldl

Hi, 

I use 

nios2gcc-20080203.tar.bz2 

and nios2-linux-20100621.tar 

to build uclinux,and they work well. 

 

But when I build my c and c++ files,I get a error: 

 

/usr/local/src/opt/nios2/bin/../lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/bin/ld.real: cannot find -ldl 

 

how can i solve that?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
42 Views

IIRC you can't link to "dl" (dynamic loader/linker(?)) on uclinux/uclibc. You'll have to take that out of your build. If your program relies on it (for some sort of plugins maybe?) it's not going to work.

Reply