[OmniOS-discuss] omnios-build perl
Richard PALO
richard at netbsd.org
Tue Oct 20 10:42:50 UTC 2015
thought I'd try to rebuild perl (for grins) on bloody
> richard at omnis:/home/richard/src/omnios-build/build/perl$ tail -30 build.log
> Build Perl for SOCKS? [n]
> Try to use long doubles if available? [n]
> Checking for optional libraries...
> What libraries to use? [-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc]
> What optimizer/debugger flag should be used? [-O3]
> Any additional cc flags?
> [-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DPTR_IS_LONG -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include]
> Let me guess what the preprocessor flags are...
> Any additional ld flags (NOT including libraries)?
> [ -fstack-protector -L/opt/local/lib -L/usr/gnu/lib]
> Checking your choice of C compiler and flags for coherency...
> Configure: line 5358: 415512 Killed $sh -c "$run ./try " >> try.msg 2>&1
> 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:
>
> gcc -o try -O3 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DPTR_IS_LONG -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -fstack-protector -L/opt/local/lib -L/usr/gnu/lib try.c -lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
> ./try
>
> and I got the following output:
>
> ld.so.1: try: fatal: libgdbm.so.4: open failed: No such file or directory
> The program compiled OK, but exited with status 137.
> You have a problem. Shall I abort Configure [y]
> Ok. Stopping Configure.
> --- Configure failed
> ===== Build aborted =====
quésaco? I don't believe the gate nor omnios provides gdbm...
--
Richard PALO
More information about the OmniOS-discuss
mailing list