Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#322 closed defect (fixed)

shadow hardcodes libmisc.la path, possible others too. Correct this before compile time (kdebase otherwise fails)

Reported by: gerard@… Owned by: lfs-book@…
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 gerard@…, 22 years ago

Priority: normalhighest

comment:2 by tushar@…, 22 years ago

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 &&

comment:3 by gerard@…, 22 years ago

Sounds even better

comment:4 by greg@…, 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 gerard@…, 22 years ago

Status: newassigned

comment:6 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed

Added --libdir=/usr/lib to configure, changed mv command to mv libshadow.so* and libmisc.so* to /lib

Note: See TracTickets for help on using tickets.