SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to install db2 Express Edition on slackware 10.2
The install script generates an error:
error: Failed dependencies:
libc.so.6(GLIBC_2.2) is needed by IBM_db2cliv81-8.1.0-105
/bin/sh is needed by IBM_db2cliv81-8.1.0-105
The installation logfile can be found in /tmp/db2_install_log.7810.
db2_install program terminated prematurely.
what do I need to do to resolve this?
/bin/sh is definitely there. So is /lib/libc.so.6 (and /usr/lib/libc.so.6).
The current version on my system appears to be glibc_2.3.5 - do I need an older one?
If so what do I need to do?
you can probably do it, but because the binary has been compiled with specific versions of things, you might need to actually install those exact versions ... that's what sucks about closed source binaries.
glibc-2.2 is what was used in Slackware 8.1 and there is no binary compatibility between binaries compiled for glibc-2.2 and the glibc-2.3 or later libraries.
You may be able to get the thing to work by installing the glibc-2.2 libs, bu you should not try to install them anywhere in your regulat library paths as they will interfere with your currently installed libs and probably whack your system. You could take an old slack-8.1 package and open it up with explodepkg and copy the libs into some unique directory, say /usr/local/lib/oldglib.
Then try to run the program by passing LD_LIBRARY_PATH to the binary:
LD_LIBRARY_PATH=/usr/local/lib/oldglib:$LD_LIBRARY_PATH /usr/local/bin/db2 (or whatever path).
I still doubt that you'll be able to do all this successfully without getting into a very invloved process(recompiling glibc-2.2 so it will co-exist with glibc-2.3(maybe have to recompile 2.3 also)). Plus you are probably going to have still more missing stuff.
Perhaps a better way would be to use qemu to run an old version of slack to run the program in.