You are not logged in.
I'm trying to install IBM Tivoli Backup
I can install it with a PKGBUILD (see later) but I can't execute the file.
Strange to explain because a good explanation is mostlikely the solution, so here just some output:
# ls -la
insgesamt 22M
-r--r--r-- 1 root wheel 2.1M 6. Jun 09:48 dsm.jar
-r--r--r-- 1 root root 746 27. Jun 17:44 dsm.opt
-r--r--r-- 1 root wheel 782 6. Jun 09:48 dsm.opt.smp
-r--r--r-- 1 root wheel 971 6. Jun 09:48 dsm.sys.smp
-r--r--r-- 1 root wheel 624K 6. Jun 09:48 dsm_pref.jar
-r-xr-xr-x 1 root wheel 2.8M 6. Jun 09:48 dsmadmc*
-r-xr-xr-x 1 root wheel 4.6M 6. Jun 09:48 dsmagent*
-r-xr-xr-x 1 root wheel 4.0M 6. Jun 09:48 dsmc*
-r-xr-xr-x 1 root wheel 2.8M 6. Jun 09:48 dsmcad*
-r-xr-xr-x 1 root wheel 5.0K 6. Jun 09:48 dsmj*
-r-xr-xr-x 1 root wheel 13K 6. Jun 09:48 dsmswitch*
-rwxr-xr-x 1 root wheel 2.6M 6. Jun 09:48 dsmtca*
-r-xr-xr-x 1 root wheel 269K 6. Jun 09:48 dsmtrace*
-r-xr-xr-x 1 root wheel 318 6. Jun 09:48 favicon.ico*
drwxr-xr-x 2 root wheel 23 26. Jun 18:07 images/
-r--r--r-- 1 root wheel 107K 6. Jun 09:48 jdom.jar
-r--r--r-- 1 root wheel 341K 6. Jun 09:48 jh.jar
drwxr-xr-x 2 root wheel 43 26. Jun 18:07 plugins/
-r--r--r-- 1 root wheel 831K 6. Jun 09:48 uil.jar
-r--r--r-- 1 root wheel 816K 6. Jun 09:48 xercesImpl_2_2_1.jar
-r--r--r-- 1 root wheel 82K 6. Jun 09:48 xmlParserAPIs_2_2_1.jar
# ./dsmc
-bash: ./dsmc: Datei oder Verzeichnis nicht gefunden (file or directory not found)
# /opt/tivoli/tsm/client/ba/bin/dsmc
-bash: /opt/tivoli/tsm/client/ba/bin/dsmc: Datei oder Verzeichnis nicht gefunden (file or directory not found)
with vim I can look at the file and it "looks" like an executable file (just a bunch of crap).
Here the PKGBUILD I wrote:
pkgname=tivoliclient
pkgver=5.4.1
pkgrel=0
pkgdesc="Tivoli Storage Manager Client"
arch=('x86_64')
url="http://service.boulder.ibm.com/storage/tivoli-storage-management/m
aintenance/client/"
depends=('rpmextract')
source=(http://service.boulder.ibm.com/storage/tivoli-storage-managemen
t/maintenance/client/v5r4/Linux/Linux86/v541/5.4.1.0-TIV-TSMBAC-LinuxX8
6.tar)
md5sums=('68967fe26f3ed20e1746bd140efdee3f')
build() {
tar -xvf 5.4.1.0-TIV-TSMBAC-LinuxX86.tar
rpmextract.sh TIVsm-API.i386.rpm
rpmextract.sh TIVsm-API64.i386.rpm
rpmextract.sh TIVsm-BA.i386.rpm
mkdir -p $startdir/pkg/opt/
cp -a opt/* $startdir/pkg/opt
chmod go+rx $startdir/pkg/opt
mkdir -p $startdir/pkg/usr/
cp -a usr/* $startdir/pkg/usr
chmod go+rx $startdir/pkg/usr
}
What I tought of is that it could be something with the x86_64 executable bit but couldn't find any information about it.
Any other idea would be very welcome
wabi
Last edited by wabi (2007-07-18 20:25:46)
Offline
That executable is for i686 (see the i386 in the rpm names). That's why it doesn't run on x86_64. If there's no source available or rpm for x86_64, install the necessary lib32 packages from community repo.
Offline
But why does IBM include the TIVsm-API64.i386.rpm package?
Souldn't that be for 64-bit?
What am I not getting?
When I run that in a encapsulated 32-bit Arch, I can't really backup everything. That's bad. Perhaps I'll just mount the filesystem via NFS to a 32-bit machine.
Got it started with lib32-stdc++
Last edited by wabi (2007-07-04 06:44:41)
Offline