[rsbac] rsbac-admin bug on amd64

kang kang at rsbac.org
Mon Jun 19 11:20:49 CEST 2006


est_seg at o2.pl wrote:
> Hi!
>
> I have found a bug. I can't compile rsbac-admin on gentoo linux (amd64 box).
>
>
> It doesn't work with 1.2.5, 1.2.6, 1.2.7, 1.3.0pre1 versions of rsbac-admin.
>
> I have gcc-3.4.5 installed and I dont know why it use wrong path (...3.4.4...).
>
> If you want more info please email me.
>
>
> Best Regards!
> Piotr Jasiukajtis
>
>
>
> x86_64-pc-linux-gnu-g++ -shared -nostdlib
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .libs/interface.o
> -L/home/place/rsbac-admin-1.3.0pre1/main/libs -L/usr/local/lib -lrsbac
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64
> -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o
> -Wl,-soname -Wl,libnss_rsbac.so.2 -o .libs/libnss_rsbac.so.2.0.0
> x86_64-pc-linux-gnu-g++:
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o: No such
> file or directory
> x86_64-pc-linux-gnu-g++:
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or
> directory
> x86_64-pc-linux-gnu-g++:
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
> x86_64-pc-linux-gnu-g++:
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o: No such
> file or directory
> make[1]: *** [libnss_rsbac.la] Błąd 1
> make[1]: Leaving directory `/home/place/rsbac-admin-1.3.0pre1/main/nss'
> make: *** [nss] Błąd 2
>
>
>
>
>
>   

Hi,

This is a common Gentoo Linux related issue.
It will affect other packages using libtool to build libraries. You can
fix it by using the fix_libtool_files.sh script (included in Gentoo) and
re-merging libtool:
# emerge -av libtool
# fix_libtool_files.sh 3.4.4

Note that the fix_libtool_files.sh command depends on your setup, so i
you may want to follow instructions from here:
http://forums.gentoo.org/viewtopic-t-321340.html
and
http://www.gentoo.org/doc/en/gcc-upgrading.xml




More information about the rsbac mailing list