ldconfig problem with rcNG

From: Alex Zepeda <zipzippy_at_sonic.net>
Date: Wed, 7 May 2003 19:22:08 -0700
Whoops.  I'm getting messages like this:

ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/qt/lib /usr/local/kde/lib
ldconfig: illegal option -- e
usage: ldconfig [-aout | -elf] [-Rimrsv] [-f hints_file] [dir | file ...]

during bootup.

A little further inspection, and it appears that ldconfig wants 
-{elf,aout} first or it won't work with other flags.  Like so:

blarf:~#ldconfig -elf -i /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 /usr/local/qt/lib /usr/local/kde/lib
blarf:~#ldconfig -i -elf /usr/lib /usr/lib/compat /usr/X11R6/lib 
/usr/local/lib /usr/local/qt/lib /usr/local/kde/lib
ldconfig: illegal option -- e
usage: ldconfig [-aout | -elf] [-Rimrsv] [-f hints_file] [dir | file ...]

The attached patch fixed it for me.

- alex

Received on Wed May 07 2003 - 17:22:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC