Well make sure you have gcc 2.95.2 and a recent version of make (the manual
suggests a version).  Also, when I said "Lib paths" I meant look at the -I
options for your configs. But rereading your info, it looks like a problem
with the actual object file (or lack of one).

I hate to say this but you may need to compile your own copy of MySQL from
source.  I am still rather new to this product, and my experience with aix
is limited. (I did use gcc 2.95.2 to compile my copy, and had the most
recent copy of glib and libc also (but they are not required), I then down
loaded zlib from the link below, and then dropped the binary distro.  it
worked flawlessly that time (once I had the files and libs).

Sorry to say this, but I am at a loss.


Can any one else help?

Jack

-----Original Message-----
From: Tim Tyler [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 11:13 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: can't find shr.o???


Jack,
Yes, I made sure that I ran the command from the mysql home directory and
not within scripts.  I am not sure what to check with lib paths.  I think it
doesn't have a problem finding zlib.a in /usr/local/lib.  I think it simply
can't load it because it can't find the shr.o that is associated within it. 
I have no idea how to get around that.  I even recompiled zlib and installed
it for the heck of it.  No difference.  I also tried loading this on a 4.3.3
system we had and failed their as well.  Something about my enviroment must
be off.  We don't have C libraries from AIX, but I do have the gcc
libraries.  Does any of this make a difference?  Is their a particular path
variable that needs a particular setting?  General paths are set, but I
don't think we have a libpath variable set.  Most things compile ok for me.
But since this is a binary distribution, we didn't compile this so I am not
sure what I am exactly missing.
  Tim

>
>I would look into the Lib paths...though this is a quick sanity check...(I
>have to ask)
>
>when you execute the script mysql_install_db
>are you in <some path>mysql-3.xx.xx-aix/
>or in the scripts directory?  I ask because that can mess the script up.
>since it is looking into a relative directory for the bin directory.
>
>-----Original Message-----
>From: Tim Tyler [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 22, 2001 4:28 PM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: Re: can't find shr.o???
>
>
>Jack,
>  My AIX  oslevel reports 4.3.2.  The zlib package is already installed.
>The
>libz.a file is easily found in /usr/local/lib.  It just won't load for some
>reason.  I must have some library problems with shr.o.  Any thoughts?
> Tim
>
>>
>>First off check you version of aix.  Also you have to  install the zlib
>>packed, that is where you will find libz.a  library I had this very
problem
>>and it took me a whie to hunt down aprpriate files.
>>
>>I was on aix 4.3.0 and now 4.3.3(the zlib package needs thenewer OS.)  you
>>can look: on
>>http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
>>
>>for the packages.
>>
>>Enjoy,
>>
>>Jack
>>
>>-----Original Message-----
>>From: Tim Tyler [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, March 22, 2001 3:55 PM
>>To: [EMAIL PROTECTED]
>>Subject: can't find shr.o???
>>
>>
>>Mysql experts,
>>  I downloaded the binary distribution for AIX on a Risc/6000 and tried to
>>install it.  However, when I get to the mysql_install_db part I get the
>>following error which ultimately fails to complete.
>>
>># scripts/mysql_install_db
>>Could not load program ./bin/my_print_defaults:
>>        Dependent module /usr/local/lib/libz.a(shr.o) could not be loaded.
>>        Member shr.o is not found in archive 
>>
>>
>>What exactly does this mean?  Does this imply that it was precompiled with
>a
>>compiler and libraries that I don't have?  Note: We don't have Xlc
>>installed, but we do have gcc installed.  If so, does this mean I have to
>>compile from scratch with gcc?  Is there a binary distribution for aix
>>having been compiled with gcc?  Or is there another solution to this
>>problem?  Any thoughts on this matter are much appreciated.
>>
>>  
>>
>>-- 
>>Tim Tyler
>>Network Manager - Beloit College
>>[EMAIL PROTECTED]
>>
>>---------------------------------------------------------------------
>>Before posting, please check:
>>   http://www.mysql.com/manual.php   (the manual)
>>   http://lists.mysql.com/           (the list archive)
>>
>>To request this thread, e-mail <[EMAIL PROTECTED]>
>>To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>
>>---------------------------------------------------------------------
>>Before posting, please check:
>>   http://www.mysql.com/manual.php   (the manual)
>>   http://lists.mysql.com/           (the list archive)
>>
>>To request this thread, e-mail <[EMAIL PROTECTED]>
>>To unsubscribe, e-mail
<[EMAIL PROTECTED]>
>>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>
>>
>
>
>-- 
>Tim Tyler
>Network Manager - Beloit College
>[EMAIL PROTECTED]
>Go Packers! Go Badgers!
>1999&2000 Rose Bowl Champions!
>


-- 
Tim Tyler
Network Manager - Beloit College
[EMAIL PROTECTED]
Go Packers! Go Badgers!
1999&2000 Rose Bowl Champions!

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to