Check it out yourself, particularly page 52:
"A shared library refers to an ar format archive library, where one or more of the members is a shared object. Note that the library can also contain normal, non-shared object files, which are handled in the normal way by the linker."
The redbook authors may want to call that a shared library, but in fact it's simply a library. There is *absolutely no difference* between an ar library that contains shared objects and one that doesn't, except for their contents. They and we gain nothing by adopting this bit of obscurantism.
If the dump command doesn't show any exported symbols, then the objects in your libraries aren't exporting any symbols. I didn't say they would; I was merely supplying a more useful variant on Kyle Chapman's suggestion, and correcting your apparent misapprehension that AIX shared objects had to be named "shr.o".
As I've never needed to build OpenSSL with shared objects on AIX, I've no idea whether configuring it with the "shared" option works there. Apparently neither has anyone else on the OpenSSL-users list, since no one's responded to your original query with definite information one way or another.
(By the way, "first" and "second" are already adverbs. No need to suffix them with "ly".)
Michael Wojcik
Principal Software Systems Developer, Micro Focus
Department of English, Miami University
-----Original Message-----
From: Jason Jesso [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: Re: OpenSSL AIX Shared Libraries
Firstly, AIX definitely has shared libraries. Check out:
http://www.redbooks.ibm.com/redbooks/SG245674.html
Secondly I don't get anything from
dump -nv *.a | awk '/ EXP / {print $NF}'
either.
Jason
Michael Wojcik wrote:
AIX doesn't have shared libraries. It has shared objects, which may be put inside archive libraries, by themselves or with other shared or unshared objects.
AIX shared objects needn't be named "shr.o". That's a convention used my many AIX developers for shared objects created by binding multiple objects into a single shared object for placement in an archive library. (This prebinding offers a startup performance advantage but isn't necessary; you can have multiple shared objects in a single library resolve against one another, with the appropriate import/export files.)
Try
dump -nv *.a | awk '/ EXP / {print $NF}'
to see a list of symbols exported by shared objects in your archives.
Michael Wojcik
Principal Software Systems Developer, Micro Focus
Department of English, Miami University
> -----Original Message-----
> From: Jason Jesso [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 10:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: OpenSSL AIX Shared Libraries
>
>
> Did this:
>
> dump -Tv *.a | grep shr.o
>
> Don't see any shrared library.
>
>
> "Chapman, Kyle" wrote:
>
> >
> >
> > they will be *.a files... do dump -Tv on the *.a files in your
> > openssl install libdir...
> >
> > -----Original Message-----
> > From: Jason Jesso [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 30, 2001 10:55 AM
> > To: [EMAIL PROTECTED]
> > Subject: OpenSSL AIX Shared Libraries
> >
> > Hi:
> >
> > I have configured and compiled openssl-0.9.6 on AIX 4.3.3 using the
> > following:
> >
> > ./config --prefix=~/opensll --openssldir=~/opensll threads shared
> > make
> >
> > I cannot find the shared libraries. Is this not compatible with AIX
> > or
> > something?
> >
> > Thanks
> > Jason
> >
> >
> ______________________________________________________________________
> >
> > OpenSSL Project
http://www.openssl.org
>
> User Support Mailing List [EMAIL PROTECTED]
>
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]