[ale] RPM command line help

Yu, Jerry Jerry.Yu at Voicecom.com
Wed Oct 27 09:10:17 EDT 2004


It shouldn't matter, as ld should look to LD_LIBRARY_PATH first, then
ld.so.cache, /lib, /usr/lib in that order, by itself.

To answer your quesiton, a good habit to have is to preserve what's there
already, just as  you do with $PATH or others environment variables.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my/special/lib/directory


# -----Original Message-----
# From: ale-bounces at ale.org [mailto:ale-bounces at ale.org]On Behalf Of
# Dow_Hurst
# Sent: Tuesday, October 26, 2004 6:05 PM
# To: Atlanta Linux Enthusiasts
# Subject: Re: [ale] RPM command line help
# 
# 
# 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
# _______________________________________________
# Ale mailing list
# Ale at ale.org
# http://www.ale.org/mailman/listinfo/ale
# 



More information about the Ale mailing list