pkgsrc-Users archive

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

pkgsrc ignored it own libintl



This is the same error when building lang/php80 and lang/gcc8:

/usr/bin/ld: cannot find -lintl
collect2: error: ld returned 1 exit status
*** [../blib/arch/auto/Locale/gettext_xs/gettext_xs.so] Error code 1

make[1]: stopped in /test/pkgsrc/misc/p5-Locale-libintl/work/libintl-perl-1.32/gettext_xs
1 error

make[1]: stopped in /test/pkgsrc/misc/p5-Locale-libintl/work/libintl-perl-1.32/gettext_xs
*** [subdirs] Error code 2

bmake: stopped in /test/pkgsrc/misc/p5-Locale-libintl/work/libintl-perl-1.32
1 error

bmake: stopped in /test/pkgsrc/misc/p5-Locale-libintl/work/libintl-perl-1.32
*** Error code 2

Stop.
bmake[3]: stopped in /test/pkgsrc/misc/p5-Locale-libintl
*** Error code 1

Stop.
bmake[2]: stopped in /test/pkgsrc/misc/p5-Locale-libintl
*** Error code 1

Stop.
bmake[1]: stopped in /test/pkgsrc/devel/gtexinfo
*** Error code 1

Stop.
bmake: stopped in /test/pkgsrc/lang/gcc8

I confirm libintl is installed by devel/gettext-lib on pkgsrc:

$ ls /test/pkg1/lib | grep intl
libintl.a
libintl.la
libintl.so@
libintl.so.8@
libintl.so.8.2.0*

Somehow, pkgsrc just doesn't look up this location and just ignored it.

To be able to continue the building I have to install the distribution's gettext-devel package which installed to /usr/lib64:

$ ls /usr/lib64 | grep intl
libintl.so@

This seems it just doesn't lookup it own /test/pkg1/lib and only looks on /usr/lib64. Should this be considered as a bug?


Home | Main Index | Thread Index | Old Index