Bug 143004 - databases/libmemcache gives 'undefined symbol' errors in amd64
Summary: databases/libmemcache gives 'undefined symbol' errors in amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
Depends on:
Reported: 2010-01-20 07:20 UTC by José Alfonso Accino
Modified: 2010-01-31 14:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description José Alfonso Accino 2010-01-20 07:20:03 UTC
I'm trying to install Auth MemCookie (http://authmemcookie.sourceforge.net/) from source in a FreeBSD 8.0-RELEASE (amd64).

I have installed required dependences as stated in Auth MemCookie docs: libevent-1.4.13, memcached-1.4.4 and libmemcache-1.4.0.rc2 (from ports).

After building and installing mod_auth_memcookie.so, I start Apache and I get an "Undefined symbol" error relative to libmemcache:

# apachectl start
httpd: Syntax error on line 111 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_memcookie.so into server: /usr/local/lib/libmemcache.so.4: Undefined symbol "mcm_buf_len"

(FWIW: I have exactly the same installation on another server with FreeBSD 7.2-RELEASE-p6 (386), with no problems at all, and Auth MemCookie is running fine there.)

How-To-Repeat: It's described in the field above. Using the package instead of building the port makes no improvement at all and results in the same error.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-01-20 07:44:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer 2010-01-31 13:52:22 UTC
mnag        2010-01-31 13:52:06 UTC

  FreeBSD ports repository

  Modified files:
    databases/libmemcache Makefile 
  Added files:
    databases/libmemcache/files patch-fix-inline 
  - Fix inline problems
  - portlint
  PR:             143004
  Notified by:    Jose Alfonso Accino <accino___uma.es>
  Revision  Changes    Path
  1.16      +2 -1      ports/databases/libmemcache/Makefile
  1.1       +69 -0     ports/databases/libmemcache/files/patch-fix-inline (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Marcus Alves Grando freebsd_committer 2010-01-31 13:53:45 UTC
State Changed
From-To: open->closed

I created a patch to solve inline problems. Please update your ports and 
verify if it works. Thanks