[OpenSIPS-Devel] [ opensips-Bugs-3432019 ] undefined symbol: memcached_servers_reset

SourceForge.net noreply at sourceforge.net
Thu Nov 3 10:23:52 CET 2011


Bugs item #3432019, was opened at 2011-11-01 21:39
Message generated for change (Comment added) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3432019&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Ryan Bullock (rrb3942)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: undefined symbol: memcached_servers_reset

Initial Comment:
When attempting to load cachedb_memcached.so I receive the following error:

Nov  1 12:19:03 [17158] ERROR:core:sr_load_module: could not open module </usr/local/lib64/opensips/modules/cachedb_memcached.so>: /usr/local/lib64/opensips/modules/cachedb_memcached.so: undefined symbol: memcached_servers_reset

Opensips information:
version: opensips 1.8.0-dev0-notls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:8517M
@(#) $Id: main.c 8506 2011-10-21 10:21:10Z vladut-paiu $
main.c compiled on 12:03:20 Nov  1 2011 with gcc 4.4.5

System information:
Scientific Linux 6.1
2.6.32-131.17.1.el6.x86_64 #1 SMP Wed Oct 5 17:19:54 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux
libmemcached-devel-0.31-1.1.el6.x86_64
libmemcached-0.31-1.1.el6.x86_64


----------------------------------------------------------------------

>Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2011-11-03 11:23

Message:
Hello,

On second thought, I do not think that calling memcached_servers_reset si
absolutely needed there. 
I have just committed a fix for this on trunk. Can you please check out
and let me know if everything is ok now ?

Regards,
Vlad

----------------------------------------------------------------------

Comment By: Ryan Bullock (rrb3942)
Date: 2011-11-02 17:36

Message:
Thanks for the response. I was just testing going from 1.7 to trunk and
started receiving that error.

That is the current version that is shipping with SL6 and RHEL6, so it may
unfortunately be around for awhile.

Could this be turned into a more informative error (e.g you need version
>= 0.4)? Or perhaps one at compile time?

Looks like I will be building myself an updated libmemcached.

Thanks again.

----------------------------------------------------------------------

Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2011-11-02 11:23

Message:
Hello Ryan,

Seem you are using quite an old version of libmemcached. If you upgrade
it, I think the problem will dissapear. I am currently using 0.40 and I do
not get this error message.

Still, I will try to see if there is a work-around for this in older
libmemcached versions.

Regards,
Vlad
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3432019&group_id=232389



More information about the Devel mailing list