Hi Todd,
thanks for your response. with a previous version, that ran on the box
just fine (0.1.4), I had the problem that cookies that were set via
"Set-Cookie" didn't seem to be used at all - i.e. upon inspecting the
headers of the connection, I didn't find any even though I had
explicitly enabled cookies - is this fixed in the current version?
It's not really hard to do this manually, but this was the main reason
for me to switch to the new version of curb.
the unit tests don't seem to pass:
Finished in 0.17543 seconds.
1) Error:
test_download_bad_url_gives_404(TestCurbCurlDownload):
Curl::Err::ConnectionFailedError: couldn't connect to server
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:40:in `perform'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:40:in `download'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:33:in `open'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:33:in `download'
./tests/tc_curl_download.rb:22:in
`test_download_bad_url_gives_404'
2) Error:
test_download_url_to_file(TestCurbCurlDownload):
Curl::Err::ConnectionFailedError: couldn't connect to server
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:40:in `perform'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:40:in `download'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:33:in `open'
/opt/taf2-curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/lib/
curb.rb:33:in `download'
./tests/tc_curl_download.rb:14:in `test_download_url_to_file'
3) Error:
test_delete_remote(TestCurbCurlEasy):
Curl::Err::ConnectionFailedError: couldn't connect to server
./tests/tc_curl_easy.rb:479:in `http_delete'
./tests/tc_curl_easy.rb:479:in `test_delete_remote'
4) Error:
test_get_remote(TestCurbCurlEasy):
Curl::Err::ConnectionFailedError: couldn't connect to server
./tests/tc_curl_easy.rb:467:in `http_get'
./tests/tc_curl_easy.rb:467:in `test_get_remote'
5) Error:
test_head_remote(TestCurbCurlEasy):
Curl::Err::ConnectionFailedError: couldn't connect to server
./tests/tc_curl_easy.rb:485:in `http_head'
./tests/tc_curl_easy.rb:485:in `test_head_remote'
6) Error:
test_post_remote(TestCurbCurlEasy):
Curl::Err::ConnectionFailedError: couldn't connect to server
./tests/tc_curl_easy.rb:473:in `http_post'
./tests/tc_curl_easy.rb:473:in `test_post_remote'
7) Error:
test_put_remote(TestCurbCurlEasy):
Curl::Err::ConnectionFailedError: couldn't connect to server
./tests/tc_curl_easy.rb:495:in `http_put'
./tests/tc_curl_easy.rb:495:in `test_put_remote'
74 tests, 338 assertions, 0 failures, 7 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby -I"/opt/taf2-
curb-0a4fd75422...]
(See full trace by running task with --trace)
On Apr 1, 5:25 pm, Todd Fisher <
todd.fis...@gmail.com> wrote:
> Florian,
> Can you try rebuilding with the attached patch:
>
> patch -p0 < rstring_ptr.patch
>
> Thanks,
> Todd
>
> On Wed, Apr 1, 2009 at 3:12 PM, Florian <
floleib...@gmail.com> wrote:
>
> > When trying to build against the latest libcurl, I get this error:
> > ....................................................................../
> > usr/bin/ruby: symbol lookup error: /opt/taf2-
> > curb-0a4fd75422141a6c6e77eb237b9238eee9035d4b/ext/curb_core.so:
> > undefined symbol: RSTRING_PTR
> > rake aborted!
>
> > Thanks,
> > Florian
>
> > On Apr 1, 11:46 am, Florian <
floleib...@gmail.com> wrote:
> > > Hi,
> > > I am encountering problems with Curb:
> > > Passenger ApplicationSpawner: /www/vinos: symbol lookup error: /usr/
> > > lib/ruby/gems/1.8/gems/curb-0.3.2/lib/curb_core.so: undefined
> > symbol:curl_global_init
>
> > > Is this a known bug?
>
> > > Thanks,
> > > Florian
>
> rstring_ptr.patch
> < 1KViewDownload