ldd - undefined symbol
modesetting_drv.so: undefined symbol: shadowRemove
libvbe.so: undefined symbol: xf86int10Addr
1.
$ ldd --version | head -n1
ldd (GNU libc) 2.28
$ ldd --help | grep function
-r, --function-relocs process data and function relocations
2.
$ ldd -r /usr/lib/xorg/modules/drivers/vesa_drv.so
linux-gate.so.1 (0xb7f3f000)
libc.so.6 => /lib/libc.so.6 (0xb7d86000)
/lib/ld-linux.so.2 (0xb7f40000)
undefined symbol: serverGeneration (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_unmap_legacy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetModeParameters (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowRemove (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDefaultVisual (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEFindSupportedDepths (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GetEntityInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: SetTimeSinceLastInputEvent (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEBankSwitch (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GTFMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetVBEMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDpi (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEFreeVBEInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetBlackWhitePixels (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_unmap_range (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetGamma (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowSetup (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintDepthBpp (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: fbScreenInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86IsUnblank (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEInterpretPanelID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetDisplayStart (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetDACPaletteFormat (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetModeNames (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86LoadSubModule (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEExtendedInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DPMSInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86UnloadSubModule (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: DGAInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: fbPictureInit (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miGetDefaultVisualMask (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDDCproperties (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ScreenToScrn (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miCreateDefColormap (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ErrorFVerb (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miDCInitialize (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ErrorF (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEPrintModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ShowUnusedOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetDepthBpp (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miSetVisualTypes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86CollectOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintEDID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_map_range (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DrvMsg (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowUpdatePacked (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: vbeFree (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEValidateModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PrintChipsets (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miSetPixmapDepths (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: shadowAdd (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: vbeDoEDID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SlowBcopy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEReadPanelID (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetModePool (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86GetPointerScreenFuncs (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESaveRestore (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ReturnOptValBool (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetPaletteData (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86HandleColormaps (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetWeight (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: miClearVisualTypes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86CheckModeForMonitor (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetGetLogicalScanlineLength (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86PruneDriverModes (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_map_legacy (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86DrvMsgVerb (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetPixelClock (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEGetVBEInfo (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86AddDriver (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ProcessOptions (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86ConfigPciEntity (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBEDPMSSet (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: pci_device_has_kernel_driver (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: VBESetVBEMode (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: xf86SetBackingStore (/usr/lib/xorg/modules/drivers/vesa_drv.so)
undefined symbol: ErrorF (/usr/lib/xorg/modules/drivers/vesa_drv.so)
3.
$ ldd -r /usr/lib/xorg/modules/drivers/modesetting_drv.so
linux-gate.so.1 (0xb7f1f000)
libudev.so.1 => /lib/libudev.so.1 (0xb7ee2000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ec2000)
libc.so.6 => /lib/libc.so.6 (0xb7d16000)
/lib/ld-linux.so.2 (0xb7f20000)
undefined symbol: xf86CrtcConfigPrivateIndex (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: rrPrivKeyRec (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86SaveScreen (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: serverClient (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: PixmapStartDirtyTracking (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86DPMSSet (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: serverGeneration (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
[..]
undefined symbol: DamageCreate (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
undefined symbol: xf86CrtcLeaseStarted (/usr/lib/xorg/modules/drivers/modesetting_drv.so)
4.
$ ldd -r /usr/lib/xorg/modules/drivers/fbdev_drv.so
linux-gate.so.1 (0xb7fc3000)
libc.so.6 => /lib/libc.so.6 (0xb7e0b000)
/lib/ld-linux.so.2 (0xb7fc4000)
undefined symbol: xf86FbBpp (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86Depth (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWSave (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: shadowRemove (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86SetDefaultVisual (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86GetEntityInfo (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86GetDevFromEntity (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86PrintModes (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWSaveScreen (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: xf86ClaimFbSlot (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWGetDepth (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: fbdevHWEnterVT (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
[..]
undefined symbol: XNFcallocarray (/usr/lib/xorg/modules/drivers/fbdev_drv.so)
undefined symbol: ErrorF (/usr/lib/xorg/modules/drivers/fbdev_drv.so)