[Gems-users] forcing a link in compiling Ruby


Date: Mon, 11 Jul 2005 12:28:37 -0500
From: "ayu" <ayu@xxxxxxxxxxxxx>
Subject: [Gems-users] forcing a link in compiling Ruby
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'

[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] forcing a link in compiling Ruby, ayu <=