Project

General

Profile

Bug #2329

Haru static library not found on CentOS

Added by Velvet Jones over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/19/2013
Due date:
% Done:

0%

Estimated time:

Description

The "WtFindHaru.txt" can't' find libharu.a on CentOS. The attached patch fixes this.

- Bud


Files

haru.patch (484 Bytes) haru.patch Velvet Jones, 10/19/2013 11:59 AM
haru.patch (521 Bytes) haru.patch Velvet Jones, 10/21/2013 05:26 PM
#1

Updated by Wim Dumon over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Wim Dumon

Hello,

I'm considering to remove /usr/local/ from all WtFind*.txt scripts. I prefer that you set HARU_PREFIX to /usr/local, which should work for you too (unless I'm mistaken).

Can you let me know if you have problems with HARU_PREFIX set to /usr/local/?

BR,

Wim.

#2

Updated by Velvet Jones over 9 years ago

Hi Wim:

The attached patch works if I set HARU_PREFIX to /usr/local. Note that I had to add "haru" as a possible library name, which is what haru named itself during 'make install' (I built the haru static library only). This was tested after removing CMakeCache.txt, so there was no chance that older variables were set from a previous run.

  1. grep HARU CMakeCache.txt
    ENABLE_HARU:BOOL=ON
    HARU_INCLUDE_DIR:PATH=/usr/local/include/libharu
    HARU_LIB:FILEPATH=/usr/local/lib/libharu.a
    HARU_PREFIX:PATH=/usr/local

- Bud

#3

Updated by Wim Dumon over 9 years ago

  • Status changed from Feedback to Resolved

I missed the library name, fixed it.

Wim.

#4

Updated by Koen Deforche almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF