[erlang-questions] where is lib file of erl_driver

Raymond Xiong <>
Wed Jun 17 13:17:27 CEST 2009


Sorry for the confusion :(  I did a quick a search under my erlang
direcotry and couldn't find it in any libraries either (although
it was used by serveral libraries).

On 06/17/09, Xu Cao wrote:
> And I have checked the source code of erl_rx_driver.c. The function 
> dirver_alloc_binary is not implemented there.
> It seems that erl_rx_driver.so is not the one I need.
> 
> Raymond Xiong ??:
> >It's under ${ERLANG_ROOT}/lib/common_test-${ver}/priv/lib.
> >ERLANG_ROOT is usually /usr/lib/erlang or /lib/erlang, depending
> >on how erlang is installed on your machine. You can find that by
> >checking where erl command point to (it is a symbol link usually)  
> >
> >On 06/17/09, ?? wrote:
> >  
> >>Hi:
> >>  The following error prompted when I compiled my source code:
> >>
> >>undefined reference to `driver_alloc_binary'
> >>
> >>  I have included the erl_driver.h but it seems that the lib file can 
> >>not be located correctly.
> >>  So where can I find the lib file?
> >>  Thanks a lot.
> >>
> >>________________________________________________________________
> >>erlang-questions mailing list. See http://www.erlang.org/faq.html
> >>erlang-questions (at) erlang.org
> >>
> >>    
> >
> >  
> 

-- 
Regards,
Raymond


More information about the erlang-questions mailing list