General :: Using Libcurl In C Program / Consume Webservices?
Feb 9, 2011I have need to call webservices using libcurl through C program under ubuntu environment. Ho can I do this. I am unable to call web service using curl.
View 4 RepliesI have need to call webservices using libcurl through C program under ubuntu environment. Ho can I do this. I am unable to call web service using curl.
View 4 RepliesI am trying to run C++ program on linux.
My program consume a lot of memory so that the memory is used up fast and memory swap is very high.
I can find this by "ps" .
My program is long.
I need to find out which part of my program consume so much memory ?
I'm using debian and, though i'm new to c++, i'm writing a program using it which needs some HTTPs functionalities . I found these libcurl libraries could help me but I haven been able to use them from my program. I installed them (power trio configure -make -make install ) but i guess i'm doing something wrong ... i feel like i should copy or link them somehow in my project (besides the include sentences in my code). I hope you could give me a hand with this im quite lost
View 9 Replies View RelatedIn Linux, is it possible to know which processes consume most battery energy at the moment?
View 1 Replies View RelatedI am trying to install AMANDA onto a RH Linux4 client, but when I type in: rpm -i amanda-backup_client-2.6.1p2-1.rhel4.i386.rpm
I get the error:
libcurl.so.3 is needed by amanda-backup_client-2.6.1p2-1.rhel4.i386
Suggested resolutions:
/var/spool/up2datecurl-7.12.1-11.el4.ppc.rpm
I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.
[code]....
I am very new to ubuntu, I would like to ask whether it is possible to check whether libcurl has been installed?
View 2 Replies View RelatedI'm new to Linux and am trying to install libcurl to use in my c++ code on my fedora 14 system. I went to the libcurl site and downloaded the binary package for Redhat Linux 7.2 on i386. There was no download for Fedora.It was an .rpm package and so I used rpm -i libcurl4-7.21.7-1.i386.rpm to install it.
I received the following errors:
error: Failed dependencies:
libcom_err.so.3 is needed by libcurl4-7.21.7-1.i386
libcrypto.so.2 is needed by libcurl4-7.21.7-1.i386
libgdbm.so.2 is needed by libcurl4-7.21.7-1.i386
liblber.so.2 is needed by libcurl4-7.21.7-1.i386
libldap.so.2 is needed by libcurl4-7.21.7-1.i386
libsasl.so.7 is needed by libcurl4-7.21.7-1.i386
libssl.so.2 is needed by libcurl4-7.21.7-1.i38
Do I need to simply download these files? Or is it a problem of downloading the wrong binary package?
If I do need to download them then from where?
---------- Post added at 04:12 PM ---------- Previous post was at 04:10 PM ----------
Never mind, I just did a yum install libcurl and it worked out......
yum is pretty amazing.
I have to retrieve a http request from a particular port using libcurl. I'm using localhost .I am done with retrieving http request using socket programming. how to start integration of libcurl in simple socket programming code.
View 1 Replies View RelatedI have been working on this for a long time.
I could get the static libcurl library ( a "libcurl.lib" file and a "curl.h" file), which supposed to be working under Windows.
Yet I tried Visual c++ 6.0 but it wasn't working at all.
Some idea on that ? I don't mind to try MinGW and Dev C++ if it will really work. (Cygwin is not good since it require client to have cygwin.dll in run-time folder).
I just recently upgraded from 11.3 to 11.4 (via zypper dup after adding the 11.4 repositories, no problems there besides the usual ATI HD2400XT video driver issues I _always_ have). I then installed VirtualBox. VirtualBox refused to start with the following error:
pk1048@img:~> VirtualBox
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: /usr/lib64/libcurl.so.4: undefined symbol: libssh2_knownhost_init
VirtualBox: Tip! It may help to reinstall VirtualBox.
pk1048@img:~>
and the advice to reinstall VirtualBox seems misplaced. The problem appears to be an incomparability between the installed libcurl and libssh2 as follows:
pk1048@img:~> ldd -r /usr/lib64/libcurl.so.4
linux-vdso.so.1 => (0x00007fff2c59d000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007fb03c2d9000)
libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fb03c092000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb03be88000)
code....
And yast online update claims that both are up to date, in fact these appear to be the only versions of these packages in the 11.4 repositories.
I am still running Debian Lenny and have found that the curl version 7.18 is just too outdated for my needs, I would rather not do an upgrade just yet to the stable release of squeeze. I was looking for some information on how I could install a newer version of curl and libcurl without breaking my system.
View 8 Replies View RelatedI am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies View RelatedI have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies View RelatedHow do I create a program file for a new program?
View 1 Replies View RelatedI will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.
View 3 Replies View RelatedDoes anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?
View 3 Replies View Relatedi am running ubuntu 10.04. I am looking for a converting program and I also need a DVD making program. I'm unsure if one comes preinstalled already.
View 4 Replies View Relatedi want to integrate audio library with android driver by using ALSA plug-in And now, i try to compile ".so" code from library that I'd downloaded from web-site. what program can i use to compile .so file
View 3 Replies View RelatedOk so Basically i have 2 questions
1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux
Code:
2. i need to know how to run/execute/open a file in a c++ program im using and its not working
Code:
I want to run a file off the Internet with GNU Debugger. So I download the tar.gz file off the Internet, and I extract it and compile it. Then in the directory of the compiled source, I type: gdb -q ./whatever.cwhere "whatever.c" is the name of the file I want to runHowever, when I do this gdb doesn't have access to the source code, so I cant do much with it. So is there any way I can make it have access to the source code
View 10 Replies View Related1) In one of the pages about the differences between Linux and Windows it mentioned that new drivers mans updating the kernal. In windows something like this would erase everything. Can the kernal be updated without losing everything? 2) Can you have more than 1 account on mint? (ex: Owner, Billy, Guest...)2.2) ...Can the accounts have different access levels? (ex: Admin vs user)2.3) ...Is it possible for one account to run a program the others don't? (ex: Billy's account will load a video enhancer program on start up, but as I don't watch as many videos my account won't.)
3) How can I tell which themes/add ons will and will not work on my Firefox once I have switched to Mint?4) One of the games that I would like to follow me on the transition does not work in Linux but supposedly works in WINE according to the manufacturer. Would WINE or something like it be available in Mint?5) How hard is it to make your own theme in Mint? I'm very attached to a theme I have used for over a decade now and reproduce it in every computer I use. Can icons from windows be imported? About the computer:This will be a home computer in a multi-user household. It will be a brand new build starting from scratch with a few old personal files (videos, pictures, music, ect) making the leap. The computer is mostly used for internet, music/movies, light office work, art (GIMP!), and some games (most of which can run on Linux).
I would like to get the the current application "focus". On my Ubuntu desktop, I can use the following in my c program to get the focus:
applicationName[128];
memset(applicationName, 127, 0);
system("xprop -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | awk '{print $5}'` | grep "WM_CLASS(STRING)" > test");
[Code]....
I have a system daemon that I would like to get the application focus from.
This works fine on my my Ubuntu 10.0.4 LTS, 2.6.32-26-generic desktop, but doesn't work on my Ubuntu 10.0.4 LTS, 2.6.31-22-generic laptop. If I restart my daemons by hand on the laptop - it's all good. For some reason my laptop won't boot 2.6.32-26.
i have a program called teamviewer and i want to get it to start if it stops in terminal is i type teamviewer it starts the program but my script is not working
#!/bin/sh
#Script to check if the teamviewer are running.
#Script is written by joesto1
process=`ps auxwww | grep teamviewer | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
[Code]....
I should know how to do this, but. Using Ubuntu Jaunty. I have tried using dpkg --purge no joy
Code:
I installed ubuntu 10.04.1 in my computerand it did not run
View 6 Replies View Relatedi need a program in c that forks parent and child process...first parent process sends a message with its id...then child process replies to parent and has to print its id like "My id is"and its parent id like "my parent id is"...
View 1 Replies View Related