Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 13:36:10 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        glarkin@freebsd.org
Cc:        =?ISO-2022-JP?B?Sm91a29fTHVtaWobJEJnUxsoQnZp?= <jlumijar@sun3.oulu.fi>, Gerald Pfeifer <gerald@pfeifer.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: CFT: print/pdftk port compiled with Java compiler from gcc 4.5
Message-ID:  <201004130436.AA01277@POLYMER5.scphys.kyoto-u.ac.jp>
In-Reply-To: <4BC3E384.2090702@FreeBSD.org>
References:  <4BC3E384.2090702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Larkin <glarkin@freebsd.org> wrote:

> Can you run the following command for me on your system?
> 
> ldconfig -r | grep gcc45

% ldconfig -r | grep gcc45
        search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/site/lib:/usr/loc
al/lib/compat:/usr/local/lib/evolution/2.28:/usr/local/lib/gcc/i386-portbld-
freebsd8.0/3.4.6:/usr/local/lib/gcc44:/usr/local/lib/gcc45:/usr/local/lib/gegl-
0.0:/usr/local/lib/graphviz:/usr/local/lib/mysql:/usr/local/lib/nss:/usr/local/lib/pth:/usr/l
ocal/lib/qt4:/usr/local/lib/wine:/usr/local/lib/zsh
        1159:-lstdc++.6 => /usr/local/lib/gcc45/libstdc++.so.6
        1160:-lmudflap.0 => /usr/local/lib/gcc45/libmudflap.so.0
        1161:-lmudflapth.0 => /usr/local/lib/gcc45/libmudflapth.so.0
        1162:-lssp.0 => /usr/local/lib/gcc45/libssp.so.0
        1163:-lgcc_s.1 => /usr/local/lib/gcc45/libgcc_s.so.1
        1164:-lgfortran.3 => /usr/local/lib/gcc45/libgfortran.so.3
        1165:-lffi.4 => /usr/local/lib/gcc45/libffi.so.4
        1166:-lgcj.11 => /usr/local/lib/gcc45/libgcj.so.11
        1167:-lgij.11 => /usr/local/lib/gcc45/libgij.so.11
        1168:-lgcj-tools.11 => /usr/local/lib/gcc45/libgcj-tools.so.11
        1169:-lgomp.1 => /usr/local/lib/gcc45/libgomp.so.1

% ldconfig -r | grep libstdc++.so.6
        80:-lstdc++.6 => /usr/lib/libstdc++.so.6
        848:-lstdc++.6 => /usr/local/lib/compat/pkg/libstdc++.so.6
        1146:-lstdc++.6 => /usr/local/lib/gcc/i386-portbld-freebsd8.0/3.4.6/libstdc++.so.6
        1148:-lstdc++.6 => /usr/local/lib/gcc44/libstdc++.so.6
        1159:-lstdc++.6 => /usr/local/lib/gcc45/libstdc++.so.6

 Setting LD_LIBRARY_PATH=/usr/local/lib/gcc45 before running pdftk
can avoid this error.
 I am not familiar with rpath, but something is wrong arround it, I think.
gcc can embed some rpath infomation when building pdftk,
or we must add some linker option about rpath in building pdftk.
In any case, pdftk must have runtime dependence on gcc45...


--- 
鶴谷彫苳殺踉児
turutani@scphys.kyoto-u.ac.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004130436.AA01277>