Hello, I built the entire Vorbis kit on my PowerMac G4 running OSX 10.4.6. I'm having problems however doing anything with the libao package. Any time I try to use the library to link it errors out with the following message: /usr/bin/ld: Undefined symbols: _dlsym_auto_underscore collect2: ld returned 1 exit status If I try to run the ogg123 application I get this: [ukiel:OGG/vorbis-tools-1.1.1/ogg123] wind% ./ogg123 dyld: lazy symbol binding failed: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace dyld: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace Trace/BPT trap Any ideas? TIA, -- Gala Gala Wind (301) 614-6221 wind@climate.gsfc.nasa.gov Code 613.2, Climate and Radiation SSAI, Inc. NASA/GSFC Greenbelt, MD 20771 /*-------------------------------------------------------------------- -- There's always a way, you just have to find it. ( B. Hambly "Children of the Jedi" ) ----------------------------------------------------------------------*/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20061004/75ffd4d1/attachment.html
According to this:http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg03120.html try adding -L/sw/lib to the compilation. Silvia. -----Original Message----- From: ogg-dev-bounces@xiph.org on behalf of wind Sent: Thu 10/5/2006 5:19 AM To: ogg-dev@xiph.org Cc: Subject: [ogg-dev] problem using libao on OSX 10.4 Hello, I built the entire Vorbis kit on my PowerMac G4 running OSX 10.4.6. I'm having problems however doing anything with the libao package. Any time I try to use the library to link it errors out with the following message: /usr/bin/ld: Undefined symbols: _dlsym_auto_underscore collect2: ld returned 1 exit status If I try to run the ogg123 application I get this: [ukiel:OGG/vorbis-tools-1.1.1/ogg123] wind% ./ogg123 dyld: lazy symbol binding failed: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace dyld: Symbol not found: _dlsym_auto_underscore Referenced from: /usr/local/lib/libao.2.dylib Expected in: flat namespace Trace/BPT trap Any ideas? TIA, -- Gala Gala Wind (301) 614-6221 wind@climate.gsfc.nasa.gov Code 613.2, Climate and Radiation SSAI, Inc. NASA/GSFC Greenbelt, MD 20771 /*-------------------------------------------------------------------- -- There's always a way, you just have to find it. ( B. Hambly "Children of the Jedi" ) ----------------------------------------------------------------------*/
I don't have /sw directory on my machine. Is that some other package I have to download? On Oct 5, 2006, at 10:49 AM, <Silvia.Pfeiffer@csiro.au> <Silvia.Pfeiffer@csiro.au> wrote:> According to this:http://www.mail-archive.com/fink- > users@lists.sourceforge.net/msg03120.html > try adding -L/sw/lib to the compilation. > > Silvia. > > -----Original Message----- > From: ogg-dev-bounces@xiph.org on behalf of wind > Sent: Thu 10/5/2006 5:19 AM > To: ogg-dev@xiph.org > Cc: > Subject: [ogg-dev] problem using libao on OSX 10.4 > > Hello, > > I built the entire Vorbis kit on my PowerMac G4 running OSX 10.4.6. > I'm having problems however doing anything with the libao package. > Any time I try to use the library to link it errors out with the > following message: > > /usr/bin/ld: Undefined symbols: > _dlsym_auto_underscore > collect2: ld returned 1 exit status > > If I try to run the ogg123 application I get this: > > [ukiel:OGG/vorbis-tools-1.1.1/ogg123] wind% ./ogg123 > dyld: lazy symbol binding failed: Symbol not found: > _dlsym_auto_underscore > Referenced from: /usr/local/lib/libao.2.dylib > Expected in: flat namespace > > dyld: Symbol not found: _dlsym_auto_underscore > Referenced from: /usr/local/lib/libao.2.dylib > Expected in: flat namespace > > Trace/BPT trap > > > Any ideas? > > TIA, > > -- Gala > > > Gala Wind > (301) 614-6221 > wind@climate.gsfc.nasa.gov > Code 613.2, Climate and Radiation > SSAI, Inc. > NASA/GSFC > Greenbelt, MD 20771 > > /*-------------------------------------------------------------------- > -- There's always a way, you just have to find it. > ( B. Hambly "Children of the Jedi" ) > ---------------------------------------------------------------------- > */ > > > > >Gala Wind (301) 614-6221 wind@climate.gsfc.nasa.gov Code 613.2, Climate and Radiation SSAI, Inc. NASA/GSFC Greenbelt, MD 20771 /*-------------------------------------------------------------------- -- There's always a way, you just have to find it. ( B. Hambly "Children of the Jedi" ) ----------------------------------------------------------------------*/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20061006/f19feebf/attachment.html
I installed fink and now I have the /sw/lib, however that didn't fix my problem. I went as far as to take out the - Ddlsym=dlsym_auto_underscore out of the configuration files. Now however the libao package won't build at all and yips about this: [ukiel:/MP3/OGG/libao-0.8.6] wind% make Making all in src Making all in plugins Making all in oss make[3]: Nothing to be done for `all'. Making all in esd /bin/sh ../../../libtool --mode=link gcc -D__NO_MATH_INLINES - fsigned-char -g -O2 -o libesd.la -rpath /usr/local/lib/ao/plugins-2 -module -avoid-version ao_esd.lo -L/usr/local/lib -lesd -laudiofile - lm -lpthread *** Warning: Linking the shared library libesd.la against the loadable module *** libesd.so is not portable! gcc -flat_namespace -undefined suppress -o .libs/libesd.so - bundle .libs/ao_esd.o -L/usr/local/lib /MP3/OGG/libao-0.8.6/src/ plugins/esd/.libs/libesd.so /usr/local/lib/libesd.dylib /usr/local/ lib/libaudiofile.dylib -lm -lpthread powerpc-apple-darwin8-gcc-4.0.0: /MP3/OGG/libao-0.8.6/src/plugins/ esd/.libs/libesd.so: No such file or directory make[3]: *** [libesd.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Another question I have though beside this even, is that once I do get the vorbis tools to build. Am I actually going to get any sound out of my Mac or do I have to now write my own drivers in order the get the thing to actually work? -- Gala On Oct 5, 2006, at 10:49 AM, <Silvia.Pfeiffer@csiro.au> <Silvia.Pfeiffer@csiro.au> wrote:> According to this:http://www.mail-archive.com/fink- > users@lists.sourceforge.net/msg03120.html > try adding -L/sw/lib to the compilation. > > Silvia. > > -----Original Message----- > From: ogg-dev-bounces@xiph.org on behalf of wind > Sent: Thu 10/5/2006 5:19 AM > To: ogg-dev@xiph.org > Cc: > Subject: [ogg-dev] problem using libao on OSX 10.4 > > Hello, > > I built the entire Vorbis kit on my PowerMac G4 running OSX 10.4.6. > I'm having problems however doing anything with the libao package. > Any time I try to use the library to link it errors out with the > following message: > > /usr/bin/ld: Undefined symbols: > _dlsym_auto_underscore > collect2: ld returned 1 exit status > > If I try to run the ogg123 application I get this: > > [ukiel:OGG/vorbis-tools-1.1.1/ogg123] wind% ./ogg123 > dyld: lazy symbol binding failed: Symbol not found: > _dlsym_auto_underscore > Referenced from: /usr/local/lib/libao.2.dylib > Expected in: flat namespace > > dyld: Symbol not found: _dlsym_auto_underscore > Referenced from: /usr/local/lib/libao.2.dylib > Expected in: flat namespace > > Trace/BPT trap > > > Any ideas? > > TIA, > > -- Gala > > > Gala Wind > (301) 614-6221 > wind@climate.gsfc.nasa.gov > Code 613.2, Climate and Radiation > SSAI, Inc. > NASA/GSFC > Greenbelt, MD 20771 > > /*-------------------------------------------------------------------- > -- There's always a way, you just have to find it. > ( B. Hambly "Children of the Jedi" ) > ---------------------------------------------------------------------- > */ > > > > >Gala Wind (301) 614-6221 wind@climate.gsfc.nasa.gov Code 613.2, Climate and Radiation SSAI, Inc. NASA/GSFC Greenbelt, MD 20771 /*-------------------------------------------------------------------- -- There's always a way, you just have to find it. ( B. Hambly "Children of the Jedi" ) ----------------------------------------------------------------------*/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20061006/4e0ebbdc/attachment-0001.htm