Bug #2329
closedHaru static library not found on CentOS
0%
Description
The "WtFindHaru.txt" can't' find libharu.a on CentOS. The attached patch fixes this.
- Bud
Files
Updated by Wim Dumon about 11 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.
Updated by Velvet Jones about 11 years ago
- File haru.patch haru.patch added
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.
- 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
Updated by Wim Dumon about 11 years ago
- Status changed from Feedback to Resolved
I missed the library name, fixed it.
Wim.
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed