| Server IP : 77.68.64.20 / Your IP : 216.73.217.31 Web Server : Apache System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64 User : csh2392878 ( 2033753) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/unixODBC-2.3.11/ |
Upload File : |
Procedures to build the unixODBC Driver Manager on Redhat.
This RPM was built on a Redhat 6.6 for forward compatibility.
Note that you may run into a lot of compatibility/dependency issues if you choose to build on an old VM. It may be easier to build on a newer Redhat.
If you are building on an old Redhat you will need to modify the SPEC file and add a -lrt flag for it to build without erroring out.
s
1.) Grab the unixODBC source from http://www.unixodbc.org/
2.) sudo yum install rpmdevtools
3.) rpmdev-setuptree (sets up the rpmbuild build tree in the home directory)
4.) Copy the unixODBC tar.gz to ~/rpmbuild/SOURCES
5.) Extract and copy the unixODBC source to ~/rpmbuild/BUILD
6.) Grab the unixODBC.spec from the latest source rpm package (e.g. unixODBC-2.3.11-2.fc38.src.rpm from https://src.fedoraproject.org/rpms/unixODBC)
7.) Change directory to ~/rpmbuild/SPECS, copy the spec file here
8.) rpmbuild -ba unixODBC.spec
9.) You may need to install the following packages and repeat step 8 again if they haven’t been installed.
automake
autoconf
libtool
libtool-ltdl-devel