#322 closed defect (fixed)
shadow hardcodes libmisc.la path, possible others too. Correct this before compile time (kdebase otherwise fails)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
Current CVS instructions for shadow include this:
cd /lib && mv libmisc.*a libshadow*.a /usr/lib
However, when I was installing kdebase, kcheckpass complained that it=20 can't find libmisc.la in /lib. I moved libmisc.la back to /lib and it=20 worked. So it seems the location of the .la files are hardcoded=20 somewhere (either in shadow or in kde); perhaps it would be better to=20 adjust the install instructions for shadow to just move the .a files?
Change History (6)
comment:1 by , 22 years ago
Priority: | normal → highest |
---|
comment:2 by , 22 years ago
comment:4 by , 22 years ago
I use a slightly more efficient version:-
./configure --prefix=/usr --libdir=/usr/lib --enable-shared
It saves typing "make libdir=/usr/lib" twice.
comment:5 by , 22 years ago
Status: | new → assigned |
---|
comment:6 by , 22 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added --libdir=/usr/lib to configure, changed mv command to mv libshadow.so* and libmisc.so* to /lib
Why not do it the other way around. These are the instructions I use: ./configure --prefix=/usr --enable-shared && make libdir=/usr/lib && make libdir=/usr/lib install && mv /usr/lib/libshadow.so* /usr/lib/libmisc.so* /lib && ln -sf /lib/libshadow.so /usr/lib/libshadow.so && ln -sf /lib/libmisc.so /usr/lib/libmisc.so && rm /bin/vipw && ln -sf vipw /usr/sbin/vigr && mv /bin/sg /usr/bin/ && ln -sf vipw /usr/sbin/vigr &&