[SR-Users] memcached loading problem

Alex Balashov abalashov at evaristesys.com
Wed Nov 28 10:01:43 CET 2012


I tracked this down:

http://svnweb.freebsd.org/ports/head/databases/libmemcache/files/patch-fix-inline?revision=248965&view=co

 From here:

http://pietercvdmlinux.blogspot.com/2012/07/building-modauthmemcookie-on-fedora.html

And it seems to have fixed the linking problem.

However, this really makes me wonder if libmemcached is the right 
library to use for memcached.  :-)

On 11/28/2012 03:56 AM, Alex Balashov wrote:

> When one Googles hard enough, one eventually finds:
>
> http://gijsbert.org/downloads/cmemcache/libmemcache-1.4.0.rc2.patch
>
> I applied it to the source tree and reinstalled libmemcache and rebuilt
> the memcached module, but it doesn't fix the problem:
>
> -- Alex
>
> On 11/28/2012 03:50 AM, Alex Balashov wrote:
>
>> Hello,
>>
>> So, I built the memcached module against the latest Git production
>> branch of memcached and libmemcache-1.4.0.rc2 (the latest available), on
>> Debian i386.
>>
>> But when I try to load the Kamailio memcached module:
>>
>> Nov 28 03:47:44 diminuendo-1 kamailio: ERROR: <core> [sr_module.c:572]:
>> ERROR: load_module: could not open module
>> </usr/local/lib/kamailio/modules/memcached.so>:
>> /usr/lib/libmemcache.so.0: undefined symbol: mcm_buf_len
>>
>> I find that very odd, because the symbol is quite clearly exported in
>> the library:
>>
>> diminuendo-1:~# nm /usr/lib/libmemcache.so.0 | grep -i mcm_buf_len
>>           U mcm_buf_len
>>
>> Does anyone have any idea what the underlying linking issue is here?
>>
>> -- Alex
>>
>
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list