selecting a lib to load when compiling
Here's a question: I've encountered this kind of error when trying to compile some 64-bit programs on SL 5.0: /usr/lib/libGL.so: could not read symbols: File in wrong format What it's trying to do is to use a 32-bit library when what it should really be using is /usr/lib64/libGL.so---the 64-bit library. I solve this problem using a rather hokey method, which is (temporarily, for the purpose of compiling) to switch the soft link /usr/lib/libGL.so to point to /usr/lib64/libGL.so instead of to the similar 32-bit library in /usr/lib/. Is there a more standard way to solve this mismatch? I tried setting an environment variable (e.g. PKG_CONFIG_PATH) to put the 64-bit lib prior to the 32-bit lib, but that did not work. Should I change a line in the Makefile? Is there a flag I could append to the ./configure script? It would be nice to be a little cleaner. [For both of these I was able to compile the program from the source using the above-described hokey method.] This happened with gutenprint (which I need as a printer driver) and with xmms (the atrpms xmms rpm available through yum did not work for me). (In the gutenprint case the library was libijs.so, but the problem was the same.) Any thoughts would be most welcome... [My cpu is an AMD Athlon 64 X2 Dual Core Processor 3800+ which will run both 32- and 64-bit programs.] -- Peter
Re: Adding Things to Rescue Mode
I haven't done this in a long time but I thought it's possible to load drivers from an NFS source as you boot into rescue mode. Don't you append simply append 'dd' to the end of the boot line and the rescue cd prompts you for what you want to load and from where? Brent L. Bates wrote: I'd like to add a few things to rescue mode. I'm tired of having to use a floppy with hardware drivers when ever I need to go into rescue mode and there are a few other utilities that I'd like to add as well. How would I go about doing this? Any pointers to FAQ's or "How to's"? I've done some searching, but haven't found anything recent enough to be useful. Thanks for any help.
Re: Adding Things to Rescue Mode
Brent L. Bates wrote: I'd like to add a few things to rescue mode. I'm tired of having to use a floppy with hardware drivers when ever I need to go into rescue mode and there are a few other utilities that I'd like to add as well. How would I go about doing this? Any pointers to FAQ's or "How to's"? I've done some searching, but haven't found anything recent enough to be useful. Thanks for any help. I use a LiveCD as rescue system. What about building an own LiveCD? See http://linux.web.psi.ch/livecd/build.html http://linux.web.psi.ch/livecd Urs
Adding Things to Rescue Mode
I'd like to add a few things to rescue mode. I'm tired of having to use a floppy with hardware drivers when ever I need to go into rescue mode and there are a few other utilities that I'd like to add as well. How would I go about doing this? Any pointers to FAQ's or "How to's"? I've done some searching, but haven't found anything recent enough to be useful. Thanks for any help. -- Brent L. Bates (UNIX Sys. Admin.) M.S. 912 Phone:(757) 865-1400, x204 NASA Langley Research CenterFAX:(757) 865-8177 Hampton, Virginia 23681-0001 Email: [EMAIL PROTECTED] http://www.vigyan.com/~blbates/