/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-06 / undefined reference to rpl_malloc

[ << ] [ >> ]

[ Timeouts, backend kills and resurrects / Albert ... ] [ TLS named virtual hosts and Pound / Matti Aarnio ... ]

undefined reference to rpl_malloc
"Jacob Anderson" <jwa(at)beyond-ordinary.com>
2009-06-20 02:12:52 [ FULL ]
Hello,

I am trying to build pound 2.4.4 against PCRE and google-perftools.

(a) installed PCRE using "yum install pcre-devel"

(b) downloaded, extracted, and built the google-perftools from the google
code site. Using version 1.3. No problems here.

(c) added "/usr/local/lib" to the ld.so.conf just to be sure (that's where
the tmalloc libs are located).

(d) ran "./configure" in the pound source directory

(e) ran "make"

Got this error:

# make
gcc  -pthread -o pound pound.o http.o config.o svc.o -lpcreposix -lssl
-lcrypto -lresolv -ldl   -lm -ltcmalloc
pound.o: In function `main':
/opt/Pound-Perf-2.4.4/pound.c:421: undefined reference to `rpl_malloc'
/opt/Pound-Perf-2.4.4/pound.c:428: undefined reference to `rpl_malloc'
http.o: In function `get_headers':
/opt/Pound-Perf-2.4.4/http.c:386: undefined reference to `rpl_malloc'
/opt/Pound-Perf-2.4.4/http.c:404: undefined reference to `rpl_malloc'
config.o: In function `file2str':
/opt/Pound-Perf-2.4.4/config.c:602: undefined reference to `rpl_malloc'
config.o:/opt/Pound-Perf-2.4.4/config.c:113: more undefined references to
`rpl_malloc' follow
collect2: ld returned 1 exit status
make: *** [pound] Error 1

This is on an updated CentOS 5.3 (ran yum update just before all of this).

Any ideas?
[...]

Re: [Pound Mailing List] undefined reference to rpl_malloc
"Simon Matter" <simon.matter(at)invoca.ch>
2009-06-20 12:55:25 [ FULL ]
> Hello,[...]

You may want to try my RPMs http://www.invoca.ch/pub/packages/pound/

Regards,
Simon

MailBoxer