> Hi,
>
> I know this message is a bit old, but I ran into the same problem... and
> yes
> I was using Simon's source RPM.

I'm still wondering why you have those problems? I'm building on up to
date EL5.4 i386 and x86_64 and don't see this issue.

I saw /usr/local/ mentioned in the post below. Do you have some things
there? I mean libs installed from source, like google-perftools? From what
I can tell building pound from my src rpm with google-perftools also built
from my src rpm should work on a vanilla RedHat/CentOS system.

One thin could be that a buildreq is missing in the spec file and the
missing package is installed on my system but not on yours?

Regards,
Simon

>
> The only solution I found was to do the following before running configure
> or building the RPM:
>
> export ac_cv_func_malloc_0_nonnull=yes
>
> I also had to un-install google-perftools otherwise pound would just seg
> fault. I am still trying to figure this part out, but at least I have it
> where it appears to run now. If anyone has any thoughts pelase let me
> know.
>
> Anyway, in case anyone else has this problem, that was how I fixed it.
>
> I am running an up-to-date CentOS 5.4 x32 running under XEN (possibly
> related???).
>
> John D.
>
>
> On Sat, Jun 20, 2009 at 2:55 AM, Simon Matter
> <[email protected]>wrote:
>
>> > 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).
>>
>> You may want to try my RPMs http://www.invoca.ch/pub/packages/pound/
>>
>> Regards,
>> Simon
>>
>>
>> --
>> To unsubscribe send an email with subject unsubscribe to [email protected].
>> Please contact [email protected] for questions.
>>
>
>
> --
> To unsubscribe send an email with subject unsubscribe to [email protected].
> Please contact [email protected] for questions.
>



--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to