Public bug reported: I compiled an application on my host which has a nvidia graphic card.
However, with default options, my binary is linked to vendor specific library name : ----- j@dt:~/XXXXX_posix$ ldd XXXXX (...) libnvidia-tls.so.1 => /usr/lib/nvidia-current/tls/libnvidia-tls.so.1 (0x00007f6e7e718000) (...) j@dt:~/XXXXX_posix$ ----- Thus my application will not operate on a system which has no nvidia card. Below are my gcc options into my Makefile : ----- HEADERS=-I${QT_H} -I${QT_H}/QtCore -I${QT_H}/QtOpenGL -I${QT_H}/QtGui -I${QT_H}/QtXml -I${QT3D_H}/api -I${QT3D_H}/arrays -I${QT3D_H}/debug -I${QT3D_H}/effects -I${QT3D_H}/geometry -I${QT3D_H}/global -I${QT3D_H}/graphicsview -I${QT3D_H}/materials -I${QT3D_H}/math3d -I${QT3D_H}/painting -I${QT3D_H}/release -I${QT3D_H}/scene -I${QT3D_H}/surfaces -I${QT3D_H}/textures -I${QT3D_H}/viewing LIBS=-L${QT_DIR}/lib -lQtCore -lQtGui -lQtXml -lQtNetwork -lQtOpenGL -lQt3D (...) XXXXX : ${OBJECTS} ${CXX} -s -pipe -o $@ ${OBJECTS} ${LIBS} %.o : ${SRC_DIR}/%.cpp ${CXX} -c -O2 -pipe -Wno-write-strings -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB ${HEADERS} -o $@ $< ----- ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: nvidia-current 195.36.24-0ubuntu1~10.04.2 ProcVersionSignature: Ubuntu 2.6.32-40.87-generic 2.6.32.57+drm33.23 Uname: Linux 2.6.32-40-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Sat Apr 14 19:07:22 2012 DkmsStatus: virtualbox-ose, 3.1.6, 2.6.32-40-generic, x86_64: installed virtualbox-ose, 3.1.6, 2.6.32-39-generic, x86_64: installed virtualbox-ose, 3.1.6, 2.6.32-37-generic, x86_64: built virtualbox-ose, 3.1.6, 2.6.32-38-generic, x86_64: installed nvidia-current, 195.36.24, 2.6.32-40-generic, x86_64: installed Lsusb: Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: System manufacturer System Product Name ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-40-generic root=UUID=61eae3b7-cc04-4622-bc67-2e883b1a5b2e ro quiet splash ProcEnviron: LANG=fr_FR.utf8 SHELL=/bin/bash SourcePackage: nvidia-graphics-drivers dmi.bios.date: 05/28/2007 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0702 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M2N dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0702:bd05/28/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2N:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer system: distro: Ubuntu codename: lucid architecture: x86_64 kernel: 2.6.32-40-generic ** Affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lucid -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/981751 Title: gcc should not link specific nvidia libraries by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/981751/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp