[yt-users] installing yt on mac OS bzlib issue

Matthew Turk matthewturk at gmail.com
Wed May 18 12:20:48 PDT 2011


Hi JC,

Are you setting CC and CXX to gcc-4.2 and g++-4.2, as the note in the
install script mentions you might have to?  I believe that it's
getting the OSX gcc, which would use the "-bundle" argument, but it
should instead be getting the old-school gcc-4.2, which accepts
"-shared".

-Matt

On Wed, May 18, 2011 at 3:03 PM, Jean-Claude Passy <jcpassy at gmail.com> wrote:
> Hi all,
>
> I am able to install yt on my Mac if I turn off the Bzlib option. When it is
> turned on, the installation fails the following way:
>
> -----------------------------------------------------------------------------------------------------------------------------
> echo ".so man1/bzgrep.1" >
> /Users/jean-claudepassy/Work/yt-i386/man/man1/bzegrep.1 echo ".so
> man1/bzgrep.1" > /Users/jean-claudepassy/Work/yt-i386/man/man1/bzfgrep.1
> echo ".so man1/bzmore.1" >
> /Users/jean-claudepassy/Work/yt-i386/man/man1/bzless.1 echo ".so
> man1/bzdiff.1" > /Users/jean-claudepassy/Work/yt-i386/man/man1/bzcmp.1 gcc
> -shared -Wl,-install_name -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o
> huffman.o crct\ able.o randtable.o compress.o decompress.o bzlib.o Undefined
> symbols:   "_main", referenced from:       start in crt1.10.5.o ld:
> symbol(s) not found collect2: ld returned 1 exit status make: *** [all]
> Error 1
> -----------------------------------------------------------------------------------------------------------------------------
>
> Does anyone have an idea how to fix this ?
>
> Thanks a lot,
>
> JC
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>



More information about the yt-users mailing list