Mac OS X Notes
<<<
HP-UX Notes Notes pour AIX :
>>>

22.1.7 Installing MyODBC from a Source Distribution on Unix
22.1 Support ODBC de MySQL
22 Pilotes MySQL
 Manuel de Référence MySQL 4.1 : Version Française

Requirements
Typical 'configure' Options
Thread-Safe Client
Shared or Static Options
Enabling Debugging Information
Enabling the Documentation
Building and Compilation
Building Shared Libraries
Installing Driver Libraries
Testing MyODBC on Unix
Mac OS X Notes
->HP-UX Notes
Notes pour AIX :

22.1.7.12 HP-UX Notes

To build the driver on HP-UX 10.x or 11.x, make use of the following 'configure' example:

If using 'cc' :


shell> CC="cc" \
       CFLAGS="+z" \
       LDFLAGS="-Wl,+b:-Wl,+s" \
       ./configure --prefix=/usr/local
                   --with-unixodbc=/usr/local
                   --with-mysql-path=/usr/local/mysql/lib/mysql
                   --enable-shared
                   --enable-thread-safe

If using 'gcc' :


shell> CC="gcc" \
       LDFLAGS="-Wl,+b:-Wl,+s" \
       ./configure --prefix=/usr/local
                   --with-unixodbc=/usr/local
                   --with-mysql-path=/usr/local/mysql
                   --enable-shared
                   --enable-thread-safe
Once the driver is built, cross-check its attributes using 'chatr .libs/libmyodbc3.sl' to see whether or not you need to have the MySQL client libraries path using the SHLIB_PATH environment variable. For static versions, ignore all shared-library options and run 'configure' with the --disable-shared option.

<< HP-UX Notes >>
Mac OS X Notes Installing MyODBC from a Source Distribution on Unix Notes pour AIX :