pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libtool on OpenSolaris



Hi,

On Sat, Dec 6, 2008 at 19:21, Adrian Portelli 
<adrianp%stindustries.net@localhost> wrote:

> I'm running pkgsrc on 2008.11 myself but have only come across this once
> where I ended up doing a s|-Wl,--rpath|${COMPILER_RPATH_FLAG}|g on the
> file in the package.  Which libtool were you patching there, I couldn't
> find that line in ${PREFIX}/bin/libtool.

In my case, libtool-base-1.5.24.nb6 was installed as as build
dependency. This package contains ${PREFIX}/bin/libtool and line 291
of that script is
hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir"

Do you have a different libtool installed?

By the way, I just stumbled across this error building libidn:
gcc -shared  .libs/nfkc.o .libs/toutf8.o .libs/version.o
.libs/stringprep.o .libs/rfc3454.o .libs/profiles.o .libs/punycode.o
.libs/idna.o .libs/pr29.o .libs/idn-free.o .libs/strerror-idna.o
.libs/strerror-pr29.o .libs/strerror-punycode.o
.libs/strerror-stringprep.o .libs/strerror-tld.o .libs/tld.o
.libs/tlds.o -Wl,--whole-archive gl/.libs/libgnu.a
-Wl,--no-whole-archive  -Wl,-rpath
-Wl,/usr/pkgsrcenv/obj/devel/libidn/work/.buildlink/lib -Wl,-rpath
-Wl,/usr/pkgsrcenv/obj/devel/libidn/work/.buildlink/lib -Wl,-rpath
-Wl,/usr/pkgsrcenv/pkg/lib
-L/usr/pkgsrcenv/obj/devel/libidn/work/.buildlink/lib
/usr/pkgsrcenv/obj/devel/libidn/work/.buildlink/lib/libintl.so -lc
/usr/pkgsrcenv/obj/devel/libidn/work/.buildlink/lib/libiconv.so -lc
-Wl,-R/usr/pkgsrcenv/pkg/lib -Wl,-soname -Wl,libidn.so.11
-Wl,-retain-symbols-file -Wl,.libs/libidn.exp -o
.libs/libidn.so.11.5.39
ld: fatal: file .libs/libidn.exp: unknown file type
ld: fatal: File processing errors. No output written to .libs/libidn.so.11.5.39
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrcenv/obj/devel/libidn/work/libidn-1.10/lib
*** Error code 1

Have you seen (and maybe fixed) something like this before? Building
it in my home dir outside pkgsrc works fine.

Best regards,
Riggs


Home | Main Index | Thread Index | Old Index