Linker paths?

Dave Leimbach leimySPAM2k at mac.com
Mon Dec 15 21:25:43 PST 2003


Does anyone understand what's wrong with my linker paths such that I
keep getting the following kind of error:


----------------------------------------------------------------------
configure:28983: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/X11R6/include -I/usr/X11R6/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT  -D_THREAD_SAFE   -L/usr/X11R6/lib -L/usr/X11R6/lib  -L/usr/local/lib -D_THREAD_SAFE -pthread conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg   -lXext -lX11 -lSM -lICE   1>&5
/usr/libexec/elf/ld: warning: libGL.so.1, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libXmu.so.6, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libXrender.so.1, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libXrandr.so.2, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libXcursor.so.1, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libXft.so.2, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: libfontconfig.so.1, needed by /usr/X11R6/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/libexec/elf/ld: warning: liblcms.so.1, needed by /usr/local/lib/libmng.so.1, not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXQueryServerString'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glColor3ub'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glIndexi'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftGlyphExtents'
/usr/local/lib/libmng.so.1: undefined reference to `cmsOpenProfileFromMem'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftCharIndex'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternAddInteger'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glPopAttrib'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glReadPixels'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternAddBool'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternGetBool'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftInit'
/usr/local/lib/libmng.so.1: undefined reference to `cmsDoTransform'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRenderQueryExtension'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXUseXFont'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glFlush'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternDuplicate'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glListBase'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcCharSetHasChar'
/usr/local/lib/libmng.so.1: undefined reference to `cmsErrorAction'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXQueryExtension'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawGlyphs'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcMatrixScale'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XcursorLibraryLoadCursor'
/usr/local/lib/libmng.so.1: undefined reference to `cmsCreateRGBProfile'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawDestroy'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glMatrixMode'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawCreateBitmap'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcMatrixMultiply'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternGetString'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glViewport'
/usr/local/lib/libmng.so.1: undefined reference to `cmsFreeGamma'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXDestroyGLXPixmap'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternGetInteger'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glDrawBuffer'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXMakeCurrent'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRenderComposite'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXQueryExtensionsString'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRenderFindVisualFormat'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternGetCharSet'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternCreate'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRRRootToScreen'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternAddString'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternDel'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRenderSetPictureClipRectangles'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternAddMatrix'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternAddDouble'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glRasterPos2i'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXChooseVisual'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRRQueryExtension'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawCreateAlpha'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftListFonts'
/usr/local/lib/libmng.so.1: undefined reference to `cmsOpenProfileFromFile'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternDestroy'
/usr/local/lib/libmng.so.1: undefined reference to `cmsCloseProfile'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glPushAttrib'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glCallLists'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXDestroyContext'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glLoadIdentity'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glPopMatrix'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXWaitX'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glOrtho'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glClearColor'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glRasterPos3d'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glClearIndex'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftFontOpenPattern'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXGetClientString'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftLockFace'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRenderChangePicture'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glPushMatrix'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawCreate'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcPatternGetMatrix'
/usr/local/lib/libmng.so.1: undefined reference to `cmsDeleteTransform'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XmuLookupStandardColormap'
/usr/local/lib/libmng.so.1: undefined reference to `cmsCreateTransform'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftUnlockFace'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcMatrixShear'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRRSelectInput'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftInitFtLibrary'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXIsDirect'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXSwapBuffers'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXCreateContext'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XRRUpdateConfiguration'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXGetConfig'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftFontMatch'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftCharExists'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftFontClose'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glDeleteLists'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `FcFontSetDestroy'
/usr/local/lib/libmng.so.1: undefined reference to `cmsBuildGamma'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `glXCreateGLXPixmap'
/usr/local/lib/libmng.so.1: undefined reference to `cmsWhitePointFromTemp'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `XftDrawPicture'
----------------------------------------------------------------------
I am pretty sure my paths are set up ok. 

ldconfig -r shows:
  98:-lqt-mt.3 => /usr/X11R6/lib/libqt-mt.so.3

Is it not getting symbolic links for libqt-mt.so?  Should it be?

I haven't messed with ldconfig much in the past so I am not sure what
to expect from it.


I also hope I am not the only one experiencing this... Not sure how to
fix it :).

Dave





More information about the Bugs mailing list