You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
./perl -Ilib -f pod/buildtoc -q
Can't load 'lib/auto/re/re.so' for module re: ld.so.1: perl: fatal: relocation error: file lib/auto/re/re.so: symbol PL_localizing: referenced symbol not found at lib/XSLoader.pm line 71.
at lib/re.pm line 88.
Already resolved with 68bcb86, creating this ticket for reference. Pasting 68bcb86 commit message here:
Explicitly build the shared Perl library in Solaris and variants.
Symptom of failure: in openindiana "make" fails:
...
./perl -Ilib -f pod/buildtoc -q
Can't load 'lib/auto/re/re.so' for module re: ld.so.1: perl: fatal:
relocation error: file lib/auto/re/re.so: symbol PL_localizing:
referenced symbol not found at lib/XSLoader.pm line 71.
at lib/re.pm line 88.
...
Running the above command with 'env LD_DEBUG=files ...' shows that
there are many other symbol lookup failures, the one above is just
the last one before bailing.
If configured explicitly with -Duseshrplib, openindiana build succeeds.
Curiously, while the hints/solaris_2.sh (which openindiana uses) does
not specify useshrplib, Oracle/Sun builds/has been building their perl
with useshrplib since Perl 5.6.1 or thereabouts (source: Alan Burlison).
Using shared libraries is strongly recommended in Solaris in general
(source: the same).
Tested in:
- Solaris 5.10/i386 with solstudio 12.2 and gcc 4.8.0
- Solaris 5.10/sparc with solarisstudio 12.3 and gcc 4.9.2
- OpenIndiana 5.11/i386 with solarisstudio 12.3 and gcc 4.5.0
Migrated from rt.perl.org#126958 (status was 'resolved')
Searchable as RT126958$
The text was updated successfully, but these errors were encountered: