Hi there, I'd want to know how can I statically link icecast 2 when compiling it on my laptop. I want to compile it there, then just copy the final statically linked executable on a server which doesn't currently have the appropriate libraries (and for which upgrading is currently not an option). I've searched a lot, and tried --enable-static and --disable-shared, but these options don't do this, they are for library generation, not for library linking. The only solution I can think of is to manually modify the automatically generated makefiles, which is IMHO completely stupid. (I admit this problem has nothing to do with IceCast but more probably with autoconf/automake, but IceCast is the software I need to compile) Thanks in advance for any help bye Jerome Alet -- "Now that I'm connected to the Internet, everybody seems to know that I've got a small dick." - Me. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi everybody, I am wondering if anyone knows an open source Applet or ActiveX for p2p streaming. Cheers, MAX -----Original Message----- From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org] On Behalf Of Jerome Alet Sent: Monday, February 23, 2004 4:35 PM To: icecast@xiph.org Subject: [icecast] statically link icecast2. Hi there, I'd want to know how can I statically link icecast 2 when compiling it on my laptop. I want to compile it there, then just copy the final statically linked executable on a server which doesn't currently have the appropriate libraries (and for which upgrading is currently not an option). I've searched a lot, and tried --enable-static and --disable-shared, but these options don't do this, they are for library generation, not for library linking. The only solution I can think of is to manually modify the automatically generated makefiles, which is IMHO completely stupid. (I admit this problem has nothing to do with IceCast but more probably with autoconf/automake, but IceCast is the software I need to compile) Thanks in advance for any help bye Jerome Alet -- "Now that I'm connected to the Internet, everybody seems to know that I've got a small dick." - Me. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 2004-02-23 at 15:35, Jerome Alet wrote:> The only solution I can think of is to manually modify the > automatically generated makefiles, which is IMHO completely stupid.Assuming gcc is used (the default many cases) and provided you have the static libs installed, you should be able to build it statically with make CFLAGS=-static karl. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, Feb 23, 2004 at 03:58:13PM +0000, Karl Heyes wrote:> On Mon, 2004-02-23 at 15:35, Jerome Alet wrote: > > > The only solution I can think of is to manually modify the > > automatically generated makefiles, which is IMHO completely stupid. > > Assuming gcc is used (the default many cases) and provided you have the > static libs installed, you should be able to build it statically with > > make CFLAGS=-staticThis doesn't seem to work. If I use the file command on the icecast executable, it still says that the file is dynamically linked. If I use ldd I've got : port50-2:~/icecast-2.0.0/src$ ldd icecast libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x4002a000) libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x40059000) libdl.so.2 => /lib/libdl.so.2 (0x4014a000) libz.so.1 => /usr/lib/libz.so.1 (0x4014e000) libpthread.so.0 => /lib/libpthread.so.0 (0x4015f000) libm.so.6 => /lib/libm.so.6 (0x401b0000) libc.so.6 => /lib/libc.so.6 (0x401d2000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) port50-2:~/icecast-2.0.0/src$ All the libraries above exist both as a .so and as a .a Interestingly, when I compile without the CFLAGS=-static, there are additionnal libraries when I do an ldd, and executable is smaller, so I suspect that the statical linking worked somewhat, but not completely : in fact it worked for all "non-system" libraries. Any other idea ? Thanks in advance bye Jerome Alet -- "Now that I'm connected to the Internet, everybody seems to know that I've got a small dick." - Me. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
HidayahOnline.org Admin
2004-Aug-06 14:23 UTC
[icecast] Seeking in a static icecast stream
I currently utilize Icecast on my website, but I am looking for the same kind of functionality as I get with realaudio server when I stream static content - namely, the ability to seek, show the time remaining, etc, especially with Vorbis audio. I realize the intent of Icecast is to serve mainly live, streaming content (or at least radio-style content), but I utilize it mostly for streaming static files already on my webserver. Does anyone have any tips on whether or not this is at all possible with Icecast, and/or if there are any other open-source projects (barring the Helix DNA server project), that would offer this on a WinXP platform? Thanx in advance! --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.