Hi Jeffrey, On Tue, 28 Jan 2020 01:02:46 -0500 Jeffrey Walton <noloa...@gmail.com> wrote:
> Hi Everyone, > > I regression test on old machines. The older machines need an updated > Git, SSH and Wget. To update Git, SSH and Wget I need to build a lot > of dependent software. Perl is one of them. > > On Fedora 1 while trying to build Perl 5.10.1: > perl 5.10.1 is very old and no longer maintained (see what I wrote at https://github.com/shlomif/supporting-older-perl5-releases ), but OTOH so is Fedora 1. > <snip> > I've tried to compile and run the following simple program: > > #include <stdio.h> > int main() { printf("Ok\n"); return(0); } > > I used the command: > > cc -o try -O2 -fno-strict-aliasing -pipe -I/usr/local/include > -L/usr/local/lib try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc > ./try > > and I got the following output: > > ./try: error while loading shared libraries: libdb-6.2.so: cannot open > shared object file: No such file or directory > The program compiled OK, but exited with status 127. > You have a problem. Shall I abort Configure [y] > Ok. Stopping Configure. > </snip> > > I don't need database functions at this point so I would like to > disable Berkley DB. 'Configure --help' does not list an option to > disable the database gear. > > I can't downgrade Perl because OpenSSL 1.1.x needs Perl 5.10. (OpenSSL > really screwed us when the EOL'd 1.0.2 last month). > > How do I remove or disable the BerkleyDB dependency? > You can try editing the "Configure" script by hand. It is written in https://en.wikipedia.org/wiki/Bourne_shell . I recall trying to use Red Hat Linux 6.2 in a vbox VM and giving up after the new openssl failed to compile using the old gcc there. Good luck! > Thanks in advance. > -- Shlomi Fish https://www.shlomifish.org/ Interview with Ben Collins-Sussman - https://shlom.in/sussman Chuck Norris refactors 10 million lines of Perl code before lunch. — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/