Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | path for libjpeg.so not set properly when using SUN jdk | ||
---|---|---|---|
Product: | porting | Reporter: | andyrtr <andreas.radke> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | UNCONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, mechtilde |
Version: | OOo 2.2 RC1 | ||
Target Milestone: | --- | ||
Hardware: | PC (x86_64) | ||
OS: | Linux, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
andyrtr
2007-02-21 19:23:32 UTC
->rene. andyrtr: what about a global symlink /usr/lib64 -> /usr/lib then? it's imho normal for stuff assuming lib64 and actually Debian (who has the same setup with the 64bit thing) does that, too The problem is that jpeg has no pkg-config file and you would need to write a check which has to search for it in some known locations... (in this case /usr/lib, /usr/lib64)... And how do you expect configure to determine that your libraries are in /usr/lib? You can't check for file existance since the file might be in both and you can't even fallback to /usr/lib when not finding it in /usr/lib64 because /usr/lib might be one of those multi-link setups with 32-bitlibjpeg, so it would break. Or do I miss something? Arch64 has been made following the Cross-LFS book standards wher no lib64 exists at all. We officially only support to build OOo with gnu-java/gcj. But for freedom of choise we have found out how to use Sun jdk6. If you will not support x86_64 builds with libs in /lib + /usr/lib it's your choice. Is this still a problem with openjdk6 built from source on Arch64? Yes the problem still exists. Confirmed it a few days ago in go-oo.org with OOO310_m9. --- solenv/inc/libs.mk 2009-07-02 09:44:33.084467312 +0000 +++ solenv/inc/libs.mk.new 2009-07-02 10:44:03.420819776 +0000 @@ -219,7 +219,7 @@ .IF "$(OS)" == "FREEBSD" JPEG3RDLIB=/usr/local/lib/libjpeg.so .ELIF "$(CPUNAME)" == "X86_64" -JPEG3RDLIB=/usr/lib64/libjpeg.so +JPEG3RDLIB=/usr/lib/libjpeg.so .ELSE JPEG3RDLIB=/usr/lib/libjpeg.so .ENDIF I'm using that patch to solve this four our distribution. No idea if another way selfdetecting the library location would be easy to integrate. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398408 was a nice try) @ andyrtr what is the status of this issue now? We're still using the sed fix/patch to use proper lib location in ArchLinux. Reset assigne to the default "issues@openoffice.apache.org". |