On Sun, Feb 02, 2020 at 11:52:03AM +0100, Patrick Matthäi wrote:
> Date: Sun, 2 Feb 2020 11:52:03 +0100
> From: Patrick Matthäi <[email protected]>
> To: Joerg Dorchain <[email protected]>, [email protected],
>  [email protected]
> Subject: Re: Bug#950302: libpam-geoip_1.1-4_amd64.deb does not work
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
>  Thunderbird/68.4.2
> X-recent-milter: 0 total hits in last 604800 seconds digest1
>  47b3e31a000000000000000000000000 digest2 863ce1d1000000000000000000000000
>  digest3 (null)
> X-JD-Spam-Score: -850
> 
> tag #950302 + help
> thanks
> 
> Am 01.02.20 um 08:08 schrieb Joerg Dorchain:
> >> Hum, looks like there are missing links:
> >>
> >> @login:~/build$ ldd 4/lib/x86_64-linux-gnu/security/pam_geoip.so
> >>         linux-vdso.so.1 (0x00007ffd915d7000)
> >>         libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0
> >> (0x00007f9fcd75b000)
> >>         libGeoIP.so.1 => /usr/lib/x86_64-linux-gnu/libGeoIP.so.1
> >> (0x00007f9fcd526000)
> >>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9fcd3a3000)
> >>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9fcd1e2000)
> >>         libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1
> >> (0x00007f9fcd1b7000)
> >>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9fcd1b2000)
> >>         /lib64/ld-linux-x86-64.so.2 (0x00007f9fcd97f000)
> >>         libcap-ng.so.0 => /lib/x86_64-linux-gnu/libcap-ng.so.0
> >> (0x00007f9fcd1a8000)
> >>
> >> @login:~/build$ ldd 5/lib/x86_64-linux-gnu/security/pam_geoip.so
> >>         linux-vdso.so.1 (0x00007ffc74de5000)
> >>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f94a11c4000)
> >>         /lib64/ld-linux-x86-64.so.2 (0x00007f94a1399000)
> > Indeed. Did the LDFLAGS change between the versions?
> >
> I have checked it, nothing changed. pam-geoip adds the libs on this way:
> 
> 
> cc -Wall -lpam -lGeoIP -lm -shared -o pam_geoip.so pam_geoip.o parse.o
> args.o check.o
> ...
> cc -lpam -lGeoIP -lm -shared  check.o   -o check
> 
> If I rebuild the -4 source on testing/unstable again the flags are also
> missing. So it has nothing to do with the changes between -4 and -5 but
> on which environment it is built :/

Same here. Maybe we can add the gcc team in the loop?

Bye,

Joerg

Attachment: signature.asc
Description: PGP signature

Reply via email to