I have read all the posts and google output on zlib which rubygem
install (and any require) cannot find.
I have rerun ext/zlib
rs6000:/huge/ruby-1.8.4/ext/zlib>ruby extconf.rb
checking for deflateReset() in -lz... yes
checking for zlib.h... yes
checking for kind of operating system... Unix
creating Makefile
and make
rs6000:/huge/ruby-1.8.4/ext/zlib>make
cc -g -I. -I/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0
-I/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0 -I. -DHAVE_ZLIB_H
-I/usr/local/include -DOS_CODE=OS_UNIX -c zlib.c
/usr/ccs/bin/ld -brtl -eInit_zlib
-bI:/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0/ruby.imp -bM:SRE -T512
-H512 -L"/usr/local/lib" -o zlib.so zlib.o -lz -ldl -lcrypt -lm
-lc
Target "all" is up to date.
to no avail. Could someone please help me?
···
--
Posted via http://www.ruby-forum.com/.
I see no error here. Are you sure it's not working?
What kind of system are you running?
-Mat
···
On Jun 20, 2006, at 7:09 AM, Lanny Rosicky wrote:
I have read all the posts and google output on zlib which rubygem
install (and any require) cannot find.
I have rerun ext/zlib
rs6000:/huge/ruby-1.8.4/ext/zlib>ruby extconf.rb
checking for deflateReset() in -lz... yes
checking for zlib.h... yes
checking for kind of operating system... Unix
creating Makefile
and make
rs6000:/huge/ruby-1.8.4/ext/zlib>make
cc -g -I. -I/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0
-I/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0 -I. -DHAVE_ZLIB_H
-I/usr/local/include -DOS_CODE=OS_UNIX -c zlib.c
/usr/ccs/bin/ld -brtl -eInit_zlib
-bI:/usr/local/lib/ruby/1.8/powerpc-aix4.3.3.0/ruby.imp -bM:SRE -T512
-H512 -L"/usr/local/lib" -o zlib.so zlib.o -lz -ldl -lcrypt -lm
-lc
Target "all" is up to date.
to no avail. Could someone please help me?
Mat Schaffer wrote:
and make
to no avail. Could someone please help me?
I see no error here. Are you sure it's not working?
What kind of system are you running?
-Mat
Thank you for responding. I am running AIX 4.3.3 which is IBM flavour of
Unix. gem gets this error
rs6000:/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0>gem
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so: load
failed - /usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
...
irb like so
irb(main):001:0> require 'zlib'
LoadError: load failed -
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
from
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
from (irb):1
irb(main):002:0>
···
On Jun 20, 2006, at 7:09 AM, Lanny Rosicky wrote:
--
Posted via http://www.ruby-forum.com/\.
Not really sure myself. If it were me I'd make sure that the file exists. It's zlib.bundle for me. I don't know if that helps at all.
-Mat
···
On Jun 20, 2006, at 12:35 PM, Lanny Rosicky wrote:
Mat Schaffer wrote:
On Jun 20, 2006, at 7:09 AM, Lanny Rosicky wrote:
and make
to no avail. Could someone please help me?
I see no error here. Are you sure it's not working?
What kind of system are you running?
-Mat
Thank you for responding. I am running AIX 4.3.3 which is IBM flavour of
Unix. gem gets this error
rs6000:/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0>gem
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so: load
failed - /usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
...
irb like so
irb(main):001:0> require 'zlib'
LoadError: load failed -
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
from
/usr/local/lib/ruby/site_ruby/1.8/powerpc-aix4.3.3.0/zlib.so
from (irb):1
irb(main):002:0>
The very frustrating thing is that I installed many things from
tarballs, build from sources, etc...
I also have flawlessly working copies on my OS/X and WInd XP, just the
darn AIX is giving me a headache.
I believe I missed someting in the configuration which points to my
(existing] zlib, or the object code is "unloadable".
Mat, thanks for your effort. I will abandon this - the support on AIX
seems to be awfully sparce.
Lanny
···
--
Posted via http://www.ruby-forum.com/.
In my case (on aix 4.3), I just installed the files from the zlib
package in the locations:
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/share/man/man3/zlib.3
I didn't seem to have much trouble building ruby at that point.
···
On 6/20/06, Lanny Rosicky <lanny@canczech.com> wrote:
I believe I missed someting in the configuration which points to my
(existing] zlib, or the object code is "unloadable".
Mat, thanks for your effort. I will abandon this - the support on AIX
seems to be awfully sparce.
--
Garance Alistair Drosehn = drosihn@gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA
Garance A Drosehn wrote:
I believe I missed someting in the configuration which points to my
(existing] zlib, or the object code is "unloadable".
Mat, thanks for your effort. I will abandon this - the support on AIX
seems to be awfully sparce.
In my case (on aix 4.3), I just installed the files from the zlib
package in the locations:
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/share/man/man3/zlib.3
I didn't seem to have much trouble building ruby at that point.
Thanks for your response.
I did what you did and it produced the same fault result - ie
make
make test
make install
... no errors (except compiler warnings)
rs6000:/huge/ruby-1.8.4>irb
irb(main):001:0> require "zlib"
LoadError: no such file to load -- zlib
from (irb):1:in `require'
from (irb):1
Any ideas ?
···
On 6/20/06, Lanny Rosicky <lanny@canczech.com> wrote:
--
Posted via http://www.ruby-forum.com/\.
Garance A Drosehn wrote:
>
> In my case (on aix 4.3), I just installed the files from the zlib
> package in the locations:
> /usr/include/zconf.h
> /usr/include/zlib.h
> /usr/lib/libz.a
> /usr/share/man/man3/zlib.3
>
> I didn't seem to have much trouble building ruby at that point.
Thanks for your response.
I did what you did and it produced the same fault result - ie
make
make test
make install
I had to do:
make
make ruby.imp
make
make test
make install
I use IBM's official 'cc' compiler, not 'gcc', if that makes
any difference...
I should note that I do some other fancy hand-waving,
because I initially install into one directory and then
move everything into "the real" directory after I am
pretty sure it is working. But that extra hand-waving
shouldn't effect this part...
rs6000:/huge/ruby-1.8.4>irb
irb(main):001:0> require "zlib"
LoadError: no such file to load -- zlib
from (irb):1:in `require'
from (irb):1
Any ideas ?
That's about all I had to do, iirc.
(2) irb
irb(main):001:0> require 'zlib'
=> true
···
On 6/20/06, Lanny Rosicky <lanny@canczech.com> wrote:
--
Garance Alistair Drosehn = drosihn@gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA
Garance A Drosehn wrote:
I use IBM's official 'cc' compiler, not 'gcc', if that makes
any difference...
So do I
ny ideas ?
That's about all I had to do, iirc.
(2) irb
irb(main):001:0> require 'zlib'
=> true
Where does your "zlib" live ?
--LR--
···
--
Posted via http://www.ruby-forum.com/\.
In my case (on aix 4.3), I just installed the files from the zlib
package in the locations:
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/share/man/man3/zlib.3
I seem to remember initially installing them under /usr/local,
while there was an older version in above locations. That
did not work, although I don't remember what errors came
up. So I installed the new version as the only version.
···
On 6/21/06, Lanny Rosicky <lanny@canczech.com> wrote:
Where does your "zlib" live ?
--
Garance Alistair Drosehn = drosihn@gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA
I should also note that I'm building zlib from the source
found at: http://www.zlib.net/zlib-1.2.3.tar.bz2
So, I'm not really installing installing "from a package", not
in the sense of using a version that someone else built.
···
On 6/22/06, Garance A Drosehn <drosihn@gmail.com> wrote:
On 6/21/06, Lanny Rosicky <lanny@canczech.com> wrote:
>
> Where does your "zlib" live ?
In my case (on aix 4.3), I just installed the files from the zlib
package in the locations:
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/share/man/man3/zlib.3
--
Garance Alistair Drosehn = drosihn@gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA