[erlang-questions] where is lib file of erl_driver

Xu Cao <>
Wed Jun 17 11:34:18 CEST 2009

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

More information about the erlang-questions mailing list