Installing on AIX

Installing on AIX

am 19.10.2006 14:34:50 von Andrew Cunningham

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

--
Andy Cunningham
Software Engineer
DAI, Milan Court, Bird Hall Lane
Cheadle Heath, Stockport SK3 0WZ

Tel: 0161 374 6061, Fax: 0161 374 6100
E-mail: andrew.cunningham@dai.co.uk
web: http://www.dai.co.uk/

The integrity of this message cannot be guaranteed on the internet. Digital
Applications International Limited cannot therefore be considered
responsible for the contents, unless confirmed in written correspondence
signed by an authorised signatory. If you are not the intended recipient of
this message, please delete it and notify the sender.






--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

Re: Installing on AIX

am 19.10.2006 15:29:03 von Martin Evans

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/myodbc?unsub=gcdmo-myodbc@m.gmane.org