Hi guys,
I'm trying to build player 3.1(latest from trunk)  with stage 4.1.1(latest from master) and I'm stuck in some linking issue while building stage. The error it's pretty straightforward but I dont have much experience with cmake so I don't really know where to look.

Linking CXX shared library libstage.so
[ 57%] Built target stage
Scanning dependencies of target stagebinary
[ 58%] Building CXX object libstage/CMakeFiles/stagebinary.dir/main.o
Linking CXX executable stage
libstage.so.4.1.1: error: undefined reference to 'dlopen'
collect2: ld returned 1 exit status
make[2]: *** [libstage/stage] Error 1
make[1]: *** [libstage/CMakeFiles/stagebinary.dir/all] Error 2
make: *** [all] Error 2

If you guys have any hints, please share.

Thanks,
Radu