Activities

January 2013
M T W T F S S
« Dec   Mar »
 123456
78910111213
14151617181920
21222324252627
28293031  

make error : undefined reference to `rpl_malloc’

I’m trying to install guacd [ one of the essential component which will act as reverse proxy in between web service and RDP/VNC protocol for Guacamole HTML 5 web based RD client.

/home/installation/guacamole/guacd-0.7.0/src/daemon.c:204: undefined reference to `rpl_malloc'
/home/installation/guacamole/guacd-0.7.0/src/daemon.c:210: undefined reference to `rpl_malloc'
/home/installation/guacamole/guacd-0.7.0/src/ink-0.5.1/ink.c:157: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[1]: *** [ink] Error 1
make[1]: Leaving directory `/home/installation/guacamole/guacd-0.7.0/src/ink-0.5.1'
make: *** [all] Error 2

I notice that some options are skipped while I’m executing configure command which is checking for GNU libc compatible malloc… no. So I suspected the root cause of issue is this “libc compatible malloc”. I had started another Google search ( sorry Google hunt in my language) for that. Sooner I found it’s a dynamic link library errors. Few of the libraries in “/usr/local/lib” was not identified properly in my OS distribution. So need to add manually for that.

Solution
a. Add add “/usr/local/lib” to /etc/ld.so.conf
b. run “ldconfig”

That’s it !!! now it’s my turn to eat my rest of the Bread… haaahhhhhhhhhh.. entering to next challenge… 🙂

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>