libpam-chroot broken
Bug #237308 reported by
peterh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-chroot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libpam-chroot
See Workaraound https:/
my question is where does this symbol: __stack_
cu Peter
Changed in libpam-chroot: | |
assignee: | nobody → wgrant |
status: | New → In Progress |
Changed in libpam-chroot: | |
status: | In Progress → Confirmed |
Changed in libpam-chroot: | |
assignee: | wgrant → nobody |
To post a comment you must log in.
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)