#9864: Error building PIL on RHEL Server 5.5
--------------------------------------------+-------------------------------
   Reporter:  mpatel                        |       Owner:  GeorgSWeber
       Type:  defect                        |      Status:  needs_work 
   Priority:  blocker                       |   Milestone:  sage-4.6.1 
  Component:  build                         |    Keywords:             
     Author:  Leif Leonhardy, Mitesh Patel  |    Upstream:  N/A        
   Reviewer:                                |      Merged:             
Work_issues:  make patches #9419-compliant  |  
--------------------------------------------+-------------------------------

Comment(by leif):

 Replying to [comment:34 Koen]:
 > I'm having issues with PIL 1.1.6p2 (the release version) not finding its
 JPEG libraries. These are located in /usr/lib64 on CentOS 5.5 / OpenSuse,
 however the default library path only considers /usr/lib. Adding
 /usr/lib64 as a library path fixes the problem in my stand-alone PIL
 build. I'm not quite sure how to patch the setup.py in SAGE to add this
 path by default.

 Well, we should just check if `/usr/lib64` (and `/usr/local/lib64`) exist,
 and if so, add these '''instead of''' `/usr/lib` etc., unless
 `realpath("/usr/lib64") == realpath("/usr/lib")`. (We may also check we're
 really on a 64-bit system, too, though the presence of `/usr/lib64` should
 normally indicate that.)

 Note that on other (64-bit) Linuces (e.g. Debian), `/usr/lib64` is a
 symbolic link to `/usr/lib`, while on Fedora etc. `/usr/lib` is a synonym
 of `/usr/lib32` (like on 32-bit systems).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9864#comment:35>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to