Folks; I am having a hell of a time trying to get IceCast 2.0 installed on an Apple XServe running OS X 10.2.3. The problem seems to stem from one of the libraries required by IceCast, specifically libvorbis. When running MAKE in an attempt to install libvorbis I get the following: <p>Making all in examples /bin/sh ../libtool --mode=link gcc -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char -DUSE_MEMORY_H -all-static -o decoder_example decoder_example.o ../lib/libvorbis.la -lm -logg gcc -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char -DUSE_MEMORY_H -static -o decoder_example decoder_example.o ../lib/.libs/libvorbis.a -lm /usr/local/lib/libogg.a ld: can't locate file for: -lcrt0.o make[1]: *** [decoder_example] Error 1 make: *** [all-recursive] Error 1 [ibiza:/var/libvorbis] pulver% <p>When I google this I can find lots of instances of makes being unable to locate this file on OSX, but very little help that is applicable to this scenario, so in desperation I have turned to you all. I've also tried installing libvorbis from FINK and have had huge difficulty there as well. Hopefully if someone does help me this will get archived, as it seems to be a problem common to OS X on installing various bits of software. The attached screenshot shows how confused FINK is by the two libvorbis libraries. The error message was when trying to install from source. It wouldn't let me install the binaries at all, presumably because they aren't there. <p><p> <hr noshade> <img src="att-7128/01-finkshot.gif" alt="finkshot.gif"> -------------- next part -------------- A non-text attachment was scrubbed... Name: finkshot.gif Type: application/octet-stream Size: 41518 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20040510/e62d8ff9/finkshot.obj
Thanks Ralph; Maybe it's me. I wiped out my whole /var/libvorbis directory, dropped in a new one from the libvorbis-1.0.1.tar.gz file including all the subdirectories, and edited /var/libvorbis/examples/Makefile.fm as instructed. I then ran ./configure without difficulty, then ran make again, which started afresh but still ended up with the same error: gcc -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char -DUSE_MEMORY_H -static -o decoder_example decoder_example.o ../lib/.libs/libvorbis.a -lm /usr/local/lib/libogg.a ld: can't locate file for: -lcrt0.o make[1]: *** [decoder_example] Error 1 make: *** [all-recursive] Error 1 [ibiza:/var/libvorbis] pulverradio# I was sudo'd when performing all of these commands. I'm getting pretty desperate. I don't need to make any modifications to the already-installed libogg do I? -Ian. <p><p>On 10-May-04, at 5:05 PM, Ralph Giles wrote:> On Mon, May 10, 2004 at 04:48:17PM -0700, Ian Andrew Bell wrote: > >> When running MAKE in an attempt to install libvorbis I get the >> following: >> [...] >> ld: can't locate file for: -lcrt0.o >> make[1]: *** [decoder_example] Error 1 > > Ouch, sorry about that. We need to do a new release to fix this. > Apple broke static linking at some point (I thought it was just 10.3, > but apparently not). They claim it was never supported, but this > is (obviously) just a bug. There's no static version of the library > in question, so static linking against the system libs always fails > and no one told libtool. > > The fix is to comment out the line > > LDFLAGS = -all-static > > in vorbis/examples/Makefile.am and rebuild. > >> When I google this I can find lots of instances of makes being unable >> to locate this file on OSX, but very little help that is applicable to >> this scenario, so in desperation I have turned to you all. I've also >> tried installing libvorbis from FINK and have had huge difficulty >> there >> as well. Hopefully if someone does help me this will get archived, as >> it seems to be a problem common to OS X on installing various bits of >> software. > > I've installed the fink versions without trouble, but I can't tell from > the screenshot what's going wrong for you. > > Hope that helps, > -r > --- >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, May 10, 2004 at 04:48:17PM -0700, Ian Andrew Bell wrote:> When running MAKE in an attempt to install libvorbis I get the > following: > [...] > ld: can't locate file for: -lcrt0.o > make[1]: *** [decoder_example] Error 1Ouch, sorry about that. We need to do a new release to fix this. Apple broke static linking at some point (I thought it was just 10.3, but apparently not). They claim it was never supported, but this is (obviously) just a bug. There's no static version of the library in question, so static linking against the system libs always fails and no one told libtool. The fix is to comment out the line LDFLAGS = -all-static in vorbis/examples/Makefile.am and rebuild.> When I google this I can find lots of instances of makes being unable > to locate this file on OSX, but very little help that is applicable to > this scenario, so in desperation I have turned to you all. I've also > tried installing libvorbis from FINK and have had huge difficulty there > as well. Hopefully if someone does help me this will get archived, as > it seems to be a problem common to OS X on installing various bits of > software.I've installed the fink versions without trouble, but I can't tell from the screenshot what's going wrong for you. Hope that helps, -r --- >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.