I found the problem:
instead of "ld --shared" "gcc -shared" has to be used
--- Makefile.orig 2008-06-05 16:48:05.000000000 +0200
+++ Makefile 2008-06-05 16:46:05.000000000 +0200
@@ -3,7 +3,7 @@
CC=gcc
CFLAGS=-fPIC -O2 -Wall -Werror -pedantic
CPPFLAGS=-I.
-LDFLAGS=-x --shared -lpam
+LDFLAGS=-shared -lpam
DESTDIR=/
OUT=pam_chroot.so
@@ -12,7 +12,7 @@
all: $(OUT)
%.so: %.o
- ld $(LDFLAGS) -o $@ $<
+ gcc $(LDFLAGS) -o $@ $<
clean:
rm -f *.o $(OUT)
--
libpam-chroot broken
https://bugs.launchpad.net/bugs/237308
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs