Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-26-2002, 01:49 AM   #1
LQ Newbie
Registered: Sep 2002
Location: Canada
Distribution: slackware 8.1
Posts: 2

Rep: Reputation: 0
Unhappy j2sdk on linux (slakware 8.1)

I would like to install j2sdk on Linux (slackware 8.1) but when I try to install the package *.rpm I obtain this error:

bash-2.05a# rpm -i j2sdk-1_4_1-fcs-linux-i586.rpm
error: failed dependencies:
glibc >= 2.1.2-11 is needed by j2sdk-1.4.1-fcs
/bin/sh is needed by j2sdk-1.4.1-fcs

For slackware 8.1 the version of glibc is 2.2.5; therefore the constraint glibc >= 2.1.2-11 is satisfied!

Could you please explain me this error?

Thank you.

Old 09-26-2002, 02:03 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
presumably the rest of the system is installed with slackware's pkgtool, not using rpms. consequently rpm has no idea wether you haev glibc installed or not. try an alternative method of installation, likte the self installing binaries sun distribute
Old 09-26-2002, 04:49 AM   #3
Registered: Jul 2002
Posts: 141

Rep: Reputation: 15
If you just need the runtime libs for java , then here is a place to download a slackware ready package , use installpkg or pkgtool
to install it .
Old 10-02-2002, 05:23 PM   #4
LQ Newbie
Registered: Sep 2002
Location: Canada
Distribution: slackware 8.1
Posts: 2

Original Poster
Rep: Reputation: 0
I have just installed the self installing binaries (1.4.1) and it works.
Thank you.

Old 10-03-2002, 04:35 AM   #5
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
In the future you can do the following:

1. rpm -i --force --nodeps blah-blah.rpm


2. rpm2tgz to convert *.rmp to *.tgz

Old 10-05-2002, 01:18 AM   #6
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Or better yet, avoid rpm's all together for Slack RPM's are very cool, and work great; but for systems that are setup to use them. RPM based distros like Mandrake and Redhat are designed for this, and have an RPM database prebuilt and ready to go out of the box.

If you find you *have* to use an rpm, I'd take pesho's suggestions and rpm2tgz it first, and then go from there.



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
Installing JAVA from j2sdk-1_4_2_04-linux-i586_rpm.bin TVScoundrel Linux - Software 2 04-20-2004 05:03 AM
I Installed j2sdk-1_4_1_02-fcs-linux-i586.rpm but still I am not able to chat yahoo DrGenetix Linux - Software 7 01-26-2004 07:17 AM
dependency problem by installing j2sdk-1_4_2-linux-i586.rpm linuxJaver Slackware 8 07-05-2003 12:04 PM
j2sdk-1_4_0-linux-i386-rpm.bin is not installing Harish_f Linux - General 1 05-06-2002 06:16 AM
I have installed j2sdk-1_4_0-linux-i386-rpm.bin.pls tell me how to set the path Harish_f Linux - General 2 05-06-2002 06:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:22 AM.

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