Up Prev Next
From: Lord Vorp <lordvorp at usa dot net>
Subject: Sybperl on Linux Notes
Date: Nov 6 1997 12:16AM
Well, I've wanted to get Sybperl working for months, and FINALLY found a
note that had the solution.
Built/compiled, all happy. Bout time! :)
So then I see the announce for 2.08 & 2.08.50 and try to build it, and
again it doesn't work...
but the same fix for the 1st one works for the new one.
The short version:
When running 'make test', a file is created in blib/arch/auto/Sybase called
It looks like this (on my linux system):
-L/usr/local/sybase/lib -lct -lcs -ltcl -lcomn -lintl -lsybtcl -linsck -lm
-L/usr/local/sybase/lib -lct -lcs -lcomn -lintl -lsybtcl -lc -lm
However, the "CORRECTED" version looks like this:
-L/usr/local/sybase/lib -lct -lcs -lcomn -lintl -lsybtcl -lm
-L/usr/local/sybase/lib -lct -lcs -lcomn -lintl -lsybtcl -linsck -lm
So the question here becomes: How to change the Makefile.PL (or whatever)
to be correct?
There is an explicit mention of -ltcl (which seems to be the culprit) in
$lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl
It was all over the makefiles in 2.07 but now that's the only place I see it.
Is this necessary? Perhaps requiring -ltcl in the EXTRA_LIBS in CONFIG
would be an answer.