Re: [Gems-users] update: forcing a link in compiling Ruby


Date: Mon, 11 Jul 2005 13:49:10 -0500
From: "ayu" <ayu@xxxxxxxxxxxxx>
Subject: Re: [Gems-users] update: forcing a link in compiling Ruby
Hello,

  Please disregard this question. I realized that I needed to modify the
Makefile under ~/gems/ruby/module by adding the -L option there.

Thanks,
Andy

----- Original Message Follows -----
> Hello,
> 
>    In the following error, it's looking for a libz.a file that is
> 32bit. The 64bit is in my home directory. I thought by setting the
> Makefile to look there using the -L flag on the previous occasion
> should have resolved this. I tried to see where it is looking for that
> file, but couldn't find any. How else can I force it to look for
> libz.a in my home directory.
> 
> Thanks,
> Andy
> 
> ..
> === Building module "ruby" using the 2.0 API ===
> Linking ruby.so
> ld: warning: file /usr/local/lib/libz.a(gzio.o): wrong ELF class:
> ELFCLASS32
> /tmp/tool/gems/simics/v9-sol8-64/lib/ruby.so: ld.so.1:
> /tmp/tool/gems/simics/v9-sol8-64/bin/simics-common: fatal: relocation
> error: file /tmp/tool/gems/simics/v9-sol8-64/lib/ruby.so: symbol
> gzread: referenced symbol not found
> gmake[2]: *** [/tmp/tool/gems/simics/v9-sol8-64/lib/ruby.so] Error 1
> gmake[2]: *** Deleting file
> `/tmp/tool/gems/simics/v9-sol8-64/lib/ruby.so'
> make[1]: *** [ruby] Error 2
> make[1]: Leaving directory `/tmp/tool/gems/simics/v9-sol8-64/lib'
> 
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
[← Prev in Thread] Current Thread [Next in Thread→]
  • Re: [Gems-users] update: forcing a link in compiling Ruby, ayu <=