LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices


Closed Thread
  Search this Thread
Old 11-05-2011, 03:04 PM   #1
conrad143
LQ Newbie
 
Registered: Nov 2011
Location: Cheam, Surrey
Distribution: Ubunto 11.04 April 2011
Posts: 4

Rep: Reputation: Disabled
Question Installing and running LibCurl Library C Programs (UBUNTO 14.04)


Hi, I am new to Linux Programming and am studying the WROX Book "Professional Linux Programming".Chapter 5 (Network Programming), page 141 describes installation of libcurl libraries and using libcurl library functions in a simple program called getweb.c.

LibcURL used for Network Programming functions in the libcurl libraries. Supposed to be easier than using raw sockets. The 'socket' programming examples all worked brilliantly.


The installation of libcurl libraries 7.15.5 seemed to work using
$ tar -zxvf curl-7.15.5.tar.gz
cd curl-7.15.5
./configure
make
make test
make install (after logging back in as "root")

The getweb.c program compiled ok.

But.. when trying to run it I get:
"libcurl.so.4: cannot open shared object file: No such file or directory "

I modified the ld.so.config file (as 'root' user to save changes), but I am not sure whether just adding the line "include /usr/local/lib" beneath the existing one did anything. It still does not work and gives the same error message.

Can anyone help with this please?

Thank you.

Last edited by conrad143; 11-05-2011 at 03:06 PM. Reason: spotted spelling mistake
 
Old 11-06-2011, 02:23 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I've reported this as a double post of this thread. In future, please use the "Report" button to ask the moderators to move your thread.
 
Old 11-06-2011, 04:53 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 11-06-2011, 03:32 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Closed. The question is there: http://www.linuxquestions.org/questi...ectory-912061/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems in installing programs in ubunto TobiSGD Linux - Desktop 2 04-27-2011 04:07 AM
Looking for open source library better than Libcurl Kunsheng Programming 6 11-09-2009 10:42 AM
install from source - unable to find the libcurl library - but library is installed pulper Linux - Newbie 2 02-23-2009 09:00 PM
When running programs: Locale not supported by C library miceagol Linux - General 2 06-02-2006 04:46 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration