[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emulators/redhat_base: does rpm work?
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: emulators/redhat_base: does rpm work?
- From: Alexander_(_dot_)_Farber_(_at_)_t-online_(_dot_)_de (Alexander Farber)
- Date: Tue, 4 Sep 2001 17:41:02 +0200
Hi,
I'm using OpenBSD -current + -current ports and have:
alex:alex {107} pkg_info | grep redhat
rpm-3.0.6 redhat package manager
redhat_base-6.2p2 linux compatibility package based on Redhat 6.2
installed. However the rpm doesn't seem to work:
alex:alex {108} rpm -qa
failed to open /var/db/rpm/packages.rpm: No such file or directory
rpmQuery: rpmdbOpen() failed
or:
alex:sybase {118} rpm -i *.rpm
failed to open /var/db/rpm/packages.rpm: No such file or directory
error: cannot open /var/db/rpm/packages.rpm
I also wonder why there are 2 different rpm binaries:
alex:sybase {121} /usr/local/bin/rpm --initdb
failed to open /var/db/rpm/packages.rpm: No such file or directory
alex:sybase {122} /emul/linux/bin/rpm --initdb
/usr/lib/rpm/rpmdb: error in loading shared libraries: libdb-3.1.so: cannot open shared object file: No such file or directory
And I'm also surprised, that rpm -qa doesn't work,
since quite a few rpm's (like bash) seem to be installed
during the installation of the emulators/redhat_base itself.
Also what's the ports-policy for Linux-software available as
rpm's only? Do library files go to /emul/linux/lib or to
/usr/local/lib? And is it allowed to modify /emul/linux/etc/ld.so.conf ?
Thanks
Alex
Visit your host, monkey.org