Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
ryabinkin Гость
|
Добавлено: Пт Июл 11 2003 12:43 Заголовок сообщения: Shared libraries |
|
|
How it is possible to substitute one version of shared library to another(older) one for a single program? I have a program which requires older version of glibc library than I have installed in my system. Of course, I have a file, containing old version of glibc. But I don't want make simbolic link every time I want to run program. It would be better to have more convenient way to do this. For instance, redefine environment variable, which leads to the real location of old library.
What do you think about it? Suggestions are welcome.
Linux RH 9.0 libc version 2.3.2 (GLIBC 2.1) location /lib/i686
require at least libc version 2.4.1 (GLIBC 2.0) |
|
Вернуться к началу |
|
 |
AlexanderK Гость
|
Добавлено: Пт Июл 11 2003 12:48 Заголовок сообщения: А нельзя ее статически слинковать? (-) |
|
|
Ж |
|
Вернуться к началу |
|
 |
ryabinkin Гость
|
Добавлено: Пт Июл 11 2003 14:28 Заголовок сообщения: It's impossible... Close source product :((( (-) |
|
|
- |
|
Вернуться к началу |
|
 |
and3008
Зарегистрирован: 12.10.2001 Сообщения: 14893 Откуда: Н.Новгород
|
Добавлено: Пт Июл 11 2003 14:51 Заголовок сообщения: А если попробовать переопрелить переменную, которая версию отдает? (-) |
|
|
- |
|
Вернуться к началу |
|
 |
ryabinkin Гость
|
Добавлено: Пт Июл 11 2003 15:04 Заголовок сообщения: Re: А если попробовать переопрелить переменную, которая версию отдает? (-) |
|
|
But how does it possible to do! I have executable binary and I suppose, it is impossible to change anything inside. So, I ask: Does some variable really exist (for overriden) in the program's enviroment or every program has own pattern of obtaining libraries paths. In other words, Does universal and common mechanism to determine the location of library exist? And if "Yes", how is it possible to interact with it? Or every programmer uses the own pattern? |
|
Вернуться к началу |
|
 |
dmvl Гость
|
|
Вернуться к началу |
|
 |
ryabinkin Гость
|
Добавлено: Пн Июл 14 2003 12:39 Заголовок сообщения: Topic might be closed... |
|
|
Thanks for all for suggestions! But, it's a pity, program is still not woking... Too many overridens are needed to be done and also they conflict... |
|
Вернуться к началу |
|
 |
|