Posts Tagged ‘Sun’
Java on CentOS
If you’ve already tried to create RPMs for Sun JDK at CentOS/Fedora you know that ODBC dependencies get linked incorrectly for JDBC RPM (JDBC is used to create MySQL/PostgreSQL/etc connections using Java applications)
As the result if you will try to install JDBC RPM you’ll see the following message:
libodbcinst.so() is needed by java-1.6.0-sun-jdbc-1.6.0.14-1jpp.i586
libodbc.so() is needed by java-1.6.0-sun-jdbc-1.6.0.14-1jpp.i586
If you don’t need database support at Java applications you still can install all other RPMs that were created during your build and ignore java-1.6.0-jdbc-* RPM.
At my case DB support was necessary so I used Google and found this solution. You will only need to install nosrc RPM and to slightly modify the spec file.
If you haven’t got luck with SPEC modifying all of Sun JDK 1.6.0 update 14 RPMs (CentOS 5.3 i386) could be downloaded here
Possibly I’ll build them also for x86_64 some day.