|
|
sybperl-l Archive
Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: FW: Problem creating Static sybperl 2.0
Date: Jan 2 1996 6:58AM
> I am trying to install sybperl 2.0 with Perl 5.0 on a solarix OS. It
>works ok with a dynamic build ... but when I try static
> I get the following when I make test .....
[ ...deleted...]
> gcc -o perl ./perlmain.o
>/usr/local/lib/perl5/sun4-solaris/CORE/libperl.a
>./blib/auto/Sybase/CTlib/CTlib.a
>./blib/auto/Sybase/DBlib/DBlib.a
>/usr/local/lib/perl5/sun4-solaris/auto/DynaLoader/DynaLoader.a `cat
>extralibs.ld` -lsocket -lnsl
>-ldl -lm -lc -lcrypt
> Undefined first referenced
> symbol in file
> dbretdata ./blib/auto/Sybase/DBlib/DBlib.a(DBlib.o)
> dbsqlexec ./blib/auto/Sybase/DBlib/DBlib.a(DBlib.o)
> bcp_colfmt_ps ./blib/auto/Sybase/DBlib/DBlib.a(DBlib.o)
[...etc...]
It looks like the erxtra libs that are required for DBlib and CTlib
aren't entered into the file "extralibs.ld".
Try to create 'extralibs.ld' in the sybperl source directory with the
following lines
-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -linsck -ldl -lm
-L$SYBASE/lib -lsybdb -lm
and replace $SYBASE with the directory where you store the Sybase software.
Michael
|