Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257916 - kdelibs from kde-4.2 links to /opt/ibm-jdk-bin-1.4.2.12/jre/bin/libjpeg.so instead of /usr/lib/libjpeg.so
Summary: kdelibs from kde-4.2 links to /opt/ibm-jdk-bin-1.4.2.12/jre/bin/libjpeg.so in...
Status: RESOLVED DUPLICATE of bug 206895
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 18:08 UTC by Daniel Volchixin
Modified: 2009-02-06 19:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Volchixin 2009-02-06 18:08:36 UTC
configuring:


----------------------------------------------------------------
-- Looking for include files HAVE_SYS_PSTAT_H - not found.
-- Looking for pstat
-- Looking for pstat - not found
-- Looking for setproctitle
-- Looking for setproctitle - not found
-- Found ASPELL: /usr/lib/libaspell.so
-- checking for module 'enchant'
--   found enchant, version 1.4.2
-- Found ENCHANT: /usr/include/enchant
-- Found JPEG: /opt/ibm-jdk-bin-1.4.2.12/jre/bin/libjpeg.so
-- Performing Test GIF_FOUND
-- Performing Test GIF_FOUND - Success
-- Found GIF: /usr/lib/libgif.so
-- Found PNG: /usr/lib/libpng.so
-- Found Jasper: /usr/lib/libjasper.so
-- checking for module 'OpenEXR'
--   found OpenEXR, version 1.6.1
-- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
-- Looking for DNSServiceRefDeallocate
-- Looking for DNSServiceRefDeallocate - found
-- Found DNSSD: /usr/lib/libdns_sd.so
-- Adding support for OpenGL applets to libplasma
----------------------------------------------------------------


it found wrong libjpeg.so ("Found JPEG: /opt/ibm-jdk-bin-1.4.2.12/jre/bin/libjpeg.so") !!!!!!!!!!!
of course it failed:


----------------------------------------------------------------
[ 80%] Building CXX object khtml/CMakeFiles/khtml.dir/kcookiejar_interface.o    
Linking CXX shared library ../lib/libkhtml.so                                   
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::khtml_jpeg_source_mgr::khtml_jpeg_source_mgr()':                                   
jpegloader.cpp:(.text+0x75): undefined reference to `jpeg_resync_to_restart'    
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::khtml_jpeg_source_mgr::khtml_jpeg_source_mgr()':                                   
jpegloader.cpp:(.text+0xf3): undefined reference to `jpeg_resync_to_restart'    
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::processData(unsigned char*, int)':                            
jpegloader.cpp:(.text+0x365): undefined reference to `jpeg_read_scanlines'      
jpegloader.cpp:(.text+0x3e2): undefined reference to `jpeg_consume_input'       
jpegloader.cpp:(.text+0x437): undefined reference to `jpeg_start_output'        
jpegloader.cpp:(.text+0x497): undefined reference to `jpeg_read_header'         
jpegloader.cpp:(.text+0x4e9): undefined reference to `jpeg_has_multiple_scans'  
jpegloader.cpp:(.text+0x505): undefined reference to `jpeg_calc_output_dimensions'                                                                              
jpegloader.cpp:(.text+0x535): undefined reference to `jpeg_start_decompress'    
jpegloader.cpp:(.text+0x6b3): undefined reference to `jpeg_finish_decompress'   
jpegloader.cpp:(.text+0x6bb): undefined reference to `jpeg_destroy_decompress'  
jpegloader.cpp:(.text+0x749): undefined reference to `jpeg_finish_output'       
jpegloader.cpp:(.text+0x751): undefined reference to `jpeg_input_complete'      
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::~Private()':                                                  
jpegloader.cpp:(.text+0xa88): undefined reference to `jpeg_destroy_decompress'  
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::~Private()':                                                  
jpegloader.cpp:(.text+0xbca): undefined reference to `jpeg_destroy_decompress'  
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::Private()':                                                   
jpegloader.cpp:(.text+0xc1e): undefined reference to `jpeg_resync_to_restart'   
jpegloader.cpp:(.text+0xc9d): undefined reference to `jpeg_std_error'           
jpegloader.cpp:(.text+0xcbb): undefined reference to `jpeg_CreateDecompress'    
jpegloader.cpp:(.text+0xcc6): undefined reference to `jpeg_std_error'           
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::Private()':                                                   
jpegloader.cpp:(.text+0xe8a): undefined reference to `jpeg_resync_to_restart'   
jpegloader.cpp:(.text+0xf09): undefined reference to `jpeg_std_error'           
jpegloader.cpp:(.text+0xf27): undefined reference to `jpeg_CreateDecompress'    
jpegloader.cpp:(.text+0xf32): undefined reference to `jpeg_std_error'           
collect2: ld returned 1 exit status                                             
make[2]: *** [lib/libkhtml.so.5.2.0] Error 1                                    
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2                           
make: *** [all] Error 2                                                    
----------------------------------------------------------------

Reproducible: Always



Expected Results:  
I don't have sun-java, probably environment should be fixed or ibm-java libraries should be excluded from LDPATH

home env.d # cat /etc/env.d/20java
# Autogenerated by java-config
# Command: --set-system-vm=ibm-jdk-bin-1.4
LDPATH=/opt/ibm-jdk-bin-1.4.2.12/jre/bin/:/opt/ibm-jdk-bin-1.4.2.12/jre/bin/classic
JDK_HOME=/opt/ibm-jdk-bin-1.4.2.12
JAVAC=/opt/ibm-jdk-bin-1.4.2.12/bin/javac
GENERATION=2
ROOTPATH=/opt/ibm-jdk-bin-1.4.2.12/bin:/opt/ibm-jdk-bin-1.4.2.12/jre/bin
VMHANDLE=ibm-jdk-bin-1.4
# VERSION=IBM JDK 1.4.2.12
PATH=/opt/ibm-jdk-bin-1.4.2.12/bin:/opt/ibm-jdk-bin-1.4.2.12/jre/bin
JAVA_HOME=/opt/ibm-jdk-bin-1.4.2.12
----------------------------------------------------------------
home env.d # qlist -IUS ibm-jdk-bin
dev-java/ibm-jdk-bin 1.4 (X alsa doc examples javacomm nsplugin)
dev-java/ibm-jdk-bin 1.6 (X alsa doc examples javacomm nsplugin odbc)
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2009-02-06 18:45:47 UTC
Assigning the kde. Added java to cc in case this is actually caused by something we have done.
Comment 2 emerald 2009-02-06 19:29:01 UTC
In bug 206895 it's already discussed including a workaround.
Comment 3 Daniel Volchixin 2009-02-06 19:40:58 UTC
(In reply to comment #2)
> In bug 206895 it's already discussed including a workaround.
> 

ok

*** This bug has been marked as a duplicate of bug 206895 ***