Re: [asterisk-users] func_curl.so Error on load
Nevermind, I found the problem. Chris Brentano wrote: 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! ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: > Nevermind, I found the problem. And for the benefit of the readers of the archives: what was it? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] func_curl.so Error on load
Tzafrir Cohen schrieb: > On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: >> 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? ;-) 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 ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
On Sun, Apr 20, 2008 at 05:00:02AM +0200, Philipp Kempgen wrote: > Tzafrir Cohen schrieb: > > On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: > >> 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] func_curl.so Error on load
On Sun, Apr 20, 2008 at 02:41:17PM +0300, Tzafrir Cohen wrote: > On Sun, Apr 20, 2008 at 05:00:02AM +0200, Philipp Kempgen wrote: > > Tzafrir Cohen schrieb: > > > On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: > > >> 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 [EMAIL PROTECTED] 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) ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
> 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. ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
Tzafrir Cohen schrieb: > On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: >> 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 ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
On Sun, Apr 20, 2008 at 09:07:09AM -0500, Tilghman Lesher wrote: > Tzafrir Cohen schrieb: > > On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: > >> 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] func_curl.so Error on load
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: On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: Nevermind, I found the problem. And for the benefit of the readers of the archives: what was it? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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 ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
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 - Chris Tzafrir Cohen wrote: On Sun, Apr 20, 2008 at 09:07:09AM -0500, Tilghman Lesher wrote: Tzafrir Cohen schrieb: On Sat, Apr 19, 2008 at 11:11:53AM -0700, Chris Brentano wrote: 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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 ___ -- 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
Re: [asterisk-users] func_curl.so Error on load
On Sun, Apr 20, 2008 at 07:37:32PM -0700, Chris Brentano wrote: > 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. > ... > > 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] func_curl.so Error on load
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: 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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 ___ -- 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