LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   how to use older versions of glibc (http://www.linuxquestions.org/questions/programming-9/how-to-use-older-versions-of-glibc-189174/)

turls 06-03-2004 04:39 AM

how to use older versions of glibc
 
Hi

I have a problem on compiling some software. The problem is both with undefined symbols and hidden symbols.

The problem is that the software I am using is provided partially compiled as .o files and I do not have the source. These .o files were written and compiled against earlier versions of the GLIBC libraries than I have installed.

It is not really feasible for me to downgrade and there are too many packages reliant on the later version.

The question is two fold:
1. I have compat files that have the required references but these do not seem to be used. How do I get system to use them?
2. Is there a way of installing the older version of GLIBC and use it that will not effect other packages.

Info

System used Fedora 1 and 2 -same issue
software Oracle
compiler gcc

Regards Ian

ToniT 07-05-2004 01:06 PM

Make a chroot environment for compiling software. Some distributions (eg. debian pbuilder) has tools for this ready. If your doesn't, it is not hard to do manually, either.

turls 07-06-2004 02:41 AM

Interestingly enough this is what I eventually have done.


I now have another problem in that the software won't run on the 2.6 kernel- ow well


Ian

ToniT 07-07-2004 12:15 AM

Maybe UML is for you?

marist89 07-07-2004 03:40 PM

Have you seen http://www.oracle-base.com/articles/...nOnFedora1.php


All times are GMT -5. The time now is 07:33 AM.