Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] func_curl.so Error on load


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
chris.brentano at jive...
Guest





PostPosted: Sat Apr 19, 2008 1:11 pm    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

Nevermind, I found the problem.
Chris Brentano wrote:
Quote:
Asterisk 1.4.19, Zaptel 1.4.10 and libpri 1.4.3. When I try to start
up Asterisk (with -cvvv) I get an error regarding func_curl.so

(lines omitted)
...
== Registered custom function STRFTIME
== Registered custom function STRPTIME
== Registered custom function EVAL
== Registered custom function KEYPADHASH
== Registered custom function SPRINTF
func_strings.so => (String handling dialplan functions)
== Registered application 'ADSIProg'
app_adsiprog.so => (Asterisk ADSI Programming Application)
asterisk: symbol lookup error: /usr/lib/asterisk/modules/func_curl.so:
undefined symbol: curl_global_init

This is on CentOS 5.1, kernel 2.6.18-53.1.14 on an i686. Both curl and
curl-devel 7.15.5-2.el5 are installed. Is there a symlink somewhere
that Asterisk is looking for? Or does it need a newer version of curl?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080419/5ea239a8/attachment.htm
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sat Apr 19, 2008 7:29 pm    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Sat Apr 19, 2008 10:00 pm    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

Tzafrir Cohen schrieb:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Sometimes I get the impression that it's an illusion to think
someone would actually care to read the archives.

