Is it possible to install old libs?

Greetingz.
I’m not very familliar to the Unix world, but trying hard to make it better.
OpenSuSe 11.0 is the version i use and i want to install a source-rpm. Now i get that failure message:


checking readline/readline.h presence… yes
checking for readline/readline.h… yes
checking for Tcl_CreateInterp in -ltcl… no
checking for Tcl_CreateInterp in -ltcl8.4… no
checking for Tcl_CreateInterp in -ltcl8.3… no
checking for Tcl_CreateInterp in -ltcl8.2… no
checking for Tcl_CreateInterp in -ltcl8.0… no
checking for Tcl_CreateInterp in -ltcl80… no
checking for Tcl_CreateInterp in -ltcl7.6… no
trying in /usr/tcl/lib …
checking for Tcl_CreateInterp in -ltcl… no
checking for Tcl_CreateInterp in -ltcl8.4… no
checking for Tcl_CreateInterp in -ltcl8.3… no
checking for Tcl_CreateInterp in -ltcl8.2… no
checking for Tcl_CreateInterp in -ltcl8.0… no
checking for Tcl_CreateInterp in -ltcl7.6… no
trying in /opt/tcl/lib …
checking for Tcl_CreateInterp in -ltcl… no
checking for Tcl_CreateInterp in -ltcl8.4… no
checking for Tcl_CreateInterp in -ltcl8.3… no
checking for Tcl_CreateInterp in -ltcl8.2… no
checking for Tcl_CreateInterp in -ltcl8.0… no
checking for Tcl_CreateInterp in -ltcl7.6… no
configure: error: cannot link tcl library
error: Bad exit status from /var/tmp/rpm-tmp.88310 (%prep)

RPM build errors:
user bb does not exist - using root
user bb does not exist - using root
user bb does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.88310 (%prep)

tcl-devel and tcl are installed, but in version 8.5. Older lib packages are also available, but rpm -i doesn’t install them because of file conflicts (rpm would overwrite newer files). Also is tcl library critical for running of a lot of programs.

So, the question is: Don’t I get something? If no: is it possible to install two versions of tcl and if yes, how?

In that time i’ll search for the source tarball of that peace of software, maybe is a workaround possible…

Thx 4 help!

Forgot one thing:
tcllib is also installed.

Hi
What are your trying to build? Have you searched here for whatever
your trying to install?
Get It


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 10:58, 2 users, load average: 0.53, 0.80, 0.57
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

It’s not really importaint, which software i want to install, but if you want to know: it’s Opal, not ‘Open Phone Abstraction Library’, but a compiler and interpreter of Opal, a functional language written on and certainly for Technical University (Or University of applied sciences) Berlin. So, my question is still, whether i can install 2 different versions of the same libraries?

I already installed it, but therefore i had to uninstall OpenOffice and pingin, which are really useful…

So, if someone knows an answer, please write me back.

Hi
The reason to ask was in case there was a version available lurking on
the net. I also like to try to compile a program someone is having an
issue with so I can work through the issue.

BTW, do you have a download link?

For sure you can install the older libraries, I would just put them in a
different location…

You just need to copy relevant library files over to somewhere
like /usr/local/lib and check the path is in /etc/ld.so.conf once the
files are in place run ldconfig.

For example;


wget
http://download.opensuse.org/repositories/home:/rkwasny/SLE_10/i586/tcl-8.4.16-1.1.i586.rpm
mkdir tcl
cd tcl
rpm2cpio ../tcl-8.4.16-1.1.i586.rpm | cpio -idmv
sudo cp usr/lib/libtcl8.4.so /usr/local/lib/
sudo /sbin/ldconfig


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1 day 0:42, 2 users, load average: 0.10, 0.03, 0.03
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Are you by any chance running a 64-bit system? Because the symbol sought for certainly does exist in libtcl 8.5 as running the following will show:

strings /usr/lib64/libtcl8.5.so | grep CreateInterp

So it may simply be a matter of the configure script inside the source RPM needing to be told to try -ltcl8.5 during the probing. If you were compiling from source, you would have to make the same modification anyway so might as well figure out how to do it.

PS: Actually the 64-bit thing probably isn’t relevant. It just needs to be told to try -ltcl8.5 because libtcl.so doesn’t exist. Or you could try creating a symlink libtcl.so to libtcl8.5.so.

Thanks to all for answers, i’ll try it out in a free minute.

Here are the links with Opal source code and Installation guide:

The OPAL Home Page

Here is a tarball with version worked for me, but with older libs:

http://opalix.freitagsrunde.org/rpm/opal_suse11.00.tar.gz

And finaly is here a source RPM, i mentioned (install with
rpmbuild --rebuild --target i386 opal-2.3j-1.src.rpm):

http://opalix.freitagsrunde.org/rpm/opal-2.3j-1.src.rpm

I think, it’s better to compile a newer version by my own, that would work better than that old RPMs and sourceRPMs. Thanx.