Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

linklibperl set incorrectly in Makefile.SH for OpenBSD #63

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#864 (status was 'resolved')

Searchable as RT864$

p5pRT commented 24 years ago

From @millert

Like NetBSD and FreeBSD\, OpenBSD also needs a ``-L .'' in linklibperl so that ld.so can find libperl.so.* when perl is configured to link against a dynamic libperl.

Index​: Makefile.SH

RCS file​: /cvs/src/gnu/usr.bin/perl/Makefile.SH\,v retrieving revision 1.3 diff -u -r1.3 Makefile.SH --- Makefile.SH 1999/04/29 22​:50​:52 1.3 +++ Makefile.SH 1999/06/13 23​:35​:04 @​@​ -51\,7 +51\,7 @​@​   sunos*)   linklibperl="-lperl"   ;; - netbsd*|freebsd[234]*) + netbsd*|freebsd[234]*|openbsd*)   linklibperl="-L. -lperl"   ;;   aix*)

Perl Info ``` Site configuration information for perl 5.00503: Configured by root at Thu May 27 00:32:52 MDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=openbsd, osvers=2.5, archname=i386-openbsd uname='openbsd' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O2', gccversion=egcs-2.93.22 19990517 (gcc2 ss-980929 experimental) cppflags='' ccflags ='' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags ='' libpth=/usr/lib libs=-lm -lc libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=define, ccdlflags=' ' cccdlflags='-DPIC -fPIC ', lddlflags='-Bforcearchive -Bshareable ' Locally applied patches: @INC for perl 5.00503: /usr/libdata/perl5/i386-openbsd/5.00503 /usr/local/libdata/perl5/i386-openbsd/5.00503 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl . Environment for perl 5.00503: HOME=/home/millert LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/millert/bin/OpenBSD.i386:/home/millert/bin:/home/millert/bin/scripts:/usr/local/gnu/bin:/usr/local/bin:/usr/local/sbin:/usr/local/etc:/usr/local/rcs/bin:/usr/local/mh/bin:/usr/local/news/bin:/usr/local/emacs/bin:/usr/local/netpbm/bin:/usr/local/mtools/bin:/usr/local/netscape/bin:/usr/local/ghostscript/bin:/usr/local/X.V11R5/bin:/usr/local/X.V11R6/bin:/usr/local/frame/bin:/usr/local/teTeX/bin:/usr/local/cvs-1.10.1/bin:/usr/local/games/bin:/usr/local/archivers/bin:/usr/local/ssh/bin:/usr/local/skey/bin:/bin:/sbin:/usr/games:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/X11/bin/.:/usr/X11R6/bin/.:/usr/local/bin/.:/usr/obj/bin/.:/usr/src/bin/. PERL_BADLANG (unset) SHELL=/usr/local/bin/tcsh ```