Reply to Re: Perl-1.0.0

Your name:

Reply:


Posted by J. Gleixner on 07/07/06 19:42

Otto J. Makela wrote:
> I'm trying to install to php the Perl-1.0.0.tgz package (from
> http://pecl.php.net/package/perl, enabling one to call perl libraries)
> to a pre-existing Solaris system.
>
> Unfortunately, the attempt fails in a rather dramatic way, spewing out
> thousands of "relocation remains"... I'm somewhat lost on what to do
> next, the documentation that came along with the Perl package is
> somewhat sparse. Anyone have suggestions?
[...]
> % make
> /bin/bash /home/otto/Software/perl-1.0.0/libtool --mode=link gcc -DPHP_ATOM_INC -I/home/otto/Software/perl-1.0.0/include -I/home/otto/Software/perl-1.0.0/main -I/home/otto/Software/perl-1.0.0 -I/opt/php/include/php -I/opt/php/include/php/main -I/opt/php/include/php/TSRM -I/opt/php/include/php/Zend -I/opt/php/include/php/ext -DHAVE_CONFIG_H -g -O2 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -o perl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/otto/Software/perl-1.0.0/modules -L/usr/local/lib -L/opt/local/lib /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc php_perl.lo
>
> *** Warning: Linking the shared library perl.la against the
> *** static library /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable!
> gcc -shared -Wl,-h -Wl,perl.so -o .libs/perl.so .libs/php_perl.o -L/usr/local/lib -L/opt/local/lib /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lc
> Text relocation remains referenced
> against symbol offset in file
> <unknown> 0x2118 /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(perl.o)
> <unknown> 0x211c /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(perl.o)
> <unknown> 0x2120 /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(perl.o)
> [... several thousands of lines removed ...]
> solaris/CORE/libperl.a(pp_sys.o)
> __floatdidf 0x8700 /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(pp_sys.o)
> __floatdidf 0x8fc8 /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(pp_sys.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `perl.la'
>

You could try your favorite Internet search engine searching for
'"Text relocation remains" libperl' and seeing if others have seen
anything similar. One possible problem seems to be using
different versions of gcc.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация