In case anybody is experiencing a similar issue, I solved this and
here's what was happening.  There were something like 6 versions of
libcurl between /usr/lib and /usr/local/lib.  libcurlpp seemed hell
bent on using libcurl.so.4 which seemed to be somehow tied to the
paypal payflow sdk.  When I removed the deprecated sdk stuff from the
make file libcurl.so.4 started failing during compile time because it
was missing things.  The application was also for some reason using /
usr/local/lib/libcurl.so  which was symlinked to version 2 or
something in the /usr/lib folder.

After cleaning up the makefile and symlinking both libcurl versions
used to /usr/local/lib/libcurl.so.3 which works with the curlpp
example programs, the application stopped dying.  Now I'm getting
runtime errors that it can't connect to the host, but removing all the
curl options except url solves that.  So cURL works but one of the
options I have set doesn't.  Not sure which option's actually breaking
it, but solving this will be a treat compared to solving the last one.

Thanks for you help.

On Aug 17, 4:52 pm, Jean-Philippe Barette-LaPierre
<[email protected]> wrote:
> On Mon, Aug 17, 2009 at 4:26 PM, tatebn <[email protected]> wrote:
>
> > ldd httpd
> >        libm.so.6 => /lib/tls/libm.so.6 (0x4001d000)
> >        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40040000)
> >        libdl.so.2 => /lib/libdl.so.2 (0x4006d000)
> >         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
> >        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> > Don't see libcurl in there.
>
> > I have like 11 httpd processes running for some reason.  I'm afraid to
> > restart apache because
>
> > apachectl configtest
> > Syntax error on line 208 of /etc/httpd/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/
> > local/apache/libexec/libphp4.so: undefined symbol: ap_signal
>
> > I don't want to not be able to start it.
>
> I'm very sorry, but at this point I can no longer help you. This is a mess.
> I'm sorry,
> but you'll have to get answers from somebody else. I can refer you to some
> consultants
> which would be happy to help, but I don't have any time left to help you.
>
> www.savoirfairelinux.com
>
> Again, I'm very sorry.
>
>
>
> > Also just to verify: strace -p [httpd's pid]   correct?
>
> > On Aug 17, 4:17 pm, Jean-Philippe Barette-LaPierre
> > <[email protected]> wrote:
> > > On Mon, Aug 17, 2009 at 4:12 PM, tatebn <[email protected]> wrote:
>
> > > > how would I use this on a program that runs from a web browser?
>
> > > man strace
>
> > > :)
>
> > > Essentially you can attach strace to a running program (your webserver).
> > > BTW, you should run ldd on the webserver.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"curlpp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/curlpp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to