Problème avec une carte ati (--buildpkg Debian/sid)

Bonjour à tous.

J’essaie d’installer le driver ati propriétaire sur Debian/sid mais lorsque je génère les paquets avec le .run j’obtiens le message suivant :

[code]debian:/home/romain# ./ati-driver-installer-7-11-x86.x86_64.run --buildpkg Debian/sid
Created directory fglrx-install.y22481
Verifying archive integrity… All good.
Uncompressing ATI Proprietary Linux Driver-8.433…

ATI Technologies Linux Driver Installer/Packager

Generating package: Debian/sid
Package build failed!
Package build utility output:
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.433-1
dpkg-buildpackage: source changed by ATI Technologies Inc. http://ati.amd.com/support/driver.html
debian/rules build
dpkg-buildpackage: host architecture i386
dh_testdir

move licenses away from binary dir

if [ ! -d usr/share/doc/fglrx ]; then
mkdir -p usr/share/doc/fglrx;
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx;
fi

set executable on user apps

find usr/X11R6/bin -type f | xargs chmod a+x

remove exec bit from files that don’t deserve it

find usr/X11R6/include
usr/X11R6/lib
usr/X11R6/lib64
usr/share usr/src -type f | xargs chmod -x
find: usr/X11R6/lib64: No such file or directory
find lib -not -name “.sh" -type f | xargs chmod -x
find lib -name "
.sh” -type f | xargs chmod +x

set proper permissions on /etc files