(btw: How many concurrent calls can Asterisk handle, rougly? Wink
Regards,
Philipp Kempgen

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de

Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Apr 20, 2008 6:41 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

On Sun, Apr 20, 2008 at 05:00:02AM +0200, Philipp Kempgen wrote:
Quote:
Tzafrir Cohen schrieb:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Sometimes I get the impression that it's an illusion to think
someone would actually care to read the archives.

Google, yahoo, and such read the archives. And you often run into them
when searching for answers on related questions.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
jra at baylink.com
Guest





PostPosted: Sun Apr 20, 2008 7:10 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

On Sun, Apr 20, 2008 at 02:41:17PM +0300, Tzafrir Cohen wrote:
Quote:
On Sun, Apr 20, 2008 at 05:00:02AM +0200, Philipp Kempgen wrote:
Quote:
Tzafrir Cohen schrieb:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Sometimes I get the impression that it's an illusion to think
someone would actually care to read the archives.

Google, yahoo, and such read the archives. And you often run into them
when searching for answers on related questions.

Oh, my; yes.

Nothing drives me further up the wall than googling up a 17-posting
thread on an obscure question I have, and having the last post be "got
it, thanks".

The *price you pay* for other people helping you in the open source
community is posting the final message saying what it was and how you
fixed it. It's not optional, even just a little bit.

Come to think of it, there is one thing: finding 17 different people
asking variations of the same question in threads with no replies at
all. Over 5 years.

Yep, at least half a dozen times.

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
Back to top
greymanvoip at gmail.com
Guest





PostPosted: Sun Apr 20, 2008 8:38 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

Quote:
Oh, my; yes.

Nothing drives me further up the wall than googling up a 17-posting
thread on an obscure question I have, and having the last post be "got
it, thanks".

The *price you pay* for other people helping you in the open source
community is posting the final message saying what it was and how you
fixed it. It's not optional, even just a little bit.

Come to think of it, there is one thing: finding 17 different people
asking variations of the same question in threads with no replies at
all. Over 5 years.

Yep, at least half a dozen times.


I can think of one thing that would drive me further up the wall.
Finding a post where someone claimed they had the solution but instead
of posting it for all to benefit from instead carried on with inane
comments! Or maybe you are trying to get to the 17 posts to prove your
theory!

Greyman.
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Sun Apr 20, 2008 9:07 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

Tzafrir Cohen schrieb:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Fair money on the prospect that he failed to put /usr/local/lib in
/etc/ld.so.conf and run ldconfig.

--
Tilghman
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Apr 20, 2008 9:36 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

On Sun, Apr 20, 2008 at 09:07:09AM -0500, Tilghman Lesher wrote:
Quote:
Tzafrir Cohen schrieb:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:
Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Fair money on the prospect that he failed to put /usr/local/lib in
/etc/ld.so.conf and run ldconfig.

I'll take your bet:

| This is on CentOS 5.1, kernel 2.6.18-53.1.14 on an i686. Both curl and | curl-devel 7.15.5-2.el5 are installed. Is there a symlink somewhere that
| Asterisk is looking for? Or does it need a newer version of curl?
libcurl is installed in /usr/lib .

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
chris.brentano at jive...
Guest





PostPosted: Sun Apr 20, 2008 9:37 pm    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

When I ran ./configure, which completed successfully, I noticed that it
complained about the PKG_CONFIG_PATH and not being able to find libcurl:

(lines omitted)
...
checking for curl-config... /usr/bin/curl-config
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
...

Which, was ridiculous that it finished ./configure and didn't error out
on the spot, since without this small piece of the puzzle Asterisk would
not run.

So I just did a export PKG_CONFIG_PATH=/usr/lib/pkgconfig and reran
./configure and it was happy again.

- Chris
Tzafrir Cohen wrote:
Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:

Quote:
Nevermind, I found the problem.


And for the benefit of the readers of the archives: what was it?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080420/d36b79cd/attachment.htm
Back to top
chris.brentano at jive...
Guest





PostPosted: Mon Apr 21, 2008 12:53 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

BTW, I did this and it did not work unfortunately.

My /etc/ld.so.conf looks like:

include ld.so.conf.d/*.conf
/lib
/usr/lib

<shrug>

- Chris

Tzafrir Cohen wrote:
Quote:
On Sun, Apr 20, 2008 at 09:07:09AM -0500, Tilghman Lesher wrote:

Quote:
Tzafrir Cohen schrieb:

Quote:
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote:

Quote:
Nevermind, I found the problem.

And for the benefit of the readers of the archives: what was it?

Fair money on the prospect that he failed to put /usr/local/lib in
/etc/ld.so.conf and run ldconfig.


I'll take your bet:

| This is on CentOS 5.1, kernel 2.6.18-53.1.14 on an i686. Both curl and | curl-devel 7.15.5-2.el5 are installed. Is there a symlink somewhere that
| Asterisk is looking for? Or does it need a newer version of curl?
libcurl is installed in /usr/lib .

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080420/adf588c4/attachment.htm
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 21, 2008 1:46 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

On Sun, Apr 20, 2008 at 07:37:32PM -0700, Chris Brentano wrote:
Quote:
When I ran ./configure, which completed successfully, I noticed that it
complained about the PKG_CONFIG_PATH and not being able to find libcurl:

(lines omitted)
...
checking for curl-config... /usr/bin/curl-config
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found

Sounds like autoconf not looking good enough. Or a bug in the package
you used.

Quote:
...

Which, was ridiculous that it finished ./configure and didn't error out
on the spot, since without this small piece of the puzzle Asterisk would
not run.

It will: libcurl is not required for building Asterisk. Generally for
most of the optional libraries, the confogure script of Asterisk will
silently fail if they are not installed.

I don't think you want to have to install snmp, unixodbc, openh323,
libpri, libvpb and whatever just to get Asterisk built.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
chris.brentano at jive...
Guest





PostPosted: Mon Apr 21, 2008 2:10 am    Post subject: [asterisk-users] func_curl.so Error on load Reply with quote

Generally I'd agree. But it could at least more adequately notify the
user, even if they are compiling on a different system than where it
will be running on. It just seems that in most cases people will be
compiling on the system they will be installing on. This is what they
teach at the Asterisk Bootcamp, fwiw.
Tzafrir Cohen wrote:
Quote:
It will: libcurl is not required for building Asterisk. Generally for
most of the optional libraries, the confogure script of Asterisk will
silently fail if they are not installed.

I don't think you want to have to install snmp, unixodbc, openh323,
libpri, libvpb and whatever just to get Asterisk built.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080421/636f845b/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services