Bug 97259 - gcc41 is required to run print/pdftk
Summary: gcc41 is required to run print/pdftk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-14 14:20 UTC by Stefan Thurner
Modified: 2006-06-29 20:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Thurner 2006-05-14 14:20:14 UTC
It seems that gcc41 is no longer only a build dependency for pdftk. It is needed as a run dependency because the java libs are linked dynamicly.

See output of ldd `which pdftk`:

/usr/local/bin/pdftk:
        libgcj.so.7 => /usr/local/lib/gcc/i386-portbld-freebsd6.1/4.1.1/libgcj.so.7 (0x282e8000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x29780000)
        libz.so.3 => /lib/libz.so.3 (0x2986e000)
        libstdc++.so.6 => /usr/local/lib/gcc/i386-portbld-freebsd6.1/4.1.1/libstdc++.so.6 (0x2987f000)
        libm.so.4 => /lib/libm.so.4 (0x2995a000)
        libgcc_s.so.1 => /usr/local/lib/gcc/i386-portbld-freebsd6.1/4.1.1/libgcc_s.so.1 (0x29970000)
        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x2997a000)
        libc.so.6 => /lib/libc.so.6 (0x299a1000)

Fix: 

Change gcc41 from build to run dependency.
How-To-Repeat: 1) make install pdftk
2) pkg_delete gcc41
3) run pdftk
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-15 00:10:22 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-06-17 22:21:53 UTC
State Changed
From-To: feedback->open

Maintainer timeout
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2006-06-25 15:53:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2006-06-29 20:24:49 UTC
State Changed
From-To: open->closed

Converted BUILD_DEPENDS to LIB_DEPENDS to fix this. Thanks for your PR!