howto build shadow 4.1.5 with share libraries enabled?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



All,

I am having trouble building the new shadow (4.1.5) from ABS so that libshadow.so.0 is created and installed. I have tried modifying lib/Makefile.am like was done in 4.1.4:

  #Ugh, force this to build shared libraries, for god's sake
  sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am

But that produces no pkg/lib at all in the build directory.

I have also tried setting the --enable-share configure option, but the build fails with that option set:

libtool: link: gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o login login.o login_nopam.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt -lpam -lpam_misc
login.o: In function `get_failent_user':
login.c:(.text+0x1a): undefined reference to `getdef_bool'
login.o: In function `main':
login.c:(.text.startup+0x4ec): undefined reference to `getdef_unum'
login.c:(.text.startup+0x517): undefined reference to `getdef_unum'
login.c:(.text.startup+0x52f): undefined reference to `getdef_unum'
<snip>

I know /lib/libshadow.so.0 was dropped in the move from shadow 4.1.4.3-5 > 4.1.5, but is it possible to build the new shadow and have it create libshadow.so.0? If so, how? This might be basic, but obviously I'm ignorant to the solution. Thanks.

--
David C. Rankin, J.D.,P.E.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux