LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-02-2007, 03:07 PM   #1
bandad
LQ Newbie
 
Registered: Dec 2005
Location: Surrey, UK
Distribution: slackware, ubuntu, and ipcop
Posts: 25

Rep: Reputation: 15
db2 express install problem - glibc_2.2


Hi,

I am trying to install db2 Express Edition on slackware 10.2
The install script generates an error:

IBM_db2cliv81...
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?

hope someone can help

Bob
 
Old 02-02-2007, 03:45 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
can you post the log ?
 
Old 02-02-2007, 04:14 PM   #3
bandad
LQ Newbie
 
Registered: Dec 2005
Location: Surrey, UK
Distribution: slackware, ubuntu, and ipcop
Posts: 25

Original Poster
Rep: Reputation: 15
Unfortunately, the log file is exactly what is shown in my post. I scurried off to read it and it was the same as the on-screen output. Rather disappointing really
 
Old 02-02-2007, 04:47 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I'm not quite sure. Why would it say /bin/sh is needed ... very puzzling.
 
Old 02-03-2007, 01:10 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,762

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
glibc_2.2 is very old. Sounds like you may be trying to install an old pre-compiled binary. Perhaps there are sources available so you could compile a new binary.
 
Old 02-03-2007, 02:10 AM   #6
bandad
LQ Newbie
 
Registered: Dec 2005
Location: Surrey, UK
Distribution: slackware, ubuntu, and ipcop
Posts: 25

Original Poster
Rep: Reputation: 15
is it a path thing?
is the script running under some user that can't find things?
but it MUST be able to find /bin/sh !!!

I don't think sources are available

anyone out there actually done this? i.e. got db2 operational on slackware?

Bob
 
Old 02-03-2007, 12:22 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 02-04-2007, 01:35 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,762

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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.
 
Old 02-05-2007, 10:18 AM   #9
bandad
LQ Newbie
 
Registered: Dec 2005
Location: Surrey, UK
Distribution: slackware, ubuntu, and ipcop
Posts: 25

Original Poster
Rep: Reputation: 15
looks like this is all too much trouble.
I simply wanted to follow the tutorial examples from IBM. But maybe I should stick to MySql after all!
Thanks for the help everyone.

Bob
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Migrate from MySQL or PostgreSQL to DB2 Express-C LXer Syndicated Linux News 0 06-18-2006 04:54 PM
debian -install-x86_amd64-possible pci-express card problem digitman Debian 1 04-23-2006 06:06 PM
LXer: DB2 Express: Another nail in the free database coffin? LXer Syndicated Linux News 0 02-10-2006 09:46 PM
LXer: Big Blue frees up DB2 Express-C LXer Syndicated Linux News 0 02-01-2006 02:31 AM
LXer: ActiveGrid Adds IBM DB2 Express-C to ActiveGrid's Enterprise LAMP Application Platform LXer Syndicated Linux News 0 01-31-2006 04:31 AM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration