[ale] RPM command line help

Dow_Hurst dhurst at mindspring.com
Tue Oct 26 18:05:40 EDT 2004


okay, the rpm2cpio worked out great and I've gotten the library I thought I'd need.  See what happens when I try to use it:

dhurst at Arwen:~> LD_LIBRARY_PATH=/home/dhurst/SuSE_rpms/test/lib /usr/local/schrodinger/maestro -d
Floating point exception

Turns out that I've limited everything that trys to run to that library path using this syntax and all I get are floating point exceptions.  Good thing I am not root right now.  How do I use this properly?

LD_LIBRARY_PATH=/home/dhurst/SuSE_rpms/test/lib:/lib:/usr/lib

Would that be more correct?
Dow


-----Original Message-----
From: Dow_Hurst <dhurst at mindspring.com>
Sent: Oct 26, 2004 3:49 PM
To: ale at ale.org
Subject: [ale] RPM command line help

I want to install an older glibc from SuSE 9.0 into my SuSE 9.1.  Here is the command line I think will keep it from screwing up my current system:

rpm -ivvvh --test --relocate /etc=/opt/lib --relocate /lib=/opt/lib --relocate /sbin=/opt/lib --relocate /usr=/opt/lib --badreloc --oldpackage --noscripts /home/dhurst/SuSE_rpms/glibc-2.3.2-92.i586.rpm

What I want is for it to install all the files in the rpm into /opt/lib.  I don't see how to extract just the single file I want out of the rpm.  Any problems with what I want to do?  I don't want the rpm to do symlinks in my regular system files either.
Dow


_______________________________
Dow Hurst, Research Scientist
Department of Chemistry & Biochemistry
435 New Science Building
PO Box 26170
University of North Carolina at Greensboro
Greensboro, NC 27402-6170
336-334-5333 Temporary Office
336-334-5402 Fax
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale


_______________________________
Dow Hurst, Research Scientist
Department of Chemistry & Biochemistry
435 New Science Building
PO Box 26170
University of North Carolina at Greensboro
Greensboro, NC 27402-6170
336-334-5333 Temporary Office
336-334-5402 Fax



More information about the Ale mailing list