Debian configure problems
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Feb 4 15:56:51 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Probably this is more of a debian than a Samba problem. To compile
Samba 2_2 CVS of today with acl support und Debian 3.0, I not only had
to apt-get acl-dev but also attr-dev. For me it was not possible to
compile acl-aware programs with -lacl due to link errors:
vlendec at delphin:~$ gcc -lacl aclt.c
/usr/lib/libacl.so: undefined reference to `fgetxattr'
/usr/lib/libacl.so: undefined reference to `removexattr'
/usr/lib/libacl.so: undefined reference to `setxattr'
/usr/lib/libacl.so: undefined reference to `fsetxattr'
/usr/lib/libacl.so: undefined reference to `getxattr'
collect2: ld returned 1 exit status
Installing attr-dev and adding -lattr fixed this. So, to me it seems
that acl-dev should have a dependency on attr-dev.
The Samba configure program only adds -lacl to the configure test. I
explicitly had to say LIBS=-lattr ./configure ... to make it detect
posix acl support properly.
My problem now is: Where do I report this correctly???
Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Key-ID D32186CF, Fingerprint available: phone +49 551 3700000
iD8DBQE+P+LBOmSXH9Mhhs8RAqGlAJ9jvz4lxIR739bFOg5+kY4cQ0HTxACdEi88
ti0YokOxJ++bjiY2wh72rcU=
=jnwI
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list