Re: Installing on AIX

Martin Evans <[email protected]>
Newsgroups gmane.comp.db.mysql.odbc
Message-ID <[email protected]>
Andrew Cunningham wrote:
> Hello All,
>
> I've installed UnixODBC on AIX 5.3 (32 bit), and have compiled some ODBC
> programs against this.
>
> I am now attempting to install the MySQL ODBC connector but I am having no
> luck, as the binary does not come with shared libraries and the source code
> does not create them.  I can't find out from anywhere what to do with the
> static libraries.
>
> I have tried compiling the binary source with various configure options -
> this is the most recent attempt:
>
> ./configure --enable-gui=no --prefix=/usr/local \
>             --with-unixodbc=/usr/local --with-mysql-path=/usr/local/mysql \
>             --enable-shared
>
> However it still just creates the .a files and not .so
>
> Any ideas on how to use a static library or how to create a shared version?
>
> Best regards,
>
> Andy
>
>   
You may know this but:

I wouldn't expect it to create .so files on all platforms.
I think aix 5.3 now knows .so files (but older aixes didn't) and it 
was/is often common to put a shared object into an archive especially so 
on platforms which can handle 32bit and 64bit code e.g. so you can put 
32bit and 64bit versions in the same archive.

What is in the .a files?
Have you done a ar -tv xxx.a, extracted the object(s) inside and done a 
file object on them to see what they are?
Perhaps the archive files contain shared objects instead of statically 
linked objects.

Martin

-- 
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.