Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31945 - [wt] package missing dependency to libharu

Attached to Project: Community Packages
Opened by Janne Rönkkö (jroo) - Sunday, 14 October 2012, 07:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 24 November 2012, 02:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
libharu is not listed as dependency for wt

Steps to Reproduce:
1. Remove libharu and wt if installed
2. Install wt
3. Compile the following program using 'g++ program.cpp -o program -lwt -lwthttp'
int main() { return 0;}
4. run program: ./program
The result is: ./program: error while loading shared libraries: libhpdf-2.2.1.so: cannot open shared object file: No such file or directory

Installing libharu fixes the issue.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 24 November 2012, 02:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  libharu now dep
Comment by Janne Rönkkö (jroo) - Sunday, 14 October 2012, 07:36 GMT
After checking the wt package closely I noticed that the libharu is listed as optional dependency but as I stated in the details wt does not work without libharu, i.e. libharu should be mandatory dependency.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 October 2012, 14:52 GMT
No, http://www.webtoolkit.eu/wt/doc/reference/html/Installation.html states that it is optional. If you want this mandatory, talk to upstream.
Comment by Janne Rönkkö (jroo) - Wednesday, 14 November 2012, 23:54 GMT
  • Field changed: Percent Complete (100% → 0%)
libharu is optional dependency for Wt itself as you said. But the archlinux package has libharu as mandatory dependency because it has WPdfImage support compiled in.

If I recall right the build process of Wt detects libharu automatically and enabdes WPdfImage when libharu has been found.

My example is a bit flawed as in reality the program does not even link. The reason the steps are a bit incorrect is that I compiled the example program when I had libharu installed.

Please try the steps to reproduce I defined in the original bug report. The g++ command will fail with an error something like this:
/usr/bin/ld: warning: libhpdf-2.2.1.so, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libwt.so, not found (try using -rpath or -rpath-link)

Comment by Janne Rönkkö (jroo) - Wednesday, 14 November 2012, 23:54 GMT
  • Field changed: Percent Complete (100% → 0%)
libharu is optional dependency for Wt itself as you said. But the archlinux package has libharu as mandatory dependency because it has WPdfImage support compiled in.

If I recall right the build process of Wt detects libharu automatically and enabdes WPdfImage when libharu has been found.

My example is a bit flawed as in reality the program does not even link. The reason the steps are a bit incorrect is that I compiled the example program when I had libharu installed.

Please try the steps to reproduce I defined in the original bug report. The g++ command will fail with an error something like this:
/usr/bin/ld: warning: libhpdf-2.2.1.so, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libwt.so, not found (try using -rpath or -rpath-link)

Comment by Janne Rönkkö (jroo) - Wednesday, 14 November 2012, 23:54 GMT
  • Field changed: Percent Complete (100% → 0%)
libharu is optional dependency for Wt itself as you said. But the archlinux package has libharu as mandatory dependency because it has WPdfImage support compiled in.

If I recall right the build process of Wt detects libharu automatically and enabdes WPdfImage when libharu has been found.

My example is a bit flawed as in reality the program does not even link. The reason the steps are a bit incorrect is that I compiled the example program when I had libharu installed.

Please try the steps to reproduce I defined in the original bug report. The g++ command will fail with an error something like this:
/usr/bin/ld: warning: libhpdf-2.2.1.so, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libwt.so, not found (try using -rpath or -rpath-link)

Loading...