if [ -d etc/ati ]; then
chmod 755 etc/ati ;
chmod 644 etc/ati/* ;
chmod a+x etc/ati/*.sh ;
fi
if [ -f debian/fglrx.default ]; then
mv -v debian/fglrx.default debian/fglrx;
fi
debian/fglrx.default' ->debian/fglrx’
debian/rules binary
dh_testdir

move licenses away from binary dir

if [ ! -d usr/share/doc/fglrx ]; then
mkdir -p usr/share/doc/fglrx;
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx;
fi

set executable on user apps

find usr/X11R6/bin -type f | xargs chmod a+x

remove exec bit from files that don’t deserve it

find usr/X11R6/include
usr/X11R6/lib
usr/X11R6/lib64
usr/share usr/src -type f | xargs chmod -x
find: usr/X11R6/lib64: No such file or directory
find lib -not -name “.sh" -type f | xargs chmod -x
find lib -name "
.sh” -type f | xargs chmod +x

set proper permissions on /etc files

if [ -d etc/ati ]; then
chmod 755 etc/ati ;
chmod 644 etc/ati/* ;
chmod a+x etc/ati/*.sh ;
fi
if [ -f debian/fglrx.default ]; then
mv -v debian/fglrx.default debian/fglrx;
fi
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs

Create the directories to install into

dh_installdirs -pfglrx-driver
usr
usr/lib/xorg
usr/lib/xorg/modules
usr/lib/dri
usr/bin
usr/sbin
etc/acpi
etc/acpi/events
etc/default
etc/X11/Xsession.d
dh_installdirs -pfglrx-driver-dev
usr
usr/include
usr/lib
dh_installdirs -pfglrx-kernel-src
usr/src/modules/fglrx
usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle
usr
usr/bin
usr/share
usr/share/applnk
usr/share/applications
usr/share/icons
usr/share/pixmaps
dh_installdirs -p
usr/src
dh_install
dh_install -pfglrx-driver “usr/X11R6/bin/fgl*” "usr/bin"
dh_install -pfglrx-driver “usr/X11R6/bin/aticonfig” "usr/bin"
dh_install -pfglrx-driver “usr/sbin/atieventsd” "usr/sbin"
dh_installman -pfglrx-driver “usr/share/man/man8/atieventsd.8”

amd64 needs some library redirection

dh_install -pfglrx-driver “usr/X11R6/lib/.so” "usr/lib"
dh_install -pfglrx-driver “usr/X11R6/lib/modules/dri” "usr/lib"
dh_install -pfglrx-driver “usr/X11R6/lib/modules/linux” "usr/lib/xorg/modules"
dh_install -pfglrx-driver “usr/X11R6/lib/modules/drivers” "usr/lib/xorg/modules"
dh_install -pfglrx-driver “usr/X11R6/lib/modules/.so" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/
.a” "usr/lib/xorg/modules"
dh_install -pfglrx-driver “etc/fglrx*” "etc"
dh_install -pfglrx-driver “etc/ati” "etc"
dh_install -pfglrx-driver “debian/70fglrx” "etc/X11/Xsession.d"
dh_install -pfglrx-driver “debian/fglrx-powermode.sh” "etc/acpi"
dh_install -pfglrx-driver “debian/fglrx-*-aticonfig” "etc/acpi/events"
dh_install -pfglrx-driver “debian/fglrx” "etc/default"
dh_installinit -pfglrx-driver --name=“atieventsd”

create symlinks to shared libs

dh_link -pfglrx-driver “usr/lib/libGL.so.1.2” "usr/lib/libGL.so.1"
dh_install -pfglrx-driver-dev “usr/X11R6/lib/.a" "usr/lib"
dh_install -pfglrx-driver-dev "usr/X11R6/include/
” "usr/include"
dh_install -pfglrx-driver-dev "usr/include/" "usr/include"
dh_install -pfglrx-kernel-src
lib/modules/fglrx/build_mod/
.c
lib/modules/fglrx/build_mod/.h
lib/modules/fglrx/build_mod/
.sh
lib/modules/fglrx/build_mod/lib*
lib/modules/fglrx/build_mod/2.6.x/Makefile
usr/src/modules/fglrx
dh_install -pfglrx-kernel-src “debian/changelog” "usr/src/modules/fglrx/debian"
dh_install -pfglrx-kernel-src
debian/copyright
debian/compat
module/rules
module/control.template
module/dirs.template
module/postinst
usr/src/modules/fglrx/debian
(cd debian/fglrx-kernel-src/usr/src
&& chown -R root:src modules
&& tar -jcf fglrx.tar.bz2 modules
&& rm -rf modules)

control panel package

dh_install -A -pfglrx-amdcccle “usr/X11R6/bin/amdcccle” "usr/bin"
dh_install -A -pfglrx-amdcccle “usr/share/icons/.xpm" "usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/
.xpm” "usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle “debian/amdcccle.desktop” "usr/share/applications"
dh_install -A -pfglrx-amdcccle “debian/amdcccle.kdelnk” "usr/share/applnk"
dh_install -A -pfglrx-amdcccle “usr/share/ati” "usr/share"
dh_desktop -pfglrx-amdcccle
dh_installdocs
dh_installdocs -pfglrx-driver usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_makeshlibs
dh_installdeb
LD_PRELOAD= dh_shlibdeps --exclude=emul
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn’t be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn’t be linked with librt.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn’t be linked with libdl.so.2 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn’t be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/glesx.so shouldn’t be linked with libdl.so.2 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fglrxinfo shouldn’t be linked with libGL.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fglrxinfo shouldn’t be linked with libXext.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fglrx_xgamma shouldn’t be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fglrx_xgamma shouldn’t be linked with libXext.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/aticonfig shouldn’t be linked with libXrender.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XQueryFont used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XEatData used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFillRectangle used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReadPad used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFreeGC used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFree used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XGetErrorDatabaseText used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XAddToExtensionList used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol dlsym used by debian/fglrx-driver/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: 22 other similar warnings have been skipped (use -v to see them all).
dpkg-shlibdeps: warning: symbol XauFileName used by debian/fglrx-driver/usr/sbin/atieventsd found in none of the libraries.
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/sbin/atieventsd shouldn’t be linked with libXrender.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fgl_glxgears shouldn’t be linked with libGL.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/bin/fgl_glxgears shouldn’t be linked with libXext.so.6 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn’t find library libstdc++.so.5 needed by debian/fglrx-amdcccle/usr/bin/amdcccle (its RPATH is ‘’).
Note: libraries are not searched in other binary packages that do not have any shlibs file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.y22481
debian:/home/romain#
[/code]

Pouvez-vous m’aider à résoudre ce problème ? Merci =)

Il te dis ce qu’il faut faire:

[quote]Note: libraries are not searched in other binary packages that do not have any shlibs file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.[/quote]

Il faut chercher la lib [quote]library libstdc++.so.5 [/quote] sur ton disque, ou l’installée si elle n’y est pas.
Mais installe les paquets deb, ils fonctionnent très bien, et c’est plus simple!

Merci :smiley: