Closed p5pRT closed 16 years ago
I'm trying to build 5.6.1 on solaris\, and the build dies when trying to link against libgdbm:
michaels@iiidev1:\~/perl-5.6.1> sh Configure -des
First let's make sure your kit is complete. Checking...
Would you like to see the instructions? [n]
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good\, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1 dynix isc nonstopux stellar
aix dynixptx isc_2 openbsd sunos_4_0
altos486 epix linux opus sunos_4_1
amigaos esix4 lynxos os2 svr4
apollo fps machten os390 svr5
aux_3 freebsd machten_2 posix-bc ti1500
beos genix mint powerux titanos
bsdos gnu mips qnx ultrix_4
convexos greenhills mpc rhapsody umips
cxux hpux mpeix sco unicos
cygwin i386 ncr_tower sco_2_3_0 unicosmk
darwin irix_4 netbsd sco_2_3_1 unisysdynix
dcosx irix_5 newsos4 sco_2_3_2 utekv
dec_osf irix_6 next_3 sco_2_3_3 uts
dgux irix_6_0 next_3_0 sco_2_3_4 uwin
dos_djgpp irix_6_1 next_4 solaris_2 vmesa
Which of these apply\, if any? [solaris_2]
Operating system name? [solaris]
Operating system version? [2.7]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now\, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/usr/local/lib /opt/APPS/forte-6/SUNWspro/WS6/lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [so]
Build Perl for SOCKS? [n]
Checking for optional libraries...
What libraries to use? [-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc]
What optimizer/debugger flag should be used? [-O]
Any additional cc flags? [-I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
#include \<stdio.h> int main() { printf("Ok\n"); exit(0); }
I used the command:
cc -o try -O -I/usr/local/include -L/usr/local/lib -L/opt/APPS/forte-6/SUNWspro/WS6/lib try.c -lsocket -lnsl -lgdbm -ldb -ldl -lm -lc ./try
and I got the following output:
ld.so.1: ./try: fatal: libgdbm.so.2: open failed: No such file or directory
Killed
The program compiled OK\, but exited with status 137.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
I've tried to disable gdbm support with -Ui_gdbm\, but I still get the same error.
It starts working if I add -R/usr/local/lib to lddlflags and ldflags.
Michael
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#7200 (status was 'resolved')
Searchable as RT7200$