[Gems-users] Ruby compiling question, 'gzopen' not found!


Date: Sat, 24 Mar 2007 17:28:57 -0400 (EDT)
From: "WANG,DEXIANG" <camelwdx@xxxxxxx>
Subject: [Gems-users] Ruby compiling question, 'gzopen' not found!
Dear GEMS experts:

I'm still struggling in the Ruby compilation issues, can anyone help me? I use Ubuntu 6.06, following is the command line dump. It seems that I still have not correctly installed zlib. I used "Synaptic Package Manager" and installed zip, zliblg and zliblg-dev. I can found libz.a libz.so libz.so.1.2.3 in "/usr/lib/". Could you please help check it? Many thanks and waiting for your reply.
x86-linux/generated/MOSI_SMP_bcast/obj/gzstream.o: In function 
`gzstreambuf::open(char const*, 
int)':../common/gzstream/gzstream.C:61: undefined reference to 
`gzopen'
x86-linux/generated/MOSI_SMP_bcast/obj/gzstream.o: In function 
`gzstreambuf::close()':../common/gzstream/gzstream.C:72: undefined 
reference to `gzclose'
x86-linux/generated/MOSI_SMP_bcast/obj/gzstream.o: In function 
`gzstreambuf::underflow()':../common/gzstream/gzstream.C:90: 
undefined reference to `gzread'
x86-linux/generated/MOSI_SMP_bcast/obj/gzstream.o: In function 
`gzstreambuf::flush_buffer()':../common/gzstream/gzstream.C:107: 
undefined reference to `gzwrite'collect2: ld returned 1 exit 
status
make[1]: *** [x86-linux/generated/MOSI_SMP_bcast/bin/tester.exec] 
Error 1
make[1]: Leaving directory `/home/camelwdx/Desktop/gems/ruby'
make: *** [all] Error 2


Dexiang Wang
U. of Florida

[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] Ruby compiling question, 'gzopen' not found!, WANG,DEXIANG <=