QT-Library DOC causes segmentation fault

Anthony Tekatch anthony.tekatch at sympatico.ca
Sat Oct 16 22:05:00 BST 1999


> (I assume 6.0.1 is 61, 62.0.0 is 62). I tried hiding the jpeglib-headerfiles in
> opt/kde/include or usr/include,
> and recompiling KDEVELOP (Beta3). Did not help. Additionally, I changed the
> symlinks in /usr/lib
> so that only version 61 or 62 is visible. Again no change.
> So, what have I to do to fix that behaviour? Without QT-Doc, KDEVELOP is only
> worth the half for a beginner :->

I just fixed the problem on my system:

1. Make sure that you have the 62 version of libjpeg by typing  
    ls -l /usr/lib/libjp*

lrwxrwxrwx   1 root     root           17 Oct 15 20:34 /usr/lib/libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx   1 root     root           16 Aug  1 03:12 /usr/lib/libjpeg.so.6 -> libjpeg.so.6.0.1
-rwxr-xr-x   1 root     root       140410 Mar 21  1999 /usr/lib/libjpeg.so.6.0.1
lrwxrwxrwx   1 root     root           17 Aug  1 03:12 /usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x   1 root     root       142857 Mar 21  1999 /usr/lib/libjpeg.so.62.0.0                               

  If you don't have the 62 version the you should get it.


2. check if you have the old libjpeg in /opt/kde/lib by typing 
    ls -l /opt/kde/lib/libjp*
-rw-r--r--   1 root     root       153336 Apr  3  1999 /opt/kde/lib/libjpeg.a
-rwxr-xr-x   1 root     root          526 Apr  3  1999 /opt/kde/lib/libjpeg.la
lrwxrwxrwx   1 root     root           19 Oct 16 17:03 /opt/kde/lib/libjpeg.so -> libjpeg.so
lrwxrwxrwx   1 root     root           19 Oct 16 17:03 /opt/kde/lib/libjpeg.so.6 -> libjpeg.so
-rwxr-xr-x   1 root     root       130241 Apr  3  1999 /opt/kde/lib/libjpeg.so.6.0.1                      

  If you don't these old links then maybe the links are in another directory or
you have a different problem than I had.


3. While you are superuser, remove the symbolic links for KDE that point to the
old libjpeg by typing:
   rm -rf /opt/kde/lib/libjpeg.so 
   rm -rf /opt/kde/lib/libjpeg.so.6


4. While you are superuser, create new symbolic links for KDE that point to the
new libjpeg by typing:
  ln -s /usr/lib/libjpeg.so /opt/kde/libjpeg.so
  ln -s /usr/lib/libjpeg.so /opt/kde/libjpeg.so.6 


5. You should be able to restart kdevelop now and view the QT-Library DOC
without getting a segmentation fault.


Good Luck,

Anthony





More information about the KDevelop mailing